Rinesse
Rinesse

Reputation: 1507

Convert an ASP.NET MVC application into a 3 tiered architecture

Hey guys! I'm using ASP.NET MVC to develop an application for a library with Nhibernate. I've already used Repository and I'll add the Injection dependency. I'd like to know what are the different steps and what should I add to convert my app into a 3-tiered architecture? Thanks a lot for your help :).

Upvotes: 2

Views: 492

Answers (2)

John Farrell
John Farrell

Reputation: 24754

Hate to break it too you, but it looks like you need to re-write almost every controller to use dotnetremoting.

Traditionally "physical" tiers use a separate sever for website, application services and a database. This means you cannot open an nhibernate session on the same tier as your controllers.

Upvotes: 1

eKek0
eKek0

Reputation: 23289

You could read the nerddiner example, or read this blog series posts to give an idea.

Upvotes: 0

Related Questions