Feeds:
Posts
Comments

Archive for May, 2008

I’ve so often seen people combining paths like this:

string path = basePath + "\\" + filename;

Sometimes they use Path.DirectorySeparatorChar or even check wether basePath or filename already contains. The program then fails with exceptions like "could not find file c:\Program Files\MyProggie\\settings.xml" or even worse files like MyProggiesettings.xml are created, just because the person configuring the [...]

Read Full Post »

If you’ve read my Article about How to wrap the ASP.net session state I want to show you how to make the wrapper testable using the Free .Net Ambient Context Pattern Implementation.
If you only want a easy ASP.net session state wrapper snippet without any dependencies, try How to wrap the ASP.net session state

In the initial [...]

Read Full Post »

I Love SPEC#

I beg you, Microsoft, release it. This is what we miss!! The NullReferenceException is the worst class I know in .NET Framework. Really!!

Read Full Post »

Implementing a SessionVariable that wraps HttpContext.Current.Session in a intuitive and typesafe manner.

Read Full Post »

Mads Kristensen is right in his article saying that WE have to wake up for the possibilities the web offers. It’s not about threats, it’s about opportunities!
I have created some Microformats in my current project. But wrongly! Why? Haven’t installed Operator toolbar for Firefox yet. Ridiculous, isn’t it. Or rather laziness.
But that’s what Mads [...]

Read Full Post »