0
Bernard created
Hi,
Upon publication a webconfig file is created but overwrites the old one in which I added parameters how to avoid this file being overwritten because there are none in the project
`
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\ERUDY.Web.Mvc.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
`
1 Answer(s)
-
0
Hi @Bernard
For production, you can either ignore this file or use multiple web.config files, see https://stackoverflow.com/questions/305447/using-different-web-config-in-development-and-production-environment