Open mdemler opened 1 year ago
@mdemler - Thanks for the feature request. I transferred this from the main Sentry repo, as it is specific to the .NET SDK. Please log .NET SDK issues to this repo (sentry-dotnet
) going forward.
The abstraction is a good suggestion. We do actually have some abstraction already around our file system internals, but they are mostly designed for testing purposes at the moment. We can consider a future enhancement to expose an API for this, or perhaps to provide this automatically as a Blazor-specific Sentry package.
Neither are on the immediate plan, but we can keep this issue here to reference in the future.
Thanks.
Related to #2021
Problem Statement
General .NET implementations of Sentry support a CacheDirectoryPath option for enabling caching of events, should there be an interruption in Internet connectivity. A Blazor WebAssembly application can successfully run during an Internet outage. The existing option doesn't and can't work, since WebAssembly applications have limited access to the local file system. But, there are other options for caching events locally that Sentry could be taking advantage of.
Solution Brainstorm