Professional ASP.NET - Chris Love's Official Blog

Professional ASP.NET development information, tips, tricks and related information to help make you a more productive web developer.
Welcome to Professional ASP.NET - Chris Love's Official Blog Sign in | Join | Help
in Search

Browse by Tags

All Tags » Useful » Tips   (RSS)
  • Using Regions in Code Files

    Recently I have been confronted with a movement that seems to hate using #Regions in source code files. Personally I really like using regions and I absolutely like the ability to collapse sections of code I am not directly working with. The opposing argument I am given is that my classes or methods must then be too long. I really have to ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on July 31, 2008
  • A New ASP.NET Blog from Down Under

    The web is great, it has helped me build relationships with folks from all over the world. Recently Bartek Marnane contacted me to let me know he was kicking off a new Blog about ASP.NET. Bartek is from Australia, which I am going to visit one day before I die. So far he is off to a great start and has some really great articles to help folks get ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on June 28, 2008
  • ‘ScriptManager’ is ambiguous in the namespace ‘System.Web.UI’

    I suddenly found myself getting this error the first time I tried to run a freshly minted ASP.NET 3.5 web site with the ScriptManager in place on the Master Pages. I did a quick search, but only found some references from the time before 3.5, and they did not seem to apply at all. I continued my search for an answer and came across an article by ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on May 5, 2008
  • Enforcing a Custom 404 Page in ASP.NET

    Yesterday Google started hijacking 404 status codes through the Google Toolbar from unknowing Web sites to show pages with ads. TechCrunch even has a poll asking if you think the Google hijacking is a good thing or not. While Google publicly states they do not like Made For Adsense sites (MFAs) they have gone out of their way to force their own ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on February 13, 2008
  • The Beauty of a Base Page Class

    I never, and I mean never use the System.Web.UI.Page class as the class I inherit my Web Forms. I have a base class that I inherit from the Page class that has a set of methods and properties that I reuse many times over. Often I create more classes that inherits that class with special methods for the site. If you open up the source code for ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on January 3, 2008
  • GeekSpeak on httpHandlers and httpModules

    I am excited to announce that I will be doing a GeekSpeak with Glen Gordon and Lynn Langit on November 28th. I will be showing how to practically use httpModules and httpHandlers. You can register to be a part of the live GeekSpeak presentation or catch the show for months or years to come on Channel 9. This is going to be based on one of my more ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on November 26, 2007
  • Links of the Week October 5 2007

    Setting Up Custom Web.Config files for Development, QA and Production Servers - Scott Guthrie shows us a very valuable set of tricks for Enterprise development. What's New in .NET 3.5 and Visual Studio 2008 (Orcas) - You just do not see enough articles about this yet. The Difference Between String.Equals and String.Compare - This is a good ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on October 5, 2007
  • How to Replace Ambiguous Values

    Recently I had a friend tell me they were working on a project where they had to hand scrub the data in their database. In particular that day they were manually scrubbing values like 'Not Applicable', 'NA' and 'N/A' which all meant the same thing. But in order for the data to be consistent they need to go in by hand and change all these values to ...
    Posted to Chris Love's Official ASP.NET Blog (Weblog) by Chris Love on September 1, 2007
Powered by Community Server, by Telligent Systems