.NET Core app deployment
Make sure you have this setup when deploying .NET Core apps on a server:
Install .NET 6/7 Hosting bundle: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-7.0.12-windows-hosting-bundle-installer
Setup directory permissions for the API (needed if using logger like Serilog)
Give all permissions to owner and system
Create new app pool in IIS for the app you want to host:
Edit advanced properties of app pool and set Identity to LocalSystem if using a SQL Server database
Â