Building a MVC2 Template, Part 19, Finishing NHibernate

5 Comments

This post will be fairly short. It will also tie together the two previous posts into our solution. If I haven’t left anything out, by the end of this article your solution will compile without errors and all the specifications will pass testing. We’ll start by creating the tables to hold our data. In part 18 we created the mapping from the tables we are going to create  to our POCOs. Then we’ll need to tell Ninject which provider repository to inject whenever one is requested.

So lets get started!

More

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Building a MVC2 Template, Part 4, BDD with MSpec

1 Comment

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

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Building a MVC2 Template, Part 3, Automated Builds

No Comments

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

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Building a MVC2 Template, Part 1, Introduction

6 Comments

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

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)