Modify web.config in an App Service

rar 0 Reputation points
2023-03-12T17:56:05.8966667+00:00

I'm running an Angular app and a .NET Core API on an App Service. I need to update the web.config to handle refreshing as shown in this stackoverflow answer: https://stackoverflow.com/a/68103523/386869

But my app doesn't have a web.config as it is, and when I tried to add one in the Angular app, publishing failed. Is there a way to modify the web.config through the Azure portal?

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

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,491 Reputation points
    2023-03-12T19:32:42.4966667+00:00

    Can you check this blog and it should help you in setting up the web.config and connecting it to the WebApp - https://about-azure.com/web-config-for-hosting-an-angular-application-on-azure-web-app/

    Hope this helps.

    JS

    ==

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.