在 ASP.NET 核心 Web 服务中使用 Visual Studio AppCenter?

Use Visual Studio AppCenter within a ASP.NET core web service?

我想在我的 ASP.NET 核心网络服务中使用 Visual Studio AppCenter,但它似乎不受支持。 调用 AppCenter.Start("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx", typeof(Analytics), typeof(Crashes)); 时,我在运行时在输出控制台中收到一条日志:

"[AppCenter] ASSERT: Cannot use App Center on this target. If you are on Android or iOS or UWP, you must add the NuGet packages in the Android and iOS and UWP/WPF/WinForms projects as well. Other targets are not yet supported."

我知道它不受支持,但是没有办法使用它吗? Xamarin 也使用 .net 核心,所以从技术上讲,人们应该能够以某种方式在基本的 .net 核心应用程序中使用它吧?

ASP.NET 不受 App Center 支持。 App Center 平台支持的列表在此处 https://docs.microsoft.com/en-us/appcenter/general/platform-service-matrix。 Xamarin SDK 使用 Android 和 iOS SDK 的包装器,对于 UWP,它使用特定的 c# 实现。