gpt4 book ai didi

.net - .NET 中的调试和发布二进制文件有什么区别?

转载 作者:行者123 更新时间:2023-12-01 05:18:27 24 4
gpt4 key购买 nike

我想知道 .NET 中的调试和发布二进制文件有什么区别。

当我输入 <compilation debug="true" /> 时实际发生了什么而不是 <compilation debug="false" />在某些 Web 服务的 Web 配置文件中?

最佳答案

post绝对可以回答你的问题。

When compilation debug=”false”/ is set, the WebResource.axd handler will automatically set a long cache policy on resources retrieved via it – so that the resource is only downloaded once to the client and cached there forever (it will also be cached on any intermediate proxy servers). If you have Atlas installed for your application, it will also automatically compress the content from the WebResources.axd handler for you when compilation debug=”false”/ is set – reducing the size of any client-script javascript library or static resource for you (and not requiring you to write any custom code or configure anything within IIS to get it).

关于.net - .NET 中的调试和发布二进制文件有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18269757/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com