Home > other >  How do I deploy .NET 6 web app to IIS 10?
How do I deploy .NET 6 web app to IIS 10?

Time:12-25

I've read the documentation at publish settings IIS:

  • Create pool with non-managed code setting and identity for running the app.
  • Create site with our pool, path to published project and the specified IP:Port.
  • Configure the environment variables if necessary (select site -> Editor configuration -> select syste.webServer/aspNetCore -> click ... near the environmentVariables | Count -> Add variables and apply it).
  • Set hostingModel to inprocess.
  • Set stdLogEnabled and path if necessary.
  • Run and check your site. Everything should work fine.
    • Related