如何在服务器上禁用选项和跟踪方法 [英] how to disable option and trace methods on server
本文介绍了如何在服务器上禁用选项和跟踪方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友
你能告诉我如何禁用服务器上的选项和跟踪方法。
i制作了一个web应用程序,我想在服务器上禁用选项和跟踪方法。
所以请告诉我如何做到这一点。
解决方案
我猜你要禁用跟踪。可能这是你在web.config中要做的事情。
< 配置 >
< system.web >
< trace 已启用 = false > < / system.web >
< / configuration < span class =code-keyword>>
更多信息检查此链接
http://msdn.microsoft.com/en- us / library / bb386420.ASPX [ ^ ]
Hello friend
can you tell me how to disable option and trace methods on server.
i made a web application in which i want to disable option and trace method on server.
so please give me an idea how to do that.
解决方案
I am guessing you want to disable tracing. Might be this is wath you nedd to do in web.config
<configuration> <system.web> <trace enabled="false" > </system.web> </configuration>
For more information check this link
http://msdn.microsoft.com/en-us/library/bb386420.ASPX[^]
这篇关于如何在服务器上禁用选项和跟踪方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文