Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以为单个 asp.net 页面设置 Debug=false。我想为整个应用程序启用调试,但应用程序中有一个页面我想仅为该页面设置 Debug = false ?
是的,您可以Debug="false"在 .aspx 标记顶部的页面指令上进行设置。
Debug="false"
<%@ Page language="C#" Debug="false" .... %>