Monthly Archives: December 2008

Compressing JS files as part of your build process

We love jQuery – many things are now easier/cleaner/more testable using JavaScript rather than ASP.NET (that statement blows my mind, but it’s true!). Because of that, we have a lot of JavaScript code. Ideally, we want to develop using readable … Continue reading 

Posted in Uncategorized | 11 Comments

new Repository<T>().DoMagic()

#karl_custom_1 code{color:#833;background:#fcfcfc;} #karl_custom_1 h4{margin:30px 0px 0px 0px;font-color:#fff;font-weight:bold;border-bottom:1px dashed #ccc;font-variant: small-caps} The purpose behind the repository pattern is to provide a layer of abstraction between your domain and data layer. For smaller projects, this typically isn’t needed. However, larger projects can … Continue reading 

Posted in Uncategorized | 31 Comments

Oxite – Oh Dear Lord Why?!

A couple weeks ago Microsoft released their first public version of Oxite – a blogging engine built using ASP.NET MVC. One of the goals of Oxite is “to provide a real-world sample written using ASP.NET MVC”. When you take into … Continue reading 

Posted in Uncategorized | 73 Comments

Code Coverage : Use It Wisely

Code Coverage is an oft-used metric which helps measure the depth and completeness of your testing. You run tests, and a code coverage tool monitors the execution and tracks which lines of code have and haven’t been executed. You then … Continue reading 

Posted in Uncategorized | 14 Comments

Get SOLID: Single Responsibility Principle

SOLID is a popular acronym that refers to a set of 5 important class design principles. I know developers get overloaded with the endless jargon that keep popping up, especially when it seems to do little more than complicate what … Continue reading 

Posted in Uncategorized | 17 Comments