Apr 29 2013

A View Engine for ASP.NET MVC Feature-Based Organized

Category: MVC | ASP.NETMatt @ 11:25

I am a huge fan of ASP.NET MVC.  It is leaps and bounds ahead of WebForms, and if you’re doing web development on the Microsoft platform, it’s arguably the best overall solution available.  But it is far from perfect.  One of the things that has bugged me about it since the very beginning is the default organization conventions, meaning separate folders for controllers, view models, and views.  These conventions can be replaced though.  Read on to see how.

More...

Tags: ,

Mar 7 2013

SpecsFor V3.0 FINAL Finally Available, Finally!

Category: SpecsForMatt @ 16:54

Well, that certainly took long enough.  It’s been nearly a year since I first blogged about SpecsFor 3.0, but I just pushed the final version to NuGet a short while ago.

More...

Tags:

Feb 25 2013

SpecsFor V3 Release Candidate Now Available

Category: SpecsFor | TestingMatt @ 13:21

The SpecsFor 3.0 release is nearing completion!  The release candidate is now on NuGet.  This release further cleans up and simplifies things and lays the groundwork for porting SpecsFor to other testing frameworks.

More...

Tags: ,

Feb 12 2013

Connecting TeamCity to Gitblit

Category: gitMatt @ 06:11

This post is more of a reference for myself than anything else, but you might find it useful if you have run into security problems while trying to hook TeamCity to a Gitblit server that uses a self-signed certificate.

More...

Tags: ,

Feb 2 2013

A Generic Entity Framework 5 Repository With Eager-Loading

Category: EntityFrameworkMatt @ 08:56

I’ve been doing some work with Entity Framework 5 lately.  Here’s a simple generic repository I created that allows you to “Include” related entities by applying an attribute.

More...

Tags:

Jan 7 2013

SpecsFor 3.0 Preview Available on NuGet

Category: SpecsFor | TestingMatt @ 17:07

The first preview release of SpecsFor 3.0 is now available on NuGet.  This release cleans up and simplifies much of the core while dropping some ill-conceived features, but it also adds a brand new system for composing test context.

More...

Tags: ,

Dec 11 2012

Using Git for Peer Reviews

Category: git | Best PracticesMatt @ 14:14

This post is really more of a reference for me than anything else.  If you’re using Git (and you should be), and you are doing code/peer reviews (you are, right?), there are a few simple commands that can simplify reviewing a feature that’s spread across multiple commits.  Here are those commands.

More...

Tags: ,

Sep 15 2012

SpecsFor.Mvc 2.0 Released

Category: SpecsFor | MVCMatt @ 14:41

SpecsFor.Mvc 2.0 is out today.  This release includes drastically improved performance, support for Chrome, and support for the very latest versions of Selenium, ASP.NET MVC, and other libraries.

More...

Tags: , ,

Sep 9 2012

The Decorator Pattern, Done Right, With StructureMap

Category: IoC | StructureMap | DesignPatternsMatt @ 08:16

One of the cool bits of black magic I showed during my “StructureMapping Your Way to Better Software” talk was an extension method for registering decorators using StructureMap.  In this post, I’ll show you how it works.

 

image

More...

Tags: , ,

Sep 3 2012

devLink 2012 Wrap-up

Category: MiscMatt @ 08:30

Well, devLink 2012 is over.  I got exactly what I expected out of the event: a great time, some new ideas, some great interactions, and some great experience.  I see now that I was only partially abusing the Pomodoro technique thanks to @joelcochran, I learned a lot about JavaScript from @ifandelse, and I learned that LINQ really has nothing to do with IEnumerable thanks to an awesome presentation by @kodefuguru. 

I had a great time talking about SpecsFor and about StructureMap.  My SpecsFor talk was much rougher than any of the other times I’ve presented it, but I’d like to think that I redeemed myself with my StructureMap talk.  Thanks, everyone, who provided feedback.  It really does help, and it will help me be that much better next time. 

Anyway, My code and slides are now online for anyone that is interested (links below).  I’ll be posting more details, particularly about some of the StructureMap black magic that I showed, over the coming days (weeks/months).  I’m also putting together a refreshed build of SpecsFor.Mvc to address the compatibility problems introduced by .NET 4.5 final, and I’m going to be working on getting some other things posted that I’ve been dragging my feet on.  It’s going to be a busy few weeks around here…

StructureMapping Your Way to Better Software – Slides, Code

Integration Testing with SpecsFor.Mvc – Slides, Code

Tags: