Wednesday, January 30, 2013

Change app behaviour when debug="true" on web.config

To check if debug="true" on web.config, check the following:


Why should I care?

Take the example
//a lot of code that makes something
}catch (Exception ex){
//Make the error handling of some sort, like log the error...
return ex.Message;
return "A error ocurred with the app, please retry again later or contact our it department";

No comments:

Post a Comment