C
C#2w ago
Nectar

✅ how to write web.config for IIS deploy

I wanted to deploy an ASP.NET Core application to IIS, but when I created the site and configured it, the application responded by displaying a white screen and returning 503 Application Shutting Down. I tried to change the default web.config, but there is no easy-to-understand guide (Microsoft's https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-8.0 guide only confused me more). Is there a complete tutorial for writing web.config? btw, this is my web.config
web.config file
Discover what is inside of the web.config file and how to configure different ASP.NET Core Module options.
No description
2 Replies
wasabi
wasabi2w ago
You don't usually have to do anything except publish your app.
Nectar
Nectar2w ago
ohhh got it, thank you