Questions tagged [3-tier]

For issues relating to setting up and utilizing a 3-tier architecture.

3-tier is a software architecture in which the presentation layer, business access layer and data access layer are developed and maintained as independent modules, sometimes on separate platforms.

370 questions
8
votes
2 answers

The type or namespace name 'CrystalReportViewer' does not exist in the namespace 'CrystalDecisions.Web' (are you missing an assembly reference?)

I'm getting the following error on using crystal report in my asp.net 3.5 a3-tier application The type or namespace name 'CrystalReportViewer' does not exist in the namespace 'CrystalDecisions.Web' (are you missing an assembly reference?) the…
Zoya
  • 405
  • 3
  • 10
  • 21
7
votes
3 answers

Difference between MVC controller and business logic (3 tier)

I have been trying to find the different between MVC and 3-tier architecture in ASP.NET. I referred to some previous some previous questions and some pages, but could find a clear answer. Here is a a msdn page about MVC implementation:…
user1240679
  • 6,829
  • 17
  • 60
  • 89
7
votes
3 answers

Architecture for 3-tier application with D7

I have had experience with COM+ technology so far to build 3-tier applications. This is huge and advanced technology which supports many interesting concepts. It just works as it should for the applications which operate on LAN. Now I am planning to…
John
  • 1,834
  • 5
  • 32
  • 60
7
votes
4 answers

Populate Text boxes based on drop down list in 3 tier application

I would like to populate my text boxes with values based on the selection from my drop down list. DAL: public static string GetTicket(collection b) { try { string returnValue = string.Empty; DB = Connect(); DBCommand…
PriceCheaperton
  • 5,071
  • 17
  • 52
  • 94
7
votes
4 answers

How and where to handle exceptions in a 3-tier web application? Specifically Sql Database Exceptions

I'm building the standard 3-tier ASP.NET web application but I'm struggling as to where to do certain things - specifically handling exceptions. I've tried to have a look around on the web for some examples but can't find any which go as far as a…
Nick
  • 401
  • 6
  • 19
7
votes
2 answers

How to implement 3 tiers architecture in c#

I read many articles talk about 3 tiers architecture in c# but i see that: Almost use Bussiness Logic Layer(BLL) as a object mapping corresponding table in database. This BLL object has some methods like these: +GetData(): return…
Trần Minh
  • 1,633
  • 4
  • 15
  • 17
6
votes
4 answers

where to put try/catch in 3 tier architecture

I have a 3 tier based web application. I want to use I am using try catch block in my business logic layer. Is it right to use try/catch block in business logic or I need to use it in my UI layer? see my code for DAL. Data Access Layer #region…
Gaurav
  • 557
  • 4
  • 11
  • 28
6
votes
2 answers

Does "Save" method belong to the Business Domain Entity?

I am not using any ORM. So I am having a debate whether "Save" method actually belongs to a Business Domain entity or should be abstracted in some service that will be handed over the Business Domain Entity for saving ? e.g. class Employee { …
devanalyst
  • 1,348
  • 4
  • 28
  • 55
6
votes
4 answers

Main Difference Between 3-tier & n-tier Architecture in .NET?

I have searched Google to find the main difference between 3-tier and n-tier architecture in .net but I have failed to find it out. Several sites said both are the same in nature and some of the sites said there are differences between them. I want…
immayankmodi
  • 8,210
  • 9
  • 38
  • 55
5
votes
9 answers

3-tiers pattern and large amounts of data

Here is my situation: I am trying to follow as hard as I can the 3-tier pattern (i.e. Presentation, Business and Data layer). When I need data from the DB, the Business layer calls the Data layer which returns the information. The Data layer never…
Martin
  • 39,309
  • 62
  • 192
  • 278
5
votes
5 answers

Linq to Entities - 3-tier Architecture

In the past few months I've learned alot about Linq-To-Entities and the 3-tier architecture with a DAO/DAL/Repository. Now I've a few things in my mind that keeps bugging me. I've those three questions that you'll see below. There are alot of ways…
Julian
  • 1,105
  • 2
  • 26
  • 57
5
votes
2 answers

Is this okay to use UML component diagram for a 3-tier Architecture?

There are so many types of diagrams in UML. I am little confused about which one to use for what. I designed a 3-tier architecture for my web application software using UML Component Diagram. Please see the attached image and tell me if I'm doing…
Tanjil
  • 101
  • 2
  • 14
5
votes
3 answers

Where should connection strings be stored in a n-tier asp.net application

Folks, I have an ASP.NET project which is pretty n-tier, by namespace, but I need to separate into three projects: Data Layer, Middle Tier and Front End. I am doing this because... A) It seems the right thing to do, and B) I am having all sorts of…
bnieland
  • 6,047
  • 4
  • 40
  • 66
5
votes
1 answer

Validation in 3-Tier Architecture

Assume there is an Employee class, one of the business requirements is that the EmployeeName becomes unique. Now using the 3 Tier Architecture, Tier 1 : Presentation Tier 2 : Domain Model + Data Service Classes (Business Logic Layer) Tier 3 : Data…
Sisyphus
  • 900
  • 12
  • 32
5
votes
4 answers

MVC - is it just a 3 tier model?

Just began researching mvc, and am not sure I grasp it yet. From what I gather it seems like an implementation of a 3 tier solution ie Model corresponds to DAL, Controller to business logic layer, and View as Presentation layer. Am I way off base…
fieldingmellish
  • 1,473
  • 3
  • 16
  • 21
1
2
3
24 25