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...
Web.config encryption with external files by using aspnet_regiis made my go crazy; but i found a way to do that; you may check here for more details and code snippet http://weblogs.asp.net/muhanadyounis/pages/encrypt-web-config-including-extarnal-appsettings...
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...