Hi,
We are re architecting our internal ERP system in VS2010. At present we decided to use 100% browser based applications (Intranet). Here is my current setup
Here are my n-layers
1. Database (SQL 2008)
2. ORM (EF 4)
3. Repository pattern (Generic)
4. Service Layer (All business logic here)
5. Presentation layer (MVC)
Based on above I have 2 option for physical tier setup (n- tier)
.
Option A
1. Database Server (Just a store SQL 2008)
2. IIS 7 Server (Domain + MVC) which is (MVC > Service Layer > Repository > ORM)
3. Client Browser
Option B
1. Database Server (Just a store SQL 2008)
2. IIS 7 Server (MVC Just presentation logics)
3. IIS 7 WCF Server (Model) which is (Web Service > Service Layer > Repository > ORM)
4. Client (Browser, Blackberry etc)
In OPTION-A MVC communicate in the same tier (IIS 7) to get database info. Basically no WCF, were as in OPTION-B MVC communicate with WCF Web Service (which is in another tier) to get database info.
Performance, Extensibility and Security wise which option is more appropriate in the above scenario?
Thanks
Achu.