I use Visual Studio to create a simple C# based ASP.NET Core web application, publish it to IIS, start the application, and browse to it using the corresponding localhost URL. I've done this with .NET 6, .NET 7, and .NET 8. In the corresponding Application Pool in IIS, I've tried three different identities:
- the built-in ApplicationPoolIdentity
- a local Windows account that is in the Administrators group and has Full Control access to everything under inetpub
- a Windows domain account that is in the Administrators group and has Full Control access to everything under inetpub
Here are my results:
.NET 6 | .NET 7 | .NET 8 | |
---|---|---|---|
ApplicationPoolIdentity | Works | Works | Works |
Windows local account | Works | FAILS TO START | FAILS TO START |
Windows domain account | Works | FAILS TO START | FAILS TO START |