-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry support for Blazor WebAssembly #2021
Comments
We have a sample in the repo: https://github.com/getsentry/sentry-dotnet/tree/23be90cd6b57446f7bbfeecc7c5f30eb692999fc/samples/Sentry.Samples.AspNetCore.Blazor.Wasm But indeed no docs at the time. That said, support is there, it's just .NET running on Wasm (MonoAOT afaik). User Feedback would require you to call the C# API. If you're using the JS widget, you'd need to do JS interop to pass around the event id. But it should work too. |
Can we get some support docs for Blazer Server Side? |
I played a bit during hackweek. Some learnings/ideas: Stuff I explored in the draft PR above
WebAssembly error monitoring
Blazor ServerLots to explore here. Since we have decent support with the
Performance monitoring
Profiling
|
.NET 8 introduces |
Weird that they separate out .NET and C#... I wonder what the results would look like if those two were grouped together (who is using C# but not .NET??? How could less people be using .NET and C#?). |
How to emit source maps: |
Is there any timeline on a proper Blazor SDK? The current situation is not really satisfying since Sentry in Blazor WASM using the existing SDKs misses out on all the cool features like replays and profiling. |
As a very soft ETA, we would like to be able to support this sometime within the next quarter. |
The new package |
Does it need to target We normally target the minimum possible version necessary. When we do have multiple targets it's usually because there is some additional functionality that is only available (via conditional compilation directives) in one or more of the targets. |
It is not explicitly needed, but Microsoft recommends to consider multi-targeting with the same codebase when having a package or library dependency.
|
Fair enough. While true, it would greatly increase everything, from package size to time spent on building and testing in CI. |
I don't know your CI setup in depth, but would including a multi target into this (quite empty) library really increase your build time by a noticable amount? This might be true if you have to rebuild all dependencies as well but this is not the case when looking at your workflows. |
I think if we adopt the policy of targeting everything for When building locally we automatically upload source and debug for every build (so that things like source link etc. work)... the uploading of that information extends the build time for those local builds quite considerably so if we were uploading another 30% of data it would be a pain. We could do it, but only if there was some obvious/compelling benefit... so a good understanding of why Microsoft make that recommendation and how following that recommendation would benefit our SDK customers. @klemmchr was there some specific reason you wanted/needed this? |
After digging deeper into this topic it seems that this recommendation is a remnant from .NET Framework times where binding redirects were a thing. Therefore a multi target is probably not needed. |
Awesome, thanks @klemmchr - that's a relief! |
We should add net8.0 too, specially when u take dependencies that have net8.0 builds as u want the end user to resolve the net8.0 dep chain |
Problem Statement
This is a feature request for support for Blazor WebAssembly. According to #317, there seems to be at least some level of integration supported, but I couldn't find any installation tutorial. I would love to see support including features like User Feedback Prompt or Tunneling.
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: