Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 4-Nov-11 20:11pm
Edited 4-Nov-11 21:23pm
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Comments
purnananda behera at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

  Permalink  

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

  Print Answers RSS
0 Suvendu Shekhar Giri 265
1 Sergey Alexandrovich Kryukov 235
2 Andy Lanng 185
3 PIEBALDconsult 180
4 Black_Rose 130
0 Sergey Alexandrovich Kryukov 6,360
1 OriginalGriff 5,878
2 Peter Leow 2,514
3 Maciej Los 2,263
4 Abhinav S 2,249


Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 5 Nov 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100