我正在阅读此博客,想知道这个新的 web.config 文件是否可以在 azure 上正常工作。谢谢。
https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%"
arguments="%LAUNCHER_ARGS%"
stdoutLogEnabled="false"
stdoutLogFile=".\logs\stdout"
forwardWindowsAuthToken="false"/>
</system.webServer>
</configuration>
最佳答案
是的,新的 aspnet core 配置文件会将应用程序设置作为环境变量,其工作方式与现在非常相似
关于c# - 新的 web.config 无需更改即可在 Azure 上运行吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37352577/