![IIS]()
In this article, I presume you already have a pool on your Windows Server IIS.
Follow the steps to understand the tricks for publishing ASP.NET Core 10 applications under IIS environments.
You need to set up your code to support IIS and configure the project to run on the architecture from the target pool.
To check if your pool is running on x86, verify the inetmgr console, verify the Advanced setting... and check if Enable 32-Bit applications are set to true.
![Pool x86]()
Application Pools
Let's do the steps to publish
You need to setup the x86 platform for your project to run on IIS as x86 aplication.
And create a publish profile selecting the x86 release.
Step 1. Start your new ASP.NET Core MVC.
dotnet new mvc -n MyTestApp
Step 2. Choose your architecture pool. It should be the same as the pool on IIS (x86 for 32 bits).
2.1. From Visual Studio 2026 select Configuration Manager...
![new1select]()
Menu Configurations
2.2 Select "New..."
![new1]()
2.3 Type the platform "x86" and press OK.
![Addx86]()
New Solution
Step 3. Now select "Publish..." from Solution Explorer's context menu
3.1. Select Folder as target.
![publis1]()
3.2. Choose Configuration "Release - x86", and target Runtime "win-x86":
![2]()
Active solution
Now you can publihs it copying the files to the IIS target folder on Windows Server.
![Wellcome]()
Important
Before the deploy on the IIS you need to install on the WIndows Server the .NET 10 Hosting Bundle https://dotnet.microsoft.com/en-us/download/dotnet/10.0
![hosting]()
Hosting Bundle option.
Conclusion
There are a few steps, but it is essential to follow them to succeed in publishing ASP.NET Core 10 applications.