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 :).
A:
eKek0
2010-05-24 17:38:34
I've done those Steps and I've create my application but I need to deployed it in 3 machines and respect the 3-tiered architecture. I don't know how to do that and if there are rules and codes to add. thank you :)
Rinesse
2010-05-24 17:43:08
+1
A:
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.
jfar
2010-05-24 18:28:28
I'd think so. Every database call has to go through a service layer. That a lot of separate methods to make as well as refactoring your controllers to use it.
jfar
2010-05-24 21:14:28