最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

MAUI App Intermittently Stops Connecting to ASP.NET Core Web API (Using Dev Tunnels) - Stack Overflow

programmeradmin1浏览0评论

I am developing a .NET MAUI app that connects to an ASP.NET Core Web API using Visual Studio Dev Tunnels for local development. Initially, the connection works perfectly, and the app communicates with the API as expected. However, after some time, the app stops connecting to the API. This issue occurs intermittently—sometimes it works one day and then stops the next day, and so on.

Here’s what I’ve tried so far: Verified that the Dev Tunnel is active and accessible from a browser on the same machine. Ensured that the API URL matches the Dev Tunnel address (using HTTPS). Restarted both the API and the MAUI app, but the issue persists after a while. Tested on an Android device (not emulator), with the same results.

Environment Details: MAUI Version: (mention the exact version you are using) ASP.NET Core Version: (mention your framework version, e.g., 6.0, 7.0, etc.) Visual Studio Version: (e.g., Visual Studio 2022 v17.x) Device: Samsung SM-A528B (Android 13, API Level 33) Dev Tunnel Configuration: HTTPS enabled

发布评论

评论列表(0)

  1. 暂无评论