Replies: 8 comments 4 replies
-
@wjvii I have been using the Microsoft.ApplicationInsights nuget package in Xamarin apps for ages, it works fine. |
Beta Was this translation helpful? Give feedback.
-
@freever, which package(s) and TelemetryChannel configuration did you use to support preserving telemetry in offline scenarios with Xamarin Forms? I tried some experiments with Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel and never was able to get it to preserve the data when offline and send it when back online. It did work fine and send telemetry when online but I lost all telemetry when offline. I a WPF application it worked fine online and offline both. Thank you. |
Beta Was this translation helpful? Give feedback.
-
That's a good point, I had never worried too much about offline scenarios.
A true Xamarin / Maui AppInsights implementation would indeed be very
welcome. I agree with all your points about App Center.
…On Sat, 12 Dec 2020 at 14:39, wjvii ***@***.***> wrote:
@freever <https://github.com/freever>, which package(s) and
TelemetryChannel configuration did you use to support preserving telemetry
in offline scenarios with Xamarin Forms? I tried some experiments with
Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel and never was
able to get it to preserve the data when offline and send it when back
online. It did work fine and send telemetry when online but I lost all
telemetry when offline. I a WPF application it worked fine online and
offline both.
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#287 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARKDOGHGASZ7TL7EU4SEZLSUNP67ANCNFSM4UXSKQJA>
.
|
Beta Was this translation helpful? Give feedback.
-
It does make sense to complete at least one of ApplicationInsights and App Center, and preferably both. Since App Center doesn't support all platforms, we need to use App Center for iOS/UWP/Android and ApplicationInsights for Mac. App Center also hasn't shown any signs of life for a year so it's not clear if its promise of a single place to manage app data will ever be finished. |
Beta Was this translation helpful? Give feedback.
-
Any word on MAUI AppInsights? Even if it's a flexible one that's not tied to a subscription. If not, the old fashion custom service route suits me just fine |
Beta Was this translation helpful? Give feedback.
-
https://vladislavantonyuk.github.io/articles/Adding-Application-Insights-to-.NET-MAUI-Application |
Beta Was this translation helpful? Give feedback.
-
Also, the offline scenario applies in the instances where the app crashes. I believe Appcenter saves the crash log and uploads it to appcenter on next app launch. |
Beta Was this translation helpful? Give feedback.
-
You should check this out https://github.com/dhindrik/TinyInsights.Maui. Seems to work offline also by storing things to a file and sending when network available |
Beta Was this translation helpful? Give feedback.
-
Summary
We develop desktop, mobile and web applications using primarily WPF, Xamarin Forms, ASP.NET Core, Azure Functions, Blazor. We handle all our devops with Azure DevOps and due to the nature of our products also use SQLCipher with SQLite for our offline data. We love Application Insights and use it for every tier of our application where it is available, which means everything except Xamarin Forms. Since Application Insights is already cross platform, supports offline scenarios and more it would be great to have it directly supported by .NET MAUI on all platforms .NET MAUI will support. This would give developers a single telemetry platform to use across most if not all of the Microsoft .NET ecosystem and allow shops like ours to not have to integrate with AppCenter, not have to setup and use the AppCenter portal, and not have to use an entirely different SDK and API for telemetry. I realize that AppCenter can push data to Application Insights, but it would be great to just go direct and save the extra steps. Not to mention that AppCenter and applications with SQLCipher can be a bit problematic to get working correctly, at least that has been our experience.
API Changes
Not sure, from the developer's point of view I say none required but the api would need to have offline support that some of the existing TelemetryChannels currently have.
Intended Use Case
Would allow developers to use Application Insights in all of .NET MAUI applications just like they can do in all other .NET applications.
Beta Was this translation helpful? Give feedback.
All reactions