开发者

How to trace page behind the scene?

开发者 https://www.devze.com 2023-01-18 05:06 出处:网络
How to trace page behind the scene? And send all tracing information by emai开发者_开发问答l? not to show any tracing information on client side.Sounds like you need to implement a custom trace listen

How to trace page behind the scene? And send all tracing information by emai开发者_开发问答l? not to show any tracing information on client side.


Sounds like you need to implement a custom trace listener, in this case an SMTP trace listener, a sample implementation can be found here:

http://www.codeproject.com/KB/trace/smtptracelistenerarticle.aspx


You could look into various logging frameworks for .NET. A popular one is log4net, which will allow you to keep track of any errors in your application and email you the logs. You can see a comparison chart of some logging frameworks here.

0

精彩评论

暂无评论...
验证码 换一张
取 消