All Collections
Webland Hosting
Windows Server
ASP.NET Core Hosting Model InProcess OutOfProcess
ASP.NET Core Hosting Model InProcess OutOfProcess

How can I use multiple ASP.NET Applications InProcess or OutOfProcess?

P
Written by Philippe Udry
Updated over a week ago

Basically there are 2 ASP.NET Core Hosting Model: InProcess and OutOfProcess.

Only one ASP.Net Core Application InProcess can be run per web server.

If you want to use multiple Applications InProcess, you need to run them in separate web servers, i.e. use separate web hosting for each application.

For ASP.Net Core Hosting Model OutOfProcess, on the other hand, there is no such restriction.

You can run multiple applications OutOfProcess in the same hosting.

You can adjust this independently in your web.config file, for example as follows:

<configuration>

<location path="." inheritInChildApplications="false">

<system.webServer>

<aspNetCore processPath="dotnet" arguments=".\admin.api.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="outofprocess" />

</system.webServer>

</location>

</configuration>

Did this answer your question?