2026 .NET 10 IIS Deployment: Framework-Dependent or Self-Contained?

2026 .NET 10 IIS Deployment: Framework-Dependent or Self-Contained?

If an IIS site starts failing because the server runtime and the app release are out of sync, the first question is who owns runtime updates.

This week, choose framework-dependent publishing for a normally managed IIS host; use self-contained publishing only when an app needs its runtime controlled with its release or the shared runtime cannot be managed reliably.

This guide is for ASP.NET Core developers and Windows Server administrators responsible for IIS sites.
It also helps technical leads assign runtime, patching, testing, and rollback responsibilities before launch.

Start with the team that owns the runtime

The choice is not simply about which publish option creates a larger or smaller folder. It determines where the .NET runtime lives and which team must keep it current.

With framework-dependent publishing, the app package does not carry the .NET runtime. The target server must have a compatible runtime installed. On IIS, the server also needs the ASP.NET Core Module, which is installed through the ASP.NET Core Hosting Bundle. Microsoft recommends framework-dependent deployment for most IIS deployments in its .NET 10 IIS publishing tutorial.

With self-contained publishing, the application package includes the .NET runtime for a chosen target platform. That gives the app release more control over the runtime version, but it makes runtime servicing part of the application release process. Microsoft’s deployment-mode guidance explains the distinction and the update responsibility.

Keep the IIS integration requirement separate from the runtime choice. A self-contained package includes the runtime, but it does not remove the need for the ASP.NET Core Module that connects IIS to the application. Confirm that module is present on the host, using the IIS hosting guidance.

.NET 10 entered support on November 11, 2025, and its listed support end date is November 15, 2028, according to the Microsoft .NET support policy. That lifecycle does not decide your publish mode. It does give you a support window to include in the application’s maintenance plan.

Compare ownership before choosing a publish mode

Use this comparison to identify the operational cost, not to assume that one mode fits every app on a server.

Decision point Framework-dependent Self-contained
Where the .NET runtime comes from Installed and maintained on the server Included in the application publish output
What IIS still needs ASP.NET Core Module and a compatible runtime ASP.NET Core Module; the app package supplies its runtime
Who schedules runtime updates The server owner, coordinated with app teams The application release owner republishes and deploys updates
Multiple apps on one host Can use compatible shared runtimes, subject to app testing Each app package carries its own runtime
Main operational benefit Central runtime maintenance App-specific control of the runtime version
Main operational risk A host update can affect apps that use that runtime Old packages can retain outdated runtimes until redeployed

A framework-dependent deployment is usually the cleaner choice when one team manages the Windows Server, maintains the Hosting Bundle, and can test application compatibility before updating the shared runtime. Central control reduces duplicated runtime packages; it does not eliminate the need to test each app.

Self-contained publishing is worth evaluating when an application has a specific runtime requirement that must move with its release, or when no team can reliably maintain the host’s shared runtime. It shifts work rather than removing it: the application team now needs to identify runtime updates, produce a refreshed package, and verify it before deployment.

Do not confuse self-contained publishing with single-file publishing. Self-contained describes whether the runtime is included. Single-file publishing describes how application files are packaged. They are separate publishing decisions; Microsoft’s application publishing documentation covers these deployment options.

Assign server and application duties before publishing

A mode decision becomes fragile when nobody owns the change after go-live. Write down the boundaries before you select a publish command.

For framework-dependent deployment, assign a server owner to install and maintain the Hosting Bundle and shared runtime. Assign an application owner to confirm the target framework, validate the app after runtime changes, and approve production rollout. The server owner should not assume that an application team has tested a runtime update. The app owner should not assume that installing a new runtime on the host updates the application package or verifies its behavior.

For self-contained deployment, the application release owner must track the runtime included in the package. When a runtime update is needed, rebuild and republish the application, then test and deploy the new output. The server owner still maintains IIS and its ASP.NET Core Module. The app team cannot treat the host as irrelevant merely because the package includes the runtime.

Where several ASP.NET Core sites share one IIS host, create an application inventory before changing a shared runtime. Record each app’s target framework, publish mode, owner, test contact, and rollback package. A compatible shared runtime is a technical possibility, not proof that every app will work after a change.

Important: Self-contained deployment does not mean “no patches.” It means runtime updates arrive through the application’s republish and deployment process instead of solely through the server’s shared runtime maintenance.

Decide by host-management scenario

Use the scenario that matches your team’s actual access and release process. Do not select a mode based only on who runs the publish command.

One team owns the server and application: Framework-dependent is a strong starting point. The team can schedule Hosting Bundle maintenance, test the site after changes, and keep the server’s runtime state visible.

Several apps share a centrally managed host: Framework-dependent can simplify host maintenance, but map runtime dependencies before applying updates. Give each app owner time to test. If one application needs tighter runtime control, assess self-contained publishing for that app rather than assuming every site must use the same mode.

Different teams share the server, but no one owns the shared runtime: Resolve ownership first. If that cannot be done reliably, self-contained publishing may give an application team more control over its runtime version. That team must then own republishing and redeployment for runtime updates.

The server must not receive runtime changes independently of an app release: Self-contained publishing may better match the release boundary. Confirm that the team can rebuild, test, and redeploy promptly when the included runtime needs servicing.

Microsoft’s runtime version selection guidance explains how .NET chooses among installed runtimes. Use it when checking what a framework-dependent application can find on the target host; do not infer compatibility from a server’s runtime list alone.

Keep the publish command explicit

For a framework-dependent package, make the intent clear in the release command:

dotnet publish .\MyApp.csproj -c Release --self-contained false -o .\publish

The output directory is the package to deploy. The target IIS server must have a compatible runtime and ASP.NET Core Module. Check the actual project target and server runtime before promoting the output.

For a self-contained package targeting Windows on 64-bit x86 architecture, an explicit example is:

dotnet publish .\MyApp.csproj -c Release -r win-x64 --self-contained true -o .\publish

The runtime identifier is part of the target choice. Select it to match the deployment operating system and processor architecture; Microsoft maintains the runtime identifier catalog. Do not publish for one platform and assume the package will run on another.

In either mode, publish the actual application project and inspect the resulting output. A successful publish command does not prove that the deployed site has the right IIS configuration, permissions, runtime components, or environment settings.

Validate the deployment with a release checklist

Use this checklist for each application and target server. Keep the completed result with the release record.

A useful result is a short ownership record, not just a checked box: “Server team updates the Hosting Bundle; application owner tests and approves each site.” For self-contained apps, record which release owner will rebuild and deploy a package when its included runtime needs an update.

Check the IIS host against the application plan

A Windows Server host should be selected with the application’s operating system requirements and maintenance ownership in mind. A new server can be prepared for Windows Server 2022 or 2025, then tested with the application’s selected publish mode before production cutover. Do not assume a Hosting Bundle is preinstalled or that the server provider will configure IIS or maintain the app runtime.

A runtime change also needs a rollback path. Preserve the previous working application package and configuration, then define which team can restore them. For framework-dependent publishing, rollback may include checking whether a shared runtime change is part of the problem. For self-contained publishing, the previous package can include the previous runtime, but restoring it does not replace the need to plan a secure follow-up update.

If the application requires a specific Windows edition or language, check the available options on the AmdSrv Windows Server product specifications before ordering. AmdSrv offers Windows Server 2019, 2022, and 2025 in Standard and Datacenter editions, with English, Traditional Chinese, and Simplified Chinese language options; Windows access is by RDP. These options do not imply that .NET, the Hosting Bundle, IIS, or application configuration is preinstalled.

For the application team, the decision remains independent of the edition label: use framework-dependent publishing when the host runtime has a named owner and a tested update process. Consider self-contained publishing when runtime control must travel with the app, and budget the work to republish and redeploy updates.

If you are moving from a shared VPS or cloud instance, account for more than the Windows image. Shared compute can introduce neighbor contention, resource limits, or less control over the host’s runtime and disk setup. If your IIS workload needs a dedicated machine and predictable ownership of the Windows environment, compare the available Windows Server choices in the AmdSrv price list against your application’s actual requirements. Choose the publish mode separately, then confirm who will maintain each runtime after launch.

Frequently asked questions

Can an IIS app run if the server does not have the .NET 10 runtime?

A framework-dependent app needs the matching shared runtime on the server, so it will not start correctly if that runtime is missing. A self-contained publish includes the runtime for its target platform, but IIS still needs the ASP.NET Core Module. Check the actual publish output and server components before switching modes.

How should I handle security updates for a self-contained .NET 10 app?

Treat the runtime in the publish package as part of the application release. Review runtime advisories, update the SDK or runtime used by your build, republish the app, test the new package, and deploy it through your normal release process. Self-contained publishing does not automatically update an already deployed runtime.

Can several ASP.NET Core sites share one .NET runtime on IIS?

Yes, framework-dependent applications can use compatible runtimes installed on the same server. That simplifies central maintenance, but it does not prove every application will behave correctly after a runtime change. Inventory each app's target framework, test the update against each workload, and coordinate deployment and rollback owners.

Should I use framework-dependent or self-contained publishing for .NET 10 on IIS?

For a typical IIS server managed by one team, start with framework-dependent publishing and maintain the required Hosting Bundle and runtime centrally. Consider self-contained publishing when an app needs a runtime version controlled with its release or shared runtime management is unreliable. Include republishing runtime updates in that app's maintenance plan.

Further reading

AmdSrv Dedicated Server with AMD EPYC 7543P, from $458/month

From deployment notes to configuration checks

Choose a server based on memory, storage, and network requirements. The customer manages the operating system and data backups.