Net Framework

24 November 2012

Regular expressions and RegEx performance in .Net

If you run into performance problems with regular expressions in .Net then your options for tuning and improving are pretty limited. Your only real hope is to keep a close eye on exactly what you’re throwing into the RegEx black box.

21 September 2012

Contract-first web service development using WCF and .Net 4.5

Contract first service development in .Net has always been hampered by the limited availability of any appropriate tooling. The new Contract-First tool in Visual Studio 2012 is only a partial solution.

12 December 2010

Exception safety in C# - more than just trying and catching

Exceptions can be a very effective means of handling errors in a systematic way, but using them properly can be a pretty delicate operation. If they are not handled properly then they can become a source of leaking resources, partially-completed operations and inconsistent data.

10 November 2010

ORM wars: Comparing nHibernate, LINQ To SQL & the Entity Framework

Ted Neward described ORM as the vietnam of computer science in that it’s a quagmire that starts well, gets more complicated as time passes and ends up as an open-ended commitment with poorly-defined goals and no clear exit strategy.

15 June 2010

Converting EPiServer 6 to use claims-based authentication with WIF

Converting an EPiServer site to become claims-aware is straightforward enough - the complications come when you try to use the editor and administration interfaces.