.Net, Development Asp.Net Mvc, Fluent NHibernate, Nehemiah Project, NHibernate, Ninject, TeamCity
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!
.Net, Development Asp.Net Mvc, Fluent NHibernate, Nehemiah Project, NHibernate
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.
.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