MDrivenServerCore in IIS

To host .net core in IIS:

  1. install runtime-aspnetcore-7.0.<lastet>-windows-hosting-bundle-installer
  2. create new apppool (only 1 app per pool), set apppool to "No managed code"
  3. Extract zip of installation into your site folder
  4. Change the web.config:
<aspNetCore processPath=".\AppCompleteGenericCore.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" arguments="-iis=https://localhost/mdrCore1" />  SET THE URL YOUR APP SHOULD USE
This page was edited 20 days ago on 04/13/2024. What links here