Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

what is the difference between three tier and mvc application in asp.net with c#?

How to develop mvc application in asp.net with c#?
please send me the structure and code.

regards,
Purnananda Behera
Posted
Updated 4-Nov-11 20:23pm
v3

 
Share this answer
 
v2
Every Application has one are more of fallowing Layers


1)Presentation Layer or UI Layer
2)Business Layer or Business Logic Layer
3)Data Access Layer or Data Layer

When we compile the project we get the respective DLL



if we deployee all the DLL in our own mechine it is called as 1 tier

if we deployee one DLL in one mechine and the other two in other mechine it is called as 2 tier
it three are in different mechines then it is called as 3 tier


some times we requires more layers of the above type and more mechines then it is called as n tier


MVC means model View Controller web technologies have their own MVC java (jsp) has its MVC like ASp.net Has its MVC ASP.NET MVC Framework it allows software developers to build applications based on fallowing roles Model View Control

Model on which model we wanted to build

View means UI of the Application

Contol Means the logic Which controls the Application
 
Share this answer
 
Comments
purnananda behera 5-Nov-11 1:49am    
Thanks Sir,
If u will explain me with the mvc code then it will be better. Actually i don't have any idea about mvc architecture in asp.net. I have used mvc architecture in java.
Above Answers should help you to understand about Three-Tier Architecture and MVC.

Here is a CodeProject Article to begin with MVC.

Learn MVC (Model view controller) Step by Step in 7 days – Day 1
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900