我有一个不能简单的页面:
<%@ Page Trace="true" %> <html> <head></head> <body> <h1>Hello World</h1> <a href="/OtherPage.aspx"/>Other Page</a> <p><%=DateTime.Now.ToString()%> </body> </html>
……但需要永远加载.没有数据库或Web服务调用来减慢速度. trace命令显示从Begin PreInot到End Render的时间是.000049秒,但页面本身需要几秒钟才能加载.这是我刚为此测试创建的一个新网站,只有一个web.config&两个测试文件. web.config中唯一的东西是访问控制:
<authorization><allow users="domain\me" /><deny users = "*"/></authorization>
IIS还能做什么呢?
解决方法
是时候开启
Failed IIS Request Tracing了!
我意识到请求实际上没有失败,但您应该能够在跟踪上设置Status 200以跟踪成功请求. There is a tutorial on iis.net告诉您使用失败的请求跟踪来跟踪成功的请求,所以我认为它应该工作.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。