Every web application unlike
desktop application needs effective error handling because web is involved with
http, web servers, database
servers, security servers etc..,ASP .NET being server side technology for web
applications provides plenty
of support to debug an application the concepts of ASP.NET that supports these
are.
1. Exception handling using trycatche.
2. Page level errors using “Page_error event”.
3. Web.config custom errors.
4. Application _error event of Global.asax
file.
5. Debug class and debug windows (F11, F10).
6. Tracing.
1. Try cache: is called as method
or statement level error handling.
Ex: right click in the code
view and select snippet then Try.
{
Cache (Exception)
}
|
Tuesday, 28 October 2014
ERROR HANDLING /RUNTIME DEBUGING
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment