Apr 17 2014

A Better Way to Configure AutoMapper for ASP.NET MVC (Video)

Category: ASP.NET | MVCMatt @ 07:04

AutoMapper is one of the essential tools in my ASP.NET MVC toolbelt.  I use it on every MVC project I do.  It's saved me countless lines of code over the years.  And yet, there's always been one thing that bugged me about it: it violates the idea of "common closure."  I've built a better way to handle this, but as my friends have accused reminded me, I might have forgotten to share this approach publicly.  Until now.

More...

Tags: , , ,

Apr 11 2014

SpecsFor and SpecsFor.Mvc Roadmap

Category: SpecsForMatt @ 06:51

Today, I took the first steps in laying out a roadmap for future work on both SpecsFor and SpecsFor.Mvc. 

More...

Tags: ,

Apr 8 2014

Making TransactionScope Work with async/await in .NET 4.5

Category: EntityFramework | SpecsForMatt @ 22:56

I ran into a frustrating little problem today.  I'm getting started with Entity Framework 6 and its async features on a new project, and my SpecsFor integration tests were bombing out unexpectedly.  In turns out the problem was caused by TransactionScope and async work together out of the box.  Or rather, how they don't work together.

More...

Tags: , , ,

Mar 28 2014

Source Code for “Build Your Own Application Framework” Course Online

Category: Fail TrackerMatt @ 07:45

If you do a quick Google for Fail Tracker, the sample project I used in my Pluralsight course, you will end up at a Github project page for Fail Tracker that I set up back in 2011.  That’s when I first used “Fail Tracker” in a demo (at CodeStock!), and until today, it has hosted only the very old, obsolete version of this application.  I corrected that problem a few moments ago, so the project page now contains the same version of the application that I used in my Pluralsight course.  Enjoy!

Tags: , ,

Mar 28 2014

Looking For Help with SpecsFor!

Category: SpecsForMatt @ 03:31

With all the things I’ve got going on these days, it’s tough for me to devote time to SpecsFor and SpecsFor.Mvc.  There’s a ton of things to do.  Aside from the periodic bug reports, there are new features I’d love to implement.  There’s also the woefully inadequate documentation that needs some love.  I need some help.  Any help.  If you’re interested in contributing at any level, please ping me.  Specifically, here are the needs I see right now:

  • More cooks in the kitchen. Right now, most of what is in SpecsFor and SpecsFor.Mvc are things I’ve come up with to address pain points I’ve encountered over the years.  I need others that are passionate about testing to help steer things in the right direction.
  • Documentation.  It’s not exciting, but documentation can make or break a project.  I’d like both SpecsFor and SpecsFor.Mvc to have solid docs.
  • Handling pull requests.  It’s taking me way, way too long to get around to processing pull requests. 
  • New features. I’ve got some ideas on where I want to take both projects going forward, but I don’t have enough time (or motivation) to focus on it alone. 

I’m sure there are other areas where someone could contribute, too.  So if you’re interested at all in helping, please let me know!

Tags: ,

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: ,

Feb 12 2014

Git Tips & Tricks, Part 9–Find That Bug with Bisect!

Category: gitMatt @ 08:58

Have you ever found a bug in your application, but been unable to find exactly *where* that bug was in your code?  Without this important bit of knowledge, it’s difficult to properly shame the developer that introduced the bug fix the bug.  It can be a bit like finding a needle in a haystack.   In this post, I’ll show you how to significantly shrink the size of the haystack and find bugs more quickly by using ‘git bisect.’

More...

Tags:

Jan 12 2014

SpecsFor.Mvc 3.0.0 Final Released

Category: SpecsForMatt @ 13:46

I just published the final version of SpecsFor.Mvc 3.0.0.  As I mentioned previously, this update adds support for MVC 5.0, drops the dependency on MVCContrib and Rhino Mocks, and includes a handful of other fixes.  Next on the SpecsFor.Mvc agenda is improving the initial setup experience and eliminating pain around lingering IIS Express and Selenium processes.  In the meantime, please let me know if you run into any problems with SpecsFor.Mvc via the Github project page.

Tags: , , ,

Jan 8 2014

SpecsFor 3.1.0 Released

Category: SpecsForMatt @ 14:37

I shipped a small update to SpecsFor yesterday.  This update exposes the underlying mocking container to behaviors that are registered using the compositional context API.

More...

Tags:

Jan 4 2014

SpecsFor.Mvc 3.0.0 Preview 5–Now Compatible with ASP.NET MVC 5!

Category: SpecsForMatt @ 09:02

There’s a new preview release of SpecsFor.Mvc available on NuGet now.  There are a lot of changes in this release, and there are some unavoidable, manual steps you will need to take.  If no one encounters any major pain points due to this upgrade, I’ll publish the final package next week.

More...

Tags: ,