Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: N-Tier
help needed in this with coding please.
Posted 23-May-12 3:33am
Comments
Mark Nischalke at 23-May-12 8:42am
   
What help do you need?
eyecondeveloper at 30-Aug-13 8:32am
   
well it is too late to reply but thanks anyways i solved it.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

To understand about n-tier, read about 3 tier here and see how it works:
Create a class library - BusinessLogic (2nd layer)
Create a class library - DataAccess (3rd layer)
 
Now, from your UI (1st layer), use the object model and pass on to BusinessLogic project class. This class is a Business logic class. Do the changes as per your need here.
Now, pass on the changed data from business logic class to dataAccess project class. In this class, use ADO.NET and pass on the needed values to Stored Procedure.
 
For getting back data, it will be transferred from DA to BL and then BL to UI layer.
Have a look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]
3-Tier Architecture in ASP.NET with C#[^]
 
Now you can put as many layers in between UI & DB layer to increase it from 3-tier to n-tier as per your need.
  Permalink  
Comments
eyecondeveloper at 11-Sep-13 1:40am
   
thanks sandeep
Sandeep Mewara at 11-Sep-13 9:44am
   
Welcome.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Here are two application developed using n-tier architecture
 
YaBlogEngine - A Tiny Blog Engine written in ASP.NET/C#[^]
 
YaMessaging - A simple e-mail like messaging application[^]
 
The first one will even explain about the n-tier architecture and how it is designed and developed that way
  Permalink  
Comments
eyecondeveloper at 11-Sep-13 1:38am
   
thanks rahul

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

  Print Answers RSS
0 Maciej Los 434
1 ridoy 368
2 DamithSL 270
3 OriginalGriff 159
4 Suvendu Shekhar Giri 150
0 OriginalGriff 7,968
1 DamithSL 6,179
2 Sergey Alexandrovich Kryukov 5,524
3 Maciej Los 5,438
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 23 May 2012
Copyright © CodeProject, 1999-2014
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