Codespaces for ASP.NET Web API not working #148788
Replies: 2 comments 1 reply
-
Hi there, It seems like you're encountering an issue with deploying your ASP.NET Web API 6.0 on GitHub Codespaces, where the app runs successfully but returns a blank screen when accessed. Let’s go through a few things that might help resolve this issue: 1. Check for Logs and Error Handling:Since you’re expecting an error or a "request not found" message, first check if any errors are being logged by your application. You can enable logging in your builder.Logging.AddConsole();
In appsettings.json, or in your Program.cs, ensure you're setting the correct URLs like this: csharp bash
Conclusion: I hope this helps, and let me know if you need further assistance! |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have an ASP.NET Web API 6.0 product which is run good on local computer or real-life servers (I’m using Railway as my cloud server currently). However, there are some issues when I tried to deploy it on the github codespaces (If you wondered why I’m trying codespace: Because my computer went down so I have to find an alternative way to continue coding):
I’m stuck for a day now, please help me ;-;
Beta Was this translation helpful? Give feedback.
All reactions