Deploy .NET 10 to IIS by first checking Windows Server and application compatibility, then installing the matching Hosting Bundle, configuring the IIS site, and testing HTTPS and the application process. For a new deployment, evaluate .NET 10 LTS, but do not treat LTS status as proof that your application or dependencies are compatible.
This guide is for ASP.NET Core developers preparing an IIS release, teams moving an existing application to .NET 10, and Windows Server administrators checking the web host before launch.
Last updated October 20, 2026. The .NET support dates below are checked against Microsoft's .NET lifecycle list and its end-of-support listings.
Before launch: confirm the target and the rollback boundary
Start with the environment, not the installer. A successful deployment depends on several things being compatible at the same time: the Windows Server release, the app's target framework, any native components, and third-party dependencies. An app that compiles on a developer workstation can still fail on the production host if a required runtime or library is missing.
.NET 10 is listed as an LTS release with support through November 14, 2028. .NET 8 LTS is listed with support through November 10, 2026. Verify those dates against the current Microsoft lifecycle page when setting your maintenance plan. The longer support window makes .NET 10 worth evaluating for a new deployment; it does not remove the need to test your app, database drivers, native libraries, and vendor software.
Before you schedule the change, record:
- The Windows Server edition and version currently running the app, plus the version you intend to deploy to.
- The app's target framework and whether it uses framework-dependent or self-contained publishing.
- Every native dependency, database provider, authentication integration, and vendor component that must work on the target system.
- The current site directory, IIS settings, application pool identity, environment-specific configuration, and certificate details.
- The database changes required by the release, including how you will restore or reverse them if the application rollback is not enough.
Use Microsoft's Windows .NET installation compatibility guidance to check operating-system support. Then verify application-specific dependencies with their vendors. Do not infer compatibility from the fact that another server runs the same major framework version.
Deployment decision branches
Use these conditions to decide whether to proceed with a production release:
- If the target Windows Server version is supported for your chosen .NET 10 deployment, and the app's native components and third-party dependencies are confirmed compatible, then test the release on a matching staging host before production.
- If the operating system is supported but a critical dependency has not been verified, then hold the production change and test that dependency or obtain confirmation from its vendor.
- If the app depends on a framework-dependent runtime, then install and verify the required runtime through the Hosting Bundle; otherwise, for a self-contained publish, still install the IIS integration module and validate the package on the target host.
- If you have a tested copy of the previous site, saved IIS configuration, and a database recovery plan, then you have a defined rollback path; otherwise, do not start the production deployment.
Go-live decision: If the target Windows Server release and every critical dependency are confirmed, proceed with a staged deployment. If any requirement is uncertain, test on a matching non-production host first; otherwise keep the current production version in place.
The rollback boundary
Back up the existing site files and IIS configuration before changing the production deployment. Keep a verified copy of the previous application package and its configuration somewhere outside the live site directory. Confirm that you can restore them, rather than assuming a file copy will be enough.
Treat database changes separately. If the new application applies schema changes that the old release cannot use, restoring the old site files may not restore service. Agree on a database rollback or forward-fix plan before deployment. The plan should name who approves the change and what evidence allows the team to continue or revert. Do not promise a fixed outage window until you have rehearsed the work in the actual environment.
Keep secrets out of the publish directory. Store production connection strings and credentials using the configuration approach your team supports, and confirm the deployed application can read them under its IIS identity.
Prepare IIS on the Windows Server host
Install IIS before the Hosting Bundle. That order avoids a common repair task: if the bundle was installed before IIS, rerun or repair the bundle after enabling IIS so its IIS integration can be registered.
In Server Manager, use Manage > Add Roles and Features, select the applicable installation type and target server, then enable Web Server (IIS). Add only the role services your application needs. For example, the application may require static content or particular authentication features, but there is no reason to enable every IIS component by default.
You can enable the core web server role from an elevated PowerShell session:
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Get-WindowsFeature -Name Web-Server
Microsoft documents the Install-WindowsFeature command and its parameters. Use Server Manager or PowerShell to add any extra role services only after checking your application's actual requirements.
Keep the development toolchain separate from the production host. The .NET SDK is generally used to build and publish an application; it is not automatically required on the IIS server. The host needs the components appropriate to the deployment model, including the IIS integration module for standard IIS hosting. Check the Microsoft IIS hosting guide for the current hosting requirements.
Install the .NET 10 Hosting Bundle
On the IIS host, install the .NET 10 Hosting Bundle after IIS is available. The bundle provides the ASP.NET Core Module used by IIS and the runtime components needed by framework-dependent applications. Follow Microsoft's current Hosting Bundle installation instructions and select the installer that matches the application and server requirements.
The deployment model changes what the runtime contributes:
- Framework-dependent publish: the app uses an installed .NET runtime on the host. Confirm that the required runtime is available and maintained.
- Self-contained publish: the app package carries its runtime, so it does not rely on the shared runtime installation in the same way. IIS still needs the ASP.NET Core Module for the usual IIS integration.
Do not install the SDK as a substitute for the Hosting Bundle. They serve different purposes. The SDK is for building; the Hosting Bundle prepares an IIS server to host ASP.NET Core applications.
After installation, check the runtime list and IIS integration. The runtime command helps confirm which shared runtimes are installed:
dotnet --list-runtimes
For a quick module check, load the IIS PowerShell module and look for the ASP.NET Core Module:
Import-Module WebAdministration
Get-WebGlobalModule | Where-Object Name -eq "AspNetCoreModuleV2"
If IIS was added after the bundle, repair or rerun the bundle, then restart IIS as directed by the installer documentation. Do not assume the site is ready just because the installer completed; verify the module and then test a minimal deployment or the target application.
Publish the app and create the IIS site
Publish the application from the build environment with the intended configuration and deployment model. For example, from the project directory:
dotnet publish .\MyApp.csproj -c Release -o .\publish
This command uses the SDK and belongs in your build or release workflow, not necessarily on the production server. Follow Microsoft's ASP.NET Core publishing-to-IIS tutorial for the application layout and deployment details. Review the output before transferring it. Confirm that it contains the expected application files and web.config, and that environment-specific settings are not accidentally overwritten.
In IIS Manager, create an application pool for the application, then create a site that points to its deployment directory. For ASP.NET Core, the application pool should not try to load the classic .NET Framework CLR as the app's managed runtime. Set the pool identity deliberately, and grant it only the file access needed to read the application and write to designated data or log locations.
An administrator can create the pool and site using PowerShell when the WebAdministration module is available:
Import-Module WebAdministration
New-WebAppPool -Name "MyAppPool"
Set-ItemProperty IIS:\AppPools\MyAppPool -Name managedRuntimeVersion -Value ""
New-Website -Name "MyApp" -PhysicalPath "D:\Sites\MyApp" -Port 80 -ApplicationPool "MyAppPool"
Treat these as examples, not a complete production script. Check the site name, path, port availability, pool identity, and existing IIS configuration before running them. If another site already uses the intended binding, resolve the host-name and port configuration in IIS Manager rather than replacing a live binding by accident.
For HTTPS, install or select a certificate valid for the actual hostname, add the HTTPS binding in IIS, and confirm the certificate is assigned to that binding. A working application at an internal address does not prove that public DNS, certificate name, firewall rules, or external routing are correct. Test those paths separately.
Keep the change reversible
Deploy the new package to a versioned or staging directory first where your release process allows it. Compare configuration with the production requirements, then switch the IIS site to the verified directory. If your process deploys directly into the active directory, schedule a controlled change and preserve a separate copy of the prior release.
Do not grant broad write access to the whole application tree just to make startup succeed. If the app needs to write uploads, temporary files, or generated content, create a separate writable location and grant the pool identity the minimum permissions required for that function.
Validate the site, then decide whether to keep or revert
Run checks in increasing scope so you can isolate failures:
- On the server, confirm the IIS site and application pool start, then request the app's health endpoint locally.
- Check the Windows Application event log and IIS logs for startup errors, failed requests, and configuration problems.
- Test the hostname and HTTPS binding, including the certificate name and the route users will actually visit.
- From outside the server, test DNS resolution and the public route. Confirm the application can reach required databases and external services.
- Review application logs and business-critical workflows with the team that owns the service.
When the site fails to start, check the evidence before changing several settings at once. A missing or mismatched runtime is different from a missing IIS module. A permission error points toward the pool identity and file access. A configuration or startup exception may come from the app itself, its environment variables, or a production dependency.
For framework-dependent deployment, compare the app's target framework with the installed runtimes. For either deployment model, verify that the ASP.NET Core Module is present, that the site points at the correct publish directory, and that the app pool identity has the access it needs. Microsoft's IIS and ASP.NET Core troubleshooting guidance gives additional diagnostic steps for common hosting failures.
If you enable stdout logging for diagnosis, use a controlled writable location and turn it off when you finish. Leaving diagnostic output enabled can create unnecessary files and may expose details that should not remain in production logs.
Keep the release only when the local health check, HTTPS route, external access, application logs, and critical business workflow all pass. Otherwise, restore the previous site files and IIS configuration from the saved copy, then follow the agreed database recovery plan. Record the failure evidence before attempting another deployment.
Frequently asked deployment questions
Is the Hosting Bundle required for IIS?
For standard ASP.NET Core hosting through IIS, the server needs the ASP.NET Core Module installed by the Hosting Bundle. A self-contained publish changes whether the shared .NET runtime is needed, but it does not remove the need for the IIS integration module. Enable IIS first, install the bundle afterward, and verify the module before troubleshooting the application package.
What should you check when IIS still cannot start the app?
Check the Application event log and IIS logs first. Then confirm the expected runtime for a framework-dependent app, the ASP.NET Core Module, the deployed web.config, and read permissions for the app pool identity. If the error remains unclear, use Microsoft's troubleshooting guide and enable temporary diagnostic logging only for the investigation. Disable verbose output when the issue is resolved.
Check the Windows deployment environment before you order
A Windows Server deployment also depends on the host edition, language, remote access method, and operating location you need. AMDSSH lists Windows Server 2019, 2022, and 2025 in Standard and Datacenter editions, with English, Traditional Chinese, and Simplified Chinese language options. Windows hosts are accessed through RDP. The service is located in Tokyo, and billing is available monthly, quarterly, semiannually, or annually. Check the current AMDSSH product and pricing information before choosing; the application requirements and current product listing should both match your plan.
A dedicated physical server is not automatically the right choice for every IIS project. A short-lived test site, a lightly used app, or a workload that needs rapid per-hour scaling may fit a shared VPS or cloud instance better. Those options can also bring shared-host contention, less control over the host environment, and billing or resource limits that need careful review. If your production app needs dedicated machine resources and sustained Windows hosting, compare those trade-offs with an AMDSSH bare-metal server rather than assuming a shared instance will behave consistently under every workload.
Before committing, use the AMDSSH ordering page to confirm the Windows Server version and language options currently listed for the server you are considering. Plan the application migration and IIS configuration separately: this deployment guide does not imply application migration, RDS CAL licensing, SQL Server licensing, or managed administration is included. If you need a dedicated host for an IIS workload, verify the operating environment first, then choose a server configuration that matches the tested application requirements.
Frequently asked questions
What is the safest sequence for putting a .NET 10 app on IIS?
Check the target Windows Server release and application dependencies first. Back up the current site and configuration, enable the IIS role, install the matching .NET 10 Hosting Bundle, and then publish the app to a controlled site directory. Configure the app pool, permissions, bindings, and HTTPS before testing the health endpoint and external route. Keep the previous deployment available until validation passes.
Does an IIS server need the .NET 10 Hosting Bundle?
For the standard IIS hosting model, install the .NET 10 Hosting Bundle on the web server. It installs the ASP.NET Core Module used to connect IIS with ASP.NET Core, along with runtime components for framework-dependent apps. A self-contained publish includes the app's runtime, but it still needs the IIS integration module. Install IIS before the bundle, or repair the bundle after IIS is added.
The bundle is installed, but the ASP.NET Core site still will not start. What should I check?
Start with the Windows Application event log and the IIS logs. Confirm that the ASP.NET Core Module is present, the app pool identity can read the deployment directory, and the deployed app targets a runtime supported by the host. Check the app's standard output logs only as a temporary diagnostic, then disable them. Compare the deployed web.config and application settings with a known-good package before changing server-wide settings.
Which Windows Server and IIS settings should I verify before publishing?
Verify the Windows Server version against Microsoft's .NET installation compatibility guidance and confirm that the app's target framework, native components, database drivers, and third-party libraries support that environment. In IIS, check the site path, app pool identity, managed runtime setting, required role services, host name, certificate, and HTTPS binding. Also confirm that production secrets and database changes are handled outside the published package.
EPYC 7543P dedicated serverFrom $450.2/month
