I know that this subject has been asked many times therefore i would like to summarize it and give a small tutorial about how to do it. I had some PageMethods on a default page which calls some web methods on code behind of the page. Before 1 week we...
My client asked to handle all unhandled exception and log then in sql database. Beside that they want to log handled exception too. So after some googling i found an open source project for exception handling, ELMAH (Error Logging Modules and Handlers...
One of the most impotent OPP principles is encapsulation!. We do encapsulate anything or code that varies. So what about the user interface (aspx pages I mean) are we able to encapsulate some lines that varies between pages? Actually; YES! But not for...