Click here to Skip to main content
13,054,329 members (118,292 online)
Rate this:
Please Sign up or sign in to vote.
See more:
help needed in this with coding please.
Posted 23-May-12 2:33am
Mark Nischalke 23-May-12 8:42am
What help do you need?
eyecondeveloper 30-Aug-13 8:32am
well it is too late to reply but thanks anyways i solved it.
Rate this: bad
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.
eyecondeveloper 11-Sep-13 1:40am
thanks sandeep
Sandeep Mewara 11-Sep-13 9:44am
Rate this: bad
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
eyecondeveloper 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
Top Experts
Last 24hrsThis month

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