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 17, Adding Provider Repository Specifications

2 Comments

In the next three series of posts we will be adding NHibernate, Fluent NHibernate, and NHibernate.Linq to our template. This specific installment on building a MVC2 template we will update the Nehemiah.Specs project. This project contains all of the specifications for the template. We’ll add the specifications for the provider repository. The provider repository is the data layer that supports our membership, role, and profile providers. The specifications are not unique to any data layer implementation. As such you could easily switch out the NHibernate provider repository to a LinqToSQL repository (which I have already done) without changing the specifications.

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)