Use this permalink
from
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/hosting-bundle?view=aspnetcore-9.0#install-the-net-core-hosting-bundle
The bundle file is called something along the lines of dotnet-hosting-<VERSION>-win.exe
Create new Application Pool with "No Managed Code"
Publish the application with the following options:
Release, Net9, Self-Contained, win-x64 and NOT a single file
Mark the folder as application in inetmgr.exe
Set its application pool to the newly created application-pool
(.net core apps must have 1 application pool per application)
Check the site in inetmgr.exe and add https bindings if necessary
Test if it works
Das .NET-Core Hosting-Paket für IIS installieren
diesen Permalink
von
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/hosting-bundle?view=aspnetcore-9.0#install-the-net-core-hosting-bundle
verwenden
Die Bundle-Datei hat einen Namen wie dotnet-hosting-<VERSION>-win.exe
Im IIS einen neuen Anwendungspool «No Managed Code / ohne verwalteten Code» erstellen
Die Anwendung mit den folgenden Optionen veröffentlichen:
Release, Net9, eigenständig, Win-x64 und NICHT als einzelne Datei
Den Ordner in inetmgr.exe als Anwendung markieren.
Die Anwendung dem neu erstellten Anwendungspool zuweisen.
(.NET Core-Anwendungen benötigen einen Anwendungspool pro Anwendung.)
In inetmgr.exe die Anwendung überprüfen und gegebenenfalls die HTTPS-Bindung hinzufügen.
Testen, ob es funktioniert.


