AppCenter retirement - Migration guides #3226
Replies: 1 comment 3 replies
-
Just started using Sentry coming from AppCenter. One of the main questions that came up was how to handle additional data with an exception: In the sentry documentation I find the concepts of breadcrumbs and contexts. But the data doesn't feel like an event (breadcrumbs) and context feel a bit broad (not specific for an exception). After looking at the methods I found the most simple was to add an extra AddBreadcrumb call just before capturing the exception:
The AddBreadcrumb accepts IDictionary<string, string> which my client application uses allot when reporting exceptions. I suspect this will work fine. Is this a good approach? Addressing this specifically in a migration guide could help other developers coming from AppCenter. |
Beta Was this translation helpful? Give feedback.
-
With AppCenter announcing its retirement. I imagine more requests for migration guides will come.
Sentry supports all platforms that AppCenter supports + a lot more. So we should be able to help folks migrate their apps in first, and they'll be exposed to guides to add new apps (e.g: backend) that AppCenter didn't support yet.
https://nugettrends.com/packages?months=72&ids=Sentry&ids=Microsoft.AppCenter
.NET Mobile support
MAUI and Native
.NET 7 and newer has Native mobile supported by the Sentry NuGet package
.NET MAUI is supported by Sentry.Maui and includes bindings to native iOS and Android libraries. These are super mature native SDK by Sentry (sentry-android and sentry-cocoa)
Sentry also supports line numbers on exceptions in release builds. (which is still an open ticket on the appcenter GitHub repo). Symbols are uploaded automatically via MSBuilds (docs)
Xamarin
Sentry supports Xamarin (native + Forms):
WinForms
Through the Sentry package. Documentation here.
WPF
Through the Sentry package. Documentation here.
UWP & WinUI
Through the Sentry package. Documentation here.
Unity
Unity SDK is on GitHub. The package itself is published via UPM. Documentation is here.
Dogfooding
NuGet Trends
.NET Foundation project NuGet Trends uses Sentry. Code on GitHub.
Symbol Collector
Sentry has a symbol collection service build in C# with an Android app, CLI, and backend in ASP.NET Core that might be a reference for the API.
Beta Was this translation helpful? Give feedback.
All reactions