Mar 14 2014

I’m Now Officially a Pluralsight Author!

Category: MVCMatt @ 08:47

Yesterday I officially became a Pluralsight author as my first course went live.  It was a lot of work to get here, and I’m very thankful to my friends and family for their support along the way (and to the fine folks at Pluralsight that gave me this opportunity!)

I’ll be blogging more about the overall experience of becoming an author in the future.   In the meantime, I invite you to check out my course, “Build Your Own Application Framework with ASP.NET MVC 5.”  I’ll show you how to go beyond the basics of ASP.NET MVC; to bend it to better-meet your needs; to make it into a framework that’s optimized for your productivity.   If you aren’t a Pluralsight subscriber, you can sign up for a free trial.

If you do take the course, please do feel free to shoot me an E-mail.  I’d love to know what you think of it!

Tags: ,

Aug 1 2013

SpecsFor.Mvc 3.0 Preview 2 Package Released!

Category: SpecsFor | MVC | ASP.NETMatt @ 15:22


The new ‘preview 2’ release of SpecsFor.Mvc is now available on NuGet.   This update is built against the latest Selenium WebDriver package and ASP.NET MVC 4.  It no longer depends on MvcContrib.TestHelper, either, as all the relevant functionality has now been absorbed into SpecsFor.Mvc.  In addition, this preview release fixes several bugs and adds support for cleaning up the published site when using the embedded IIS Express host.

Going forward, the SpecsFor.Mvc package will require a specific version of Selenium WebDriver.  I generally don’t like it when packages do that, but the change from 2.25 to 2.33 broke SpecsFor.Mvc completely, and I don’t want to risk that happening again in the future.  The goal of this project is painless end-to-end testing, and not working because a required package introduced breaking changes with a minor version bump doesn’t align with that goal.  Whoops, I’m starting to rant… MOVING ALONG:

Keep in mind that the removal of MvcContrib.TestHelper is a breaking change, hence the version bump here to 3.0.  You can fix your existing tests by replacing ‘using MvcContrib.TestHelper’ with ‘using SpecsFor.Mvc.Helpers’ (if your file doesn’t already include that namespace). 

Please open up an issue on Github if you run into any problems.

Tags: ,

Jul 17 2013

Book Review: Instant Razor View Engine How-to

Category: ASP.NET | MVCMatt @ 04:22

I consider myself an ASP.NET MVC expert.  I’m very comfortable with the platform, I’ve been through a large portion of the source, and I’ve built countless apps on it.  While I did find “Instant Razor View Engine How-to”  to be an adequate  reference for the basics of the Razor view engine, I would have a hard time recommending it. 


Tags: ,

Jun 11 2013

Using Cloudmailin’ with ASP.NET MVC

Category: ASP.NET | Cloud | MVC | PowerShellMatt @ 12:23

I’m building an ASP.NET MVC app that receives E-mail via’s service.   In this post, I’ll show you how to create a handler for Cloudmailin using MVC, and I’ll show you how to test that handler locally.


Tags: , , , ,

Jun 3 2013

Come See Me at CodeStock 2013!

Category: SpecsFor | ASP.NET | MVCMatt @ 14:04

I’m very pleased to announce that I’ll be presenting at CodeStock again this year.  I think this makes 4 years straight (though that seems impossible, I can’t be that old!)  Here’s what I’ll be talking about in Knoxville this year:


Tags: , , , ,

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.


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.


Tags: , ,

May 19 2012

Using SpecsFor.Mvc - Establishing Context with Seed Data

Category: SpecsFor | Testing | ASP.NET | MVCMatt @ 16:11

SpecsFor.Mvc gives you a lot in a single NuGet package.  You get a test web host, a strongly-typed API for navigating around and interacting with your MVC app, and standard hooks for dealing with cross-cutting concerns like authentication, but you also get hooks that you can use to add your own behavior.  In this post, I’ll show you how to use one of those hooks to load seed data into your application to facilitate testing.



Apr 15 2012

Introducing MvcDisplayTemplates

Category: ASP.NET | MVC | SpecsForMatt @ 16:00

Beginning with version 2.0, ASP.NET MVC has shipped with a set of templates for both displaying and editing data.  These templates are buried within the System.Web.Mvc assembly.  While you can override them outright, you cannot easily extend them since they’re locked down.  The new MvcDisplayTemplates NuGet package fixes this problems.



Mar 30 2012

SpecsFor.Mvc 1.1 Released

Category: ASP.NET | MVC | Testing | SpecsForMatt @ 14:25

A new release of SpecsFor.Mvc is now live on NuGet.  This release includes one simple, but important, enhancement as well as a few other minor improvements.