Running a NET8 web application in a WebApp

Enrico Rossini 186 Reputation points
2023-10-16T23:03:09.7166667+00:00

I'm trying to create a website with NET8 and Blazor. When I created the resource, I chose NET8 (LTS) but the resource was created with NET7. So, in the General settings I changed to NET8 (LTS).

User's image

Now, from my Visual Studio, I deployed my test application on this webapp but the website returns Service Unavailable.

How can I deploy my application ad run it?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,397 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,646 Reputation points Microsoft Employee
    2023-10-17T06:51:13.6966667+00:00

    @Enrico Rossini Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    .NET8(LTS) (Preview) is available on app service on November 14. I understand that post deploying your application from visual studio to app service and while requesting the root URL you are getting 503 service unavailable issue.

    I see that your app is hosted on free tier app service plan, and it is recommended to use host your applications higher than Free tier plan for Production workloads.

    "503 service unavailable" is common errors in your app hosted in Azure App Service.

    • You can run the WebApp Down detector under Diagnose and solve problems of your app service to understand/to identify which is causing the issue.
    • Also, you can follow This article instructions to troubleshoot these errors.
    • Try scaling your app service plan to higher tiers like Basic or standard and see if you are facing the issues.

    Feel free to reach back to me if you have any further questions on this.

    0 comments No comments