Skip to main content

Posts

Showing posts with the label asp

Help for those looking for Custom Error Handling with ASP.NET

I have been learning about Custom Error pages and ASP.NET websites. The following seem to be a requirement: You need a Global.asax file to catch the error properly and generically, see notes below (#) You need to modify your web.config file It is a good idea to display a user friendly error screen, that at the same time notifies the webmaster somehow Here are a few links that I would recommend reading, and even using their code as a starter: Rich Custom Error Handling with ASP.NET Displaying custom error pages (offical MS site) Advanced Dotnet Tutorial: ASP.NET Custom Error Pages Sure you could have googled them yourself, but I have found a trick when searching for goodies on ASP. Enter in your search query proceeded by MSDN, and you get better results. # Some notes on Gloval.asax To add a Global.asax file to your project. Go to root of the Website, right click -> Add New Item (or menu Website->Add Item) and find the icon that says Global Application Class. Add this it...

ASP.net sites to spend more time looking at

I found a few sites that look like they may need a little more investigation Open Source .Net ASP.Net examples (example source code) Organized by topic DotNet collective asp.net community projects And believe it or not there is a Microsoft sponsored community  Codeplex , which has sample applications, projects to get involved with and more. Looking for ASP.NET examples an samples.