Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Last active May 9, 2021 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/cba9a1e59d86b582f0655143e51422e4 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/cba9a1e59d86b582f0655143e51422e4 to your computer and use it in GitHub Desktop.
Self-Contained Deployment of ASP .NET Core Web Application to IIS
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*"
modules="AspNetCoreModuleV2"
resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\DemoApp.exe" stdoutLogEnabled="false"
stdoutLogFile=".\logs\stdout"
hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment