|
|
Browse by Tags
All Tags » Tips (RSS)
-
Recently I was asked how to use a Singleton in an ASP.NET application. To be more specific I was asked how would I use a singleton and make sure it was applied at the application level. If you have no idea what a Singleton is I will give you my simple definition. It is a pattern used to ensure that an object is only instantiated once. The classic ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
I have decided that it would be useful to post a series of solutions to some fairly common problems encountered by many ASP.NET programmers. Some of these cures will be second nature to many, but they will all be a useful reference at some point in your ASP.NET life-cycle.
My first cure is what I would consider a moderate level tip. We often need ...
|
|
|