bhehe
bhehe
I appreciate the thought, but the code I need to test works against the TelemetryConfiguration & TelemetryClient and has no awareness or use of the TelemetryChannel. Its focus is on...
Also to clarify, I'm very specifically targeting use of the newer FlushAsync() method as from what I've read the old call to flush was not a blocking call and people...
Yes, that's the case - I'm accessing them from the service provider and with the 2-stage approach I have my original 'bootstrap context' which carries around the 1 instance of...
Just to chime in, I am in the same situation of looking at pre-existing DI scanning/discovery where the previous author implemented their own settings related approaches but I'm aiming to...
Found myself again in a position where I simply needed to mock a telemetry client to pass in a dependency to satisfy the constructor when the tests themselves couldn't care...
Being new to AppInsights myself, I had to digest all of this and realized that I should be using the method signature which takes in my version of IConfiguration. The...
Yes, having that in addition to the IConfiguration argument on the method would be very useful IMO. Also sounds like it should be fairly trivial to support. I'll have to...
One scenario I wasn't quite able to figure out myself was if my root command wanted to leverage constructor DI, I wasn't seeing how to implement that when you need...
In my case, I had a scenario where I needed to skip over the 'database projects' and rather than maintain some list/manifest I was simply wanting to use the metadata...
For reference, the issue I was having is closed but I was never able to get a workaround. Sounds like others were in the same shoes. I never pinned down...