-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: AjaySingala[Synergetics]
Message 2 in Discussion

Hi Nitin,

I dunno about others, but this is how I usually get this done. All exception handling 
should be done at a single point, not separately, 'coz U never know where the 
exception may occur. In ASP.NET, handle it in the Application_Error method of the 
Global.asax.cs (or .vb) file. This way, no matter where the exception occurs, it is 
alway handled at a central location.

Here, you can write it to a log, send an email to someone, whatever.

Only specific exceptions, which are not really exceptions but 'errors' must be handled 
at the DAL tier. All others must be again propogated back to Global.asax.

Take a look at the EMAB (Exception Management Application Block) provided by MS for 
more details. You can download it from the MSDN site.

HTH.

Regards,

Ajay Singala [Synergetics].


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to