C#C
C#2y 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
Screenshot_2024-06-24_143604.png
Discover what is inside of the web.config file and how to configure different ASP.NET Core Module options.
Was this page helpful?