QuickDevGuide

Home › .NET Core Web API

Deployment — IIS — .NET Core Web API

Deploy to Internet Information Services (IIS) on Windows Server with the ASP.NET Core Hosting Bundle. Prerequisites Windows Server with IIS installed .NET 10 Hosting Bundle installed IIS ASP.NET Core Module (ANCM) enabled Steps Create IIS Site: Open IIS Manager → Add Website Physical Path: point to the publish folder Binding: set port (e.g., 80 or 443 with SSL certificate) Configure Application Pool: Set .NET CLR Version to No Managed Code (ASP.NET Core runs out-of-process) Set Start Mode to AlwaysRunning for production Set Environment Variables in IIS Manager → Site → Configuration Editor Verify: web.config (auto-generated by dotnet publish) IIS Checklist Step Action Install Hosting Bundle .NET 10 Hosting Bundle includes ANCM Application Pool .NET CLR = No Managed Code SSL Certificate…

Key Takeaways