Alle Kollektionen
Webland Hosting
Windows Server
ASP.NET Core Hosting Model InProcess OutOfProcess
ASP.NET Core Hosting Model InProcess OutOfProcess

Wie kann ich mehrere ASP.NET Applications InProcess oder OutOfProcess nutzen?

P
Verfasst von Philippe Udry
Vor über einer Woche aktualisiert

Grundsätzlich gibt es 2 ASP.NET Core Hosting Model: InProcess und OutOfProcess

Pro Webserver kann nur eine ASP.Net Core Application InProcess betrieben werden.

Wenn Sie mehrere Applications InProcess nutzen möchten, müssen Sie diese in eigenen Webservern betreiben, also für jede Applikation ein eigenes Webhosting nutzen.

Für das ASP.Net Core Hosting Model OutOfProcess gibt es diese Einschränkung hingegen nicht.

Sie können im gleichen Hosting mehrere Applications OutOfProcess betreiben.

Dies können Sie in Ihrer web.config Datei selbständig anpassen, beispielsweise wie folgt:

<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>

Hat dies Ihre Frage beantwortet?