This article explains how to create and implement a 3-tier architecture for our project in ASP.NET.


What is a Layer?
A layer is a reusable portion of code that performs a specific function.
In the .NET environment, a layer is usually set up as a project that represents this specific function. This specific layer is in charge of working with other layers to perform some specific goal.
Let’s briefly look at the latter situation first.
Data Layer
A DAL contains methods that help the Business Layer to connect the data and perform required actions, whether to return data or to manipulate data (insert, update, delete, and so on).
Business Layer
A BAL contains business logic, validations, or calculations related to the data.
Though a website can talk to the data access layer directly, it usually goes through another layer called the Business Layer. The Business Layer is vital in that it validates the input conditions before calling a method from the data layer. This ensures the data input is correct before proceeding and can often ensure that the outputs are correct as well. This validation of input is called business rules, meaning the rules that the Business Layer uses to make “judgments” about the data.
Presentation Layer
The Presentation Layer contains pages like .aspx or Windows Forms forms where data is presented to the user or input is taken from the user. The ASP.NET website or Windows Forms application (the UI for the project) is called the Presentation Layer. The Presentation Layer is the most important layer simply because it’s the one that everyone sees and uses. Even with a well-structured business and data layer, if the Presentation Layer is designed poorly, this gives the users a poor view of the system.
Advantages of a 3-Tier Architecture
The main characteristic of a Host Architecture is that the application and databases reside on the same host computer, and the user interacts with the host using an unfriendly dumb terminal. This architecture does not support distributed computing (the host applications are unable to connect to a database of a strategically allied partner). Some managers find that developing a host application takes too long and is expensive. These disadvantages consequently led to a Client-Server architecture.
A Client-Server architecture is a 2-tier architecture because the client does not distinguish between a Presentation Layer and a Business Layer. The increasing demands on GUI controls caused difficulty in managing the mixture of source code from a GUI and the Business Logic (Spaghetti Code). Further, the Client Server Architecture does not support enough Change Management. Let us suppose that the government increases the Entertainment tax rate from 4% to 8 %; then, in the Client-Server case, we need to send an update to each client, and they must update synchronously at a specific time; otherwise, we may store invalid or incorrect information.
The Client-Server Architecture is also a burden to network traffic and resources. Let us assume that about five hundred clients are working on a data server. Then, we will have five hundred ODBC connections and several Ruffian record sets that must be transported from the server to the clients (because the Business Layer remains in the client side). The fact that Client-Server does not have any caching facilities like in ASP.NET causes additional traffic in the network. Normally, a server has better hardware than the client, therefore it is able to compute algorithms faster than a client, so this fact is also an additional argument in favor of the 3-Tier Architecture. This categorization of the application makes the function more reusable easily, and it becomes too easy to find the functions that have been written previously. If a programmer wants to make further updates in the application, then he can easily understand the previously written code and can update it easily.
Let's start creating a 3-Tier Architecture Application.
1. Create a new project using "File" -> "New" -> "Project...".

2. In Visual C#, select "Web".
(Select "ASP.NET Web application" and name it’s as ThreeTierApp)

3. How to add the class library to the solution:

After clicking on a new project, you will see the following screen.
- Select "Class Library" from this and name it "BussinessObject".

- Provide the name of the Class library as "BussinessObject".

- Add another Class Library to our project.
(In the same way as you added a BussinessObject.)
- Name the Class library "Bussinesslogic".
- After adding, you will see as in this view.

- Add the last Class Library to our project called "Data Access Layer".
- In the same way, as you added BussinessObject.
- Name the Class Library "DataAccess".

After adding, your solution would look like this:

Now we are done. Add all layers to our project.
You can see the three tiers in the image given below.

Basically, a 3-Tier architecture contains the following 3 layers:
- Application Layer or Presentation Layer (our web form and UI Part)
- Business Logic Layer (Bussinesslogic)
- Data Access Layer (DataAccess)
Here I will explain each layer with a simple example that is a User Registration Form.
Presentation Layer
Here, I have designed a user interface for the Presentation Layer.

Here is the design of "Userregistration.aspx":
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div style="margin: 0px auto; padding-left: 370px; padding-right: 30px;overflow: auto;">
<div>
<table width="50%">
<tr>
<td colspan="2" style="background-color: Green; height: 30px;color: White;" align="center">
User Registration
</td>
</tr>
<tr>
<td> Name </td>
<td>
<asp:TextBox ID="txtname" Width="150px" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Address </td>
<td>
<asp:TextBox ID="txAddress" Width="150px" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td> EmailID </td>
<td>
<asp:TextBox ID="txtEmailid" Width="150px" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td> Mobile Number </td>
<td>
<asp:TextBox ID="txtmobile" Width="150px" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Button ID="BtnSave" runat="server" Width="100px" Text="Save" OnClick="BtnSave_Click" />
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>CREATE table Userinfo
business
id bigint primary key not null identity(1,1),
Name Nvarchar(50),
Address Nvarchar(100),
EmailID Nvarchar(50),
Mobilenumber varchar(10)
)Let's start with a business object first, as in the following:
Delete Class Class1
Create a new class name, "UserBO".

Creating UserBO.cs
Then declare variables in UserBO as in the following:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BussinessObject
{
Public class UserBO // Declare Class Public to Access any where
{
//Declaring User Registration Variables
private string _Name;
private string _Address;
private string _EmailID;
private string _Mobilenumber;
// Get and set values
public string Name
{
get
{
return _Name;
}
set
{
_Name = value;
}
}
public string address
{
get
{
return _Address;
}
set
{
_Address = value;
}
}
public string EmailID
{
get
{
return _EmailID;
}
set
{
_EmailID = value;
}
}
public string Mobilenumber
{
get
{
return _Mobilenumber;
}
set
{
_Mobilenumber = value;
}
}
}
}Now, in the same way as we created UserBO, create a new class, UserDA, in DataAccess.

- In Dataaccess
- We will use this layer for communicating with the database
- All operations (insert, update, delete, and select records) for the database are done in this layer.
Now, in the same way as we created UserDA:
Create New Class UserBL.cs in ( Bussinesslogic )

The main thing TO DO
The main thing to do next is to add the three layers:
- UserBO.cs
- UserBL.cs
- UserDA.cs
But they are not interconnected to each other.
Let's connect them.
DataAccess connections
First, right-click on DataAccess, then:
- Click the "Add Reference" tab
- Select "Project"
- Inside that, you will see all Layer Name
- Select BussinessObject from that and click "Ok"
Bussinesslogic connections
Then right-click on Bussinesslogic:
- Click the "Add Reference" tab
- Select "Project"
- Inside that you will see all the Layer Name.
- Select DataAccess from that and click "Ok"
New rebuild all layers.
Last step
- Right-click on the project and select "Add references"
- Click the "Add Reference" tab
- Select "Project"
- Inside that you will see all Layer Name.
- Select all add thn click "Ok"
Now, build the project.
UserDA.cs (adding Records)

SELECT * FROM Userinfo


Cymon MaxwellPosted Aug 3, 2023, 5:33 PM EDT
I tried running the application but it had build errors. These are specifically to with sqlconnection. Kindly assist
pankaj kalePosted Jun 30, 2021, 9:45 AM EDT
I have to do all step you have been mention in (last step) I am could not add reference of all 3 layers. so how to fix this please help me.
MANUEL PEREZPosted Feb 23, 2021, 10:42 PM EST
In the case of reading a text file, the information must be loaded from the Data Layer?
Nihal LatifPosted Feb 8, 2020, 10:24 PM EST
Hi Sainesh, first of all very good article, I have one question, how can we deploy logic, object and data on three different machines and the actual database on a 4th machine for scalibility, faster performance etc. Thanks.
Premdas VmPosted Nov 2, 2019, 2:40 AM EDT
Hai, Can i use web api and json, on a three tier web application? every tutorial i look for ends up on MVC based ones.
Pritish ShrikhandePosted Nov 15, 2018, 10:21 PM EST
UserBL is not showing in aspx.cs file even after adding "using BusinessLogic" on top.
Vikash VishwakarmaPosted Feb 6, 2018, 12:01 AM EST
I have followed all your guideline but ConfigurationManager is not working in UserDA.cs file and "using BussinessObject" is not accessible in UserBL.cs file. How to over come this problems ?
Jume MiPosted Nov 28, 2017, 10:34 AM EST
Hello. I have one proyect using 3Tier architecture. I would like to know how to publish this in IIS. For a normal ASP web forms I used to copy a folder that included the .aspx files, content, bin and some other files. But wirh 3 tier I am not sure which folder should I copy
Sudhakar RaoPosted Sep 26, 2017, 11:02 AM EDT
Very nice article, thank you bro. Took me less than 10 mins to upgrade to VS 2013, setup and run the project.
Ari FPosted Aug 28, 2017, 8:50 AM EDT
Thank you Saineshwar for what is a genuinely a terrific article. It is extremely valuable in that it presents a simple and concise example that is clean and scalable. As simple as the example is, it presents a much LARGER lesson, and it is serving me extremely well in my career for a solution I am currently developing. It is kinda funny reading some of these comments that miss the entire value of this article. “The definition of genius is taking the complex and making it simple.”" - Albert Einstein
deepu tiwariPosted Aug 21, 2017, 4:21 AM EDT
This is Wrong.. People Don't consider it
Ankita ShilpaPosted Jun 22, 2017, 12:00 AM EDT
BtnSave_Click - what is the code of this click event?
anitha TPosted Jun 5, 2017, 1:19 AM EDT
Its very nice article but if we want to store unique email id's then
Jason CanneyPosted Mar 27, 2017, 12:26 PM EDT
Where does your asp form link to your userBL method?
Anil Kumar MurmuPosted Nov 23, 2016, 4:40 AM EST
Hey, We call an application 3 layer if all the 3 layers are deployed in single server. However, if they are in different physical server then it would be considered as 3 tier. In 3-tier application, your application layer , dataAccess layer and Business layer would in in 3 different servers.
Jai Prakash SaraswatPosted Nov 21, 2016, 3:04 AM EST
Thanks sir. Working Fine.. But.. Can u explain... this is 3 tire or 3 layer... If three layer.. than pl.. tell me what is different b/w 3 layer and 3 tire architecture...
Vithal WadjeTOP 100Posted Nov 19, 2016, 10:22 PM EST
As per my best knowledge this not a 3 tier architecture or may be I am not getting . its typical example of layer architecture so title may be layer architecture instead of tier, Mahesh Chand sir Vidya Vrat Agarwal sir can you explain about this in your next articles .
Ankur VermaPosted Sep 30, 2016, 3:23 AM EDT
Good
Rahul JoshiPosted Sep 8, 2016, 12:56 AM EDT
Amazing Article. Perfect learning solution for the newer student or professional.
VandanaPosted Sep 3, 2016, 2:42 AM EDT
Perfect Article each things defined clearly but one must download the file after doing these things mention above. thank you! Sir
SubashPosted Aug 30, 2016, 8:29 AM EDT
Thanks
SubashPosted Aug 30, 2016, 8:29 AM EDT
How canwe create n tier in windows application
kalu singh raoPosted Jul 6, 2016, 9:39 PM EDT
Nice...
Avinash KesipeddiPosted Jul 3, 2016, 10:41 AM EDT
Thank You Sir, I have tried the above example Many times but every time it is not showing any error but the button "Save" is not performing any Action????
Vikash KumarPosted Jun 7, 2016, 10:00 PM EDT
Yes yes. I have used that
Vikash KumarPosted Jun 7, 2016, 9:19 PM EDT
Hey I got the above error. I am very new to it. Am I missing anything?
Vikash KumarPosted Jun 7, 2016, 8:49 AM EDT
<asp:Button ID="BtnSave" runat="server" Width="100px" Text="Save" OnClick="BtnSave_Click" /> This is the error I get. CS1061: 'ASP.userregistration_aspx' does not contain a definition for 'BtnSave_Click' and no extension method 'BtnSave_Click' accepting a first argument of type 'ASP.userregistration_aspx' could be found (are you missing a using directive or an assembly reference?)
Vikash KumarPosted Jun 6, 2016, 11:29 PM EDT
New rebuild all layers. Last step Right-click on the project and select "Add references" Click the "Add Reference" tab Select "Project" Inside that you will see all Layer Name. Select all add thn click "Ok" Now build the project. If I try to add a reference to Business Object and data access and again, it doesn't allow. I didn't understand this step. Is there something I am missing. And it doesn't recognise BusinessObject Namespace in UserDA.cs thoughI have added BusinessObject refereance.
Thiruppathi RPosted Jun 2, 2016, 10:48 PM EDT
Indepth article for 3tier .thanks..
MASOOD AHMADPosted Mar 6, 2016, 2:02 AM EST
Nice article but i have one question, What is the different between layering(project) and tier.
Anil Kumar MurmuPosted Feb 15, 2016, 8:04 PM EST
nice article
ranjan sawPosted Jan 14, 2016, 11:43 PM EST
it realy helpfull for begener....................
Harsh KumarPosted Jan 8, 2016, 10:34 PM EST
how to display data in a gridview using ur code structure.
Dipak TipalePosted Jan 5, 2016, 9:23 PM EST
useful artical
Harsh KumarPosted Jan 4, 2016, 6:16 AM EST
nice artical.. very usefull
Shiv YadavPosted Nov 29, 2015, 8:25 AM EST
http://asp3tier.blogspot.in/p/aspnet-3-tier-architecture.html
Ajay KadamPosted Nov 28, 2015, 2:40 AM EST
Nice artical sir..Thanks
Sujeet SumanPosted Oct 24, 2015, 7:08 AM EDT
Nice article..............
Ajeet MishraPosted Sep 14, 2015, 10:41 PM EDT
Nice
mayur patelPosted Sep 7, 2015, 7:57 AM EDT
How to implement AJAX usinf WebMethod-Entity in this architecture ?
George TourtsinakisPosted Aug 12, 2015, 2:53 AM EDT
I m new to .net programming and accidentally dropped in an article about 3 tiers when creating an asp.net.I understood clearly with your explanation and great names you give in your project.Thank you for sharing.
Raju KingPosted Aug 5, 2015, 7:53 PM EDT
WHERE IS THE BUTTON CLICK CODE
nitin malikPosted Jul 23, 2015, 3:56 AM EDT
and also getting error in Register public int SaveRegisterBAL(Register? objRegisterBAL)
nitin malikPosted Jul 23, 2015, 3:51 AM EDT
Can u please teel me i need to be write page behind code of my aspx file in that 3 tyre arch..
Upendra Pratap ShahiPosted Jun 8, 2015, 3:32 AM EDT
nice...
Shubham JainPosted May 4, 2015, 1:33 AM EDT
sprocUserinfoInsertUpdateSingleItem and will u please elobrate the sp as well
Shubham JainPosted May 4, 2015, 1:28 AM EDT
Very Good Solution can we implement the same with angular.js
shyam sunderPosted May 1, 2015, 11:01 AM EDT
good aritcle
Saineshwar BageriPosted Apr 21, 2015, 10:31 PM EDT
Its your .aspx page
jaya prakashPosted Apr 21, 2015, 9:49 PM EDT
where to write presentation layer code(html)
deepthi sandhyaPosted Apr 20, 2015, 9:05 PM EDT
Issue Solved Thank you
deepthi sandhyaPosted Apr 20, 2015, 5:23 AM EDT
Showing error not all code paths return a value how to do solve it..
Saineshwar BageriPosted Apr 20, 2015, 5:10 AM EDT
then whats problem Deepthi
deepthi sandhyaPosted Apr 20, 2015, 2:50 AM EDT
Presentation layer public void BindLeaveList() { DataTable dt = Logic.GetLeavelist(Session["Username"].ToString(), Session["UserAcess"].ToString()); drpdwnLeavetype.DataSource = dt; drpdwnLeavetype.DataValueField = "id"; drpdwnLeavetype.DataTextField = "Leavename"; drpdwnLeavetype.DataBind(); drpdwnLeavetype.Items.Insert(0, new System.Web.UI.WebControls.ListItem("Select", "0")); }
deepthi sandhyaPosted Apr 20, 2015, 2:48 AM EDT
Bussiness logic public DataTable GetProjectNamesList(string strUserName, string strUserAccess) { try { DataTable dsProj = new DataTable(); dsProj = da.Get_ProjectNamesList(strUserName, strUserAccess, ); } catch (Exception ex) { throw ex; }
deepthi sandhyaPosted Apr 20, 2015, 2:47 AM EDT
Data Access Layer public DataTable Get_ProjectNamesList(string strUserName, string strUserAccess,DBManager db) { try { string strProj = string.Empty; if (strUserAccess == "2") strProj = "Select Id,projectname from tb_Projects where Isdelete = 0 and Isarkive=0 and clientname='" + strUserName + "' order by 'projectname' "; else strProj = "Select Id,projectname from tb_Project where Isdelete = 0 and Isarkive=0 order by 'projectname'"; DataSet dsProj = db.ExecuteDataSet(CommandType.Text, strProj); return dsProj.Tables[0]; } catch (Exception ex) { throw ex; } }
deepthi sandhyaPosted Apr 20, 2015, 2:46 AM EDT
I did everything can below is my code ..let me know
deepthi sandhyaPosted Apr 20, 2015, 2:21 AM EDT
Hi how to bind data into dropdown in 3 tier archieture. Using select statement I am unable to get data..Can you please let me know
Mitali PattanayakPosted Apr 17, 2015, 2:18 AM EDT
Well explained as required. Excellent job done !! Thank you !!
Dheeraj PandeyPosted Apr 12, 2015, 5:28 AM EDT
This Article is very simple and easy for me, Today my doubt have cleared about 3 tire architecture ...... thanks sir
Priya BhoslePosted Mar 24, 2015, 10:44 AM EDT
very helpful to clear concept and actual work.....Thanks...
Saineshwar BageriPosted Mar 2, 2015, 8:59 PM EST
follow steps as i have written you will get
Muhammad RizwanuddinPosted Mar 2, 2015, 8:17 PM EST
yes sir pls help
Saineshwar BageriPosted Feb 27, 2015, 12:32 AM EST
Muhammad Rizwanuddin sir are u fresher in this technology
Muhammad RizwanuddinPosted Feb 27, 2015, 12:29 AM EST
sir i don't understand
Abrar KaziPosted Feb 24, 2015, 9:55 PM EST
What is the code at button click
Pramod NairPosted Feb 18, 2015, 7:34 PM EST
Very Nicely explained, excellent article
Saineshwar BageriPosted Jan 17, 2015, 6:22 PM EST
thanks Md. Raskinur Rashid sir
Md. Raskinur RashidPosted Jan 17, 2015, 6:34 AM EST
very good presentation. i will share it everyone those who want to learn N-tier architecture
Santosh bindPosted Dec 18, 2014, 8:05 PM EST
hi it is very simple and nice article everyone can understand easily this is achieve by your better effort and hardworking thanks a lot of
venkatesan kPosted Nov 17, 2014, 8:34 PM EST
very helpfull for me
Ramoo PrajapatiPosted Nov 17, 2014, 8:05 PM EST
Very easy article.! Thanks You.!
Saineshwar BageriPosted Oct 10, 2014, 12:59 AM EDT
hirachand here is link :- http://www.visualstudio.com/en-us/downloads#d-professional
hirachand mudhalePosted Oct 9, 2014, 11:26 PM EDT
please anyone give me a visual studio 2013 setup link
Amit SinghPosted Oct 9, 2014, 1:53 AM EDT
how to write 3 tier insert code in gridview please help me
shimith vkPosted Oct 6, 2014, 3:27 AM EDT
its very good article .. thank u
Marc McElrathPosted Sep 18, 2014, 9:02 AM EDT
Thank you for your response. I am very well aware of the differences between a 3-tier architecture and the MVC design methodology. It is good you pointed this out since some people think that MVC is an architecture. My question was: "Can you use an implementation like this to to implement a 3-tier architecture using MVC?" for instance maybe the Presentation layer is the VC part of MVC and then there is some way to implement the Business Logic and Database Layers by re-configuring the existing Controller and Model so that the Controller becomes thin and the BL becomes fat. and then speaks with the Model layer of the 3-tier architecture. I ask this question since I have seen a lot of talk about it but not yet have I found an example of it's implementation. I have not yet checked the link you posted but I wanted to clarify that there was no confusion in the differences between MVC and 3-tier.
Saineshwar BageriPosted Sep 17, 2014, 8:26 PM EDT
you can add DAL to Project and Work with it http://tutoriz.com/Thread-CREATE-3-TIER-ARCHITECTURE-IN-ASP-NET-MVC-DAL-BLL-Part-1-3
Saineshwar BageriPosted Sep 17, 2014, 8:25 PM EDT
MVC and 3-tier architecture are different things all together. If they were the same, then anybody with a 3 tier architecture would by definition have implemented MVC. Since that would be a false statement, we can safely say that they are not the same thing. MVC has specific architectural patterns as to how the tiers interact that differ from a straight 3 tier architecture.
Marc McElrathPosted Sep 17, 2014, 9:22 AM EDT
Can this implementation be applied to a MVC 5 project? I would like to convert my existing VS 2013 MVC 5 project to a 3-tier architecture, but this example is in VS 2012 for a regular web application.
Saineshwar BageriPosted Sep 13, 2014, 5:06 AM EDT
download code you will get Purvesh Sangani sir
Purvesh SanganiPosted Sep 13, 2014, 12:50 AM EDT
hello Mr. Saineshwar please can you show button code.
Prashant PandePosted Sep 12, 2014, 11:15 PM EDT
Nice Article
ankush agnihotriPosted Sep 8, 2014, 9:34 AM EDT
hello sir,
Shreya SoniPosted Aug 24, 2014, 8:51 PM EDT
I am looking for code to inserting data in to multiple table of database from same insert method in data access class using hash table.. Can u plz help me.?
Shreya SoniPosted Aug 21, 2014, 8:13 PM EDT
Its really very useful. Thank u..
MkPosted Jul 10, 2014, 11:32 PM EDT
thanks so much.This gives a good start for beginners...:) cool
Saineshwar BageriPosted Jul 10, 2014, 4:20 AM EDT
there is code and stored procedure for it just download sample application which i have provided mk sir
MkPosted Jul 10, 2014, 4:11 AM EDT
There is no code for stored procedure and Save button...
Harshal ThakrePosted Jun 10, 2014, 5:23 AM EDT
thanks
Markandeshwar JhaPosted Jun 4, 2014, 4:05 AM EDT
Nice Article and good work.
kalai vananPosted Jun 3, 2014, 10:31 PM EDT
when i inter connect each layer i getting this error A refrence to Buusinesslogic could not be added , Adding this project as a reference would cause a circular dependency
Khan Abrar AhmedPosted May 28, 2014, 6:10 AM EDT
Good Project sir,
Saineshwar BageriPosted May 1, 2014, 9:18 PM EDT
One datatype issue in Store PROCEDURE [sprocUserinfoInsertUpdateSingleItem] ,@EmailID nvarchar=NULL make it @EmailID nvarchar (50)
DERRICK WASHINGTONPosted Apr 25, 2014, 7:25 AM EDT
Good project, but missed explaing about the code behind for the UI (Userregistration.aspx page)
Saineshwar BageriPosted Mar 25, 2014, 12:04 AM EDT
if you download sample in that i have done it please check.
Anshul RPosted Mar 24, 2014, 11:45 PM EDT
Yes, i got that point. But to make the code work, dont we need to incorporate the above mentioned points 1 & 2 in the code sample? Thanx in advance
Saineshwar BageriPosted Mar 24, 2014, 7:55 PM EDT
1)We need to pass all values of controls to Business object 2) And then send Business object to Business logic layer after this it will be connected to DataAccess class. if you got then Please Reply me sir.
Anshul RPosted Mar 24, 2014, 11:41 AM EDT
1) I think we need to add a reference of Business object in the Business logic, 2)Configuration Manager(for database connection has to referenced in each of the individual projects ,otherwise it's not accessible through Intellisense), 3) We need to create objects of Business object and Business logic in the Presentation layer(Default.aspx) so as to pass the values from the controls to the properties and then to the Business Logic.
Sapna KansayPosted Mar 10, 2014, 8:03 AM EDT
Thank You really made my job easy :)
manav sharmaPosted Jan 21, 2014, 11:56 AM EST
Good Work. Thanks for such a good article.
Saineshwar BageriPosted Jan 7, 2014, 6:49 PM EST
sorry i had not dispose and closed things please do it to save memory leaks 1) ObjBO.Dispose(); 2) con.close();
Saineshwar BageriPosted Jan 6, 2014, 6:51 AM EST
hey friends are there for u http://dotnet-sai.blogspot.in/
Sujit JhaPosted Jan 6, 2014, 1:11 AM EST
Very useful Articles...Thanks Saineshwar Sir
Saineshwar BageriPosted Jan 2, 2014, 8:01 PM EST
Raseeth A now sql script is avaiable
Saineshwar BageriPosted Jan 2, 2014, 6:22 PM EST
Raseeth A sorry to tell u i have submit my script with code but they have not posted i will give u on 4/1/2014
Raseeth APosted Jan 2, 2014, 4:43 AM EST
where is the Store Procedure for Insert (sprocUserinfoInsertUpdateSingleItem)
Saineshwar BageriPosted Dec 30, 2013, 6:19 PM EST
Thanks Sam Hobbs sir
Sam HobbsPosted Dec 30, 2013, 1:43 PM EST
Thank you for providing a simple explanation of a complex and useful topic. I think this will help many people. Note however that it helps to be careful about the historical perspectives when they are provided. I want to say that in truth, the reason for the old-fashion Host Architecture was that at the time of its use (with Dumb Terminals) smart terminals were very expensive. Yes dumb terminals were unfriendly but smart terminals were very unfriendly to the managers that had to justify the huge cost. Note also that it is absolutely not true that a Host Architecture was not capable of distributed databases. Distributed databases existed long before Microsoft and the internet existed.
Mahesh ChandTOP 10Posted Dec 30, 2013, 4:42 AM EST
You're welcome Saineshwar.
Saineshwar BageriPosted Dec 29, 2013, 8:27 PM EST
thanks sir
Mahesh ChandTOP 10Posted Dec 29, 2013, 8:16 PM EST
Nicely explained Saineshwar. Love the second diagram. A tier usually means a separate hardware layer. So 3-tier means your UI (website) can be hosted on a Web Server, Business layer can be hosted on a different server that is doing lot of business processing and your database layer (SQL Server for example) is hosted on a different server.