Hosting api locally on IIS for development
https://wakeupandcode.com/iis-hosting-for-asp-net-core-3-1-web-apps/
https://stackify.com/how-to-deploy-asp-net-core-to-iis/
https://medium.com/@aram161287/deploy-asp-net-core-web-api-on-iis-f75e755a6402
Check if aspnetcoremodulev2 module is installed in IIS as below. If not, then install it.
Create IIS profile in your .NET core project as below:
Create new website as below. Disable anonymous authentication and enable windows authentication for the created website.
"iisSettings": {
"windowsAuthentication": true,
"anonymousAuthentication": false,
"iis": {
"applicationUrl": "http://localhost:5100/",
"sslPort": 0
},

Comments
Post a Comment