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.
私のアプリケーションは例外をログに記録するように設定されており、これはApplication_Errorメソッドで行われます。ページ メソッド (静的) の追加を開始しました。Application_Errorページメソッドの例外は、メソッドをトリガーしませんGlobal.asax.cs
Application_Error
Global.asax.cs
これらの例外をキャッチするためのベスト プラクティスは何ですか?
PS: JQuery ajax を使用して PageMethods を呼び出しています
ELMAHを調べることをお勧めします。必要がなければ、車輪を再発明しないでください。