You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry but we don't explicitly support Blazor so there's no guarantee that it will work out of the box.
The sample code you referenced should serve as the basis for specific implementations but maybe you are missing what would be the Middleware equivalent in Blazor? That's what should capture the incoming trace and initialize the tracer with it. I'm sorry I'm not familiar enough with Blazor to help you there.
I'll be closing this issue now as there's not much more we can do here, but do feel free to create new issues if you have trouble with the Diagnostics library independent from Blazor.
Hi,
I'm curious if there is any example code for setting up Cloud Trace for Blazor Server-Side?
I've been trying to get it working using the following code example:
#6367 (comment)
And the common Razor component used by this library:
https://github.com/IvanJosipovic/BlazorApplicationInsights/
https://github.com/IvanJosipovic/BlazorApplicationInsights/blob/master/src/BlazorApplicationInsights/ApplicationInsightsComponent.razor.cs
I currently seem to always get a NullManagedTracer at this point.
The text was updated successfully, but these errors were encountered: