May 05
Eric.Net, Development Asp.Net Mvc, Nehemiah Project
In this installment we’ll add the specifications and the skeleton code for a custom role provider. Start by adding a class file to the Providers folder in the Nehemiah.Specs folder. Give the file a name of RoleProviderSpecs.cs.
Here is our skeleton custom role provider. Just like the membership provider, these specs will be expanded upon in the next post about the custom role provider. More
May 03
Eric.Net, Development Asp.Net Mvc, Nehemiah Project
This post will be more code than explanation. As will the next two posts. I want to get an outline of the code necessary to build our own custom membership, role, and profile providers. Once we have the outline, then we’ll expand our specifications, write our code, and we’ll probably need to add Ninject into the mix during this and the next five or six posts. More
Apr 19
Eric.Net, Development Asp.Net Mvc, MSpec, Nehemiah Project
Summary
In this post we’ll finish converting the auto-generated tests to MSpec specification.
Automate Running MSpec

If you wish to automate the running of the MSpec tool, open the properties to the Nehemiah.Specs project. Add the line below to the “Post-build event command line:” field. Now when Nehemiah.Specs builds successfully, MSpec will run automatically.
C:\_CodeVault\MSpec\mspec.exe $(TargetName)$(TargetExt) –html “$(ProjectDir)Report.html” More
Apr 12
Eric.Net, Development Asp.Net Mvc, BDD, MSpec, Nehemiah Project, TD.Net, TeamCity
This post will cover installing TestDriven.Net (TD.Net), NUnit, and Machine.Specifications (MSpec). There are plenty of resources on the internet for installing all of these applications. I don’t want to duplicate the content of those posts, but I am including this post for completeness.
If you read any of the Behavior Driven Development posts on the net you’ll read where the tests should be written first. Since the MVC2 project auto-generates the code with a handful of tests, we’ll convert them to MSPec specificatoins now so we don’t get behind on writing our spec.
If you have been following this series, you’ll wonder if you missed any steps after installing these three applications. The install process is so simple and straight forward there is no need for any screen shots. More
Apr 05
Eric.Net, Development Asp.Net Mvc, Nehemiah Project, TeamCity
In this post we’ll setup TeamCity to do automated builds. So the first thing we need to do is download the latest install of TeamCity from JetBrains. Since we installed version 2 of VisualSVN you’ll want the EAP version of TeamCity, which can be downloaded from here, http://confluence.jetbrains.net/display/TW/Download+Latest. During the install and setup we’ll download three additional applications, all from within TeamCity.
At the time of the article the current version of TeamCity EAP is 5.1. So download the setup and install it. I won’t show all the screen shots from the installation process in this post, as there are certainly more than necessary. Most of them, however, will be included.
More
Mar 29
Eric.Net, Development AnkhSVN, Asp.Net Mvc, Nehemiah Project, Subversion, TortoiseSVN, VisualSVN, WinMerge
In this posting we will cover the steps necessary to install Subversion along with support applications and then add our project to source control.
There are numerous posts on the internet for installing Subversion and its usage. I know they have helped me get everything configured and installed. If I could remember them all I would reference them in the article, but alas, I cannot remember. Also, I don’t remember any that tied all of these steps together. If they did or do exist, I did not stumble across them. More
Mar 22
Eric.Net, Development Asp.Net Mvc, Fluent NHibernate, jQuery, Nehemiah Project, NHibernate, Ninject, Subversion, TeamCity
In this series of blog posts I will attempt to document all my efforts, from start to finish, for building a reusable Asp.Net Mvc2 Application Template. My goal in this endeavor is to establish a Visual Studio application template that can be easily used upon request and uses best practices and technologies. More
Newer Entries
Recent Comments