C# - N - Tier Architecture Approach - Web Application Clearing Confusion

Aug 14, 2010

Well i want to know how many architecture approaches we can use in asp.net web application. i was asked about it. i told him that i use a appcode for dal and bal and the presentation layer. but he was not convince. basically i want to ask what web application architecture an asp.net web application guru would use keeping in mind the different metrics ( i am talking minus web services or any SOA thing)

View 1 Replies


Similar Messages:

Architecture :: Handle Transactions In 3 Tier Web Application?

Jul 2, 2010

I' am trying to write a aplication using a 3 Tier Model

Data Access Layer <--> Business Logic Layer <--> Presentation Layer

But now i am facing a problem, i need to Handle Transactions i already found a interesting article

[URL] but i have some doubts.

For example when i need to iterate to a Grid in the presentation Layer how will i Use the Transactions??

[Code]....

View 2 Replies

Architecture :: Connect Different Server In 3 - Tier Application?

Nov 1, 2010

I want to develop a three tier architecture app.I have no idea when weplace our BLL and DLL code in different server how to connecct this BLL and DLL code to our Website(UI).

View 4 Replies

Architecture :: Data Validation In A 3 Tier Application?

Aug 31, 2010

Say you have a form designed in Silverlight(Front end)-Asp.NEt(business layer)-SQl(bakcend)Should data validation occur on all 3 layers or just the presentation layer or a combination of the front end with the other 2 e.g. validating an email address? I'm trying to undestand as to why if data has been validated on the presentation why further data validation would be necessary especially if there would be large amounts of data being validated and this could potentially slow down database transactions?

View 4 Replies

Web Application Architecture Performance In Single And Many Assemblies One For Each Tier

Aug 2, 2010

I'm building a new n-tier web application and I would like to know the performance differences between developing my tiers in one single assembly (each tier with its own namespace) or into different assemblies, one for each tier.

View 1 Replies

VS 2010 N-tier Approach - Saving SQL Connection

Sep 29, 2010

What is the most correct way to save your connection string when using the n-tier approach ? Right now I have two windows app and one web app using my DLL library, what I'm currently doing is to create a static
method inside my dal "GLOBALDAL"
inside I'm making this check:

Code:
if (System.Web.HttpContext.Current != null) ...
if httpContext.Current is null
That's mean that one of my windows applications doing the request, if so I get the CN from a file otherwise it's mean its the website knocking on my door so I get the CN from:
Code: System.Web.HttpContext.Current.Application["ConnectionString"]
I am thinking of changing it all and just set properly in my DA layer that expose the CN as a string. But I fear of security issues. So what is the correct way?

View 21 Replies

Architecture :: Entity Model Design Framework And N - Tier Architecture

Dec 25, 2010

recently i've studied on ADO.NET's Entity Model Framework and say 'wow' as ORM is one of the fevourite pattern i practice..but suddenly i've come to an ambiguous situation when i'm going to start. i usually follow the following 3-tier architecture..

1. UI Layer
2. BLL - business logic layer
3. DAL - Data Access Layer
a. DTO / DAO
b. Gateway (contains the sql query/stored procedure and connection with DB)

now when i'm going to use the Entity Model Design,where the DBML/ .edmx File should be placed? Because many a times i'm using the DBML file as DTO because of the mapped objects.. in the same time, sometimes DBML ( .edmx file in .NET 4.0) contains CRUD methods and stored procedured method as well as methods with different selection operations,- which should be in Gateway. so where the .edmx file should be placed !?!! IN DTO namespace !? or in Gateway namespace!

moreover sometimes there is no need for the BLL which breaks the rules of inter-layer-communication (UI > BLL > DAL.Gateway)! what makes me confuse is, what should be the ideal n-tier architecture when i'll use the ADO.NET Entity Model Design Framework

View 4 Replies

Architecture :: Asynchronous Page Processing In 3 Tier Architecture?

Jul 30, 2010

I am working on 3 tier architecture: UI, BL, DAL. In my UI i have following code for Asynchronous page processing:

[Code]....

But I want a database fetch operation to be performed in this asyncronous method. And due to 3 tier arch. i am unable to do this in UI Layer. Can anyone guide me that how can I implement Asynchronous processing in 3 tier architecture? Note: If you are going to place EndAsyncWork1 in DAL then show that how can I return a value back to UI layer from this function.

[Code]....

View 1 Replies

Architecture :: What Is The Difference In 3-tier Architecture And Gereral Way Of Programming

May 20, 2010

I want to know that What are the factors if we use methods on each .cs page for connection and executing query on each aspx code behind page rather then using BAL .

How our application get affected in terms of performance and speed or other way?

when we put our website on server after publish/compile in general approach (using query in C# code behind) rathor than using stored procedures?

then which logic is better and why ?

View 8 Replies

Architecture :: Function Implementation In 3-tier Architecture?

Apr 28, 2010

I have implemented the 3-tier architecture project; DAL, BAL, and presentation layer are three layers in it. I am going to implement the following scenario:

Presentation layer calls to a function in the BAL layer which returns 2 string variable, and in turn this function from BAL layer calls to a DAL layer function which also returns 2 string variable. How can I implement the above scenario?

View 2 Replies

Architecture :: Exception Layer In N-tier Architecture?

May 13, 2010

I'm developing a n-tier architecture... I'm confused with handling exception in the layers... Is it a good practise to add a Exception Layer to the architecture.

View 3 Replies

Architecture :: Design Pattern And Tier Architecture

Jun 12, 2010

I am a newbie to asp.net and work in a firm where the projects are quite small.

I was told by my manager that in a few weeks or so we would be getting a bigger project and I need to be well versed with Design Patterns and N tier arcihtecture.

I would really appreciate if someone could provide me some links and also drop me a few sentences on how this things are useful?

View 4 Replies

Architecture :: Trying To Use A 3-tier Architecture (UI, BAL & DAL) For Project?

Nov 30, 2010

I am trying to use a 3-tier architecture (UI, BAL & DAL) for my project. I have each of the tier in different physical machines.

UI - Machine 1
BAL - Machine 2
DAL - Machine 3
How can DAL & BAL interact? What would be the best way to call one component from another?

View 9 Replies

Architecture :: How To Create 3 Tier Architecture

Mar 29, 2011

I was tasked to create 3 tier web application. However, i browsed through many books & tutorials. The examples are doing it using Object data source which my lecturers claimed that it is not 3 tier at all. Shouldn't be dragging any data source into deisgn view. Any comprehensive examples for me to take reference from?

View 4 Replies

Architecture :: How To Develop An App Using 3 Tier Architecture

Aug 18, 2010

i want to develop an application in asp.net using 3 tier architecture .

i know that there are three layers

Data layerBusiness Layer

Data Access LayerBusiness Logic Layer Presentation Layer. I am confused between Data Access Layer and Business Logic Layer.

In data access layer we develop the property classes and main class function which returns datasets, datatables and data reader to Presentation layer.

what is the use of Business Logic Layer ? what actually we do in Business logic Layer
?? we can pass data directly from data access layer to presentation layer ?

View 6 Replies

Architecture :: Namespace 3 Tier Architecture?

Feb 5, 2010

i am in the process of creating 3 tier architecture for ASP.net with Microsoft Studio 2005.

My architerture is as below

Presentation Layer Business Logic Layer Data Access Layer


-------------------------- --------------------------- -------------------------------

Form1 BLTable1 DaTable1
(NameSpace = MyCompany.MyProject.BL. BLTable1) (NameSpace = MyCompany.MyProject.DA. DaTable1)
Form2 BLTable2 DaTable2
(NameSpace = MyCompany.MyProject.BL. BLTable2) (NameSpace =
MyCompany.MyProject.DA. DaTable2)
Form3 BLTable3 DaTable3
(NameSpace = MyCompany.MyProject.BL. BLTable3) (NameSpace = MyCompany.MyProject.DA. DaTable3)

I have 2 question here:

(1).MSDN say that we should not have the namespace where its name is same with class name but it does not exlpain why.Does anyone know why? The msdn page is
http://msdn.microsoft.com/en-us/library/893ke618%28VS.71%29.aspx

(2). Business Logic Layer BLTable1 need to interact with Data Access Layer
DaTable1 , so i put the code: imports MyCompany.MyProject.DA. DaTable1 inside
BLTable1, so that i can have access to all the public shared method inside
DaTable1 in BLTable1 for example : DaTable1.Save()

But problem arise when BLTable1 want to use the public shared method in BLTable2 .

I have put the code imports MyCompany.MyProject.BL. BLTable2 inside BLTable1,but i need to
key in the class name twice only can access to the public shared method inside
BLTable2 for example :BLTable2.BLTable2.Save.

View 1 Replies

Architecture :: How To Create 3-tier Architecture

Sep 16, 2010

structure of 3-tier architrcture

View 7 Replies

Architecture :: Implement N-tier Architecture?

Feb 19, 2011

some link of some articles for learning N-tier architecture ....

View 5 Replies

Best Architecture/Technology Approach In C#

Dec 14, 2010

I was planning to utilize MVP, DDD, TDD, IOC, Dependency Injection, Repository , StructureMap etc but the timeframe is very tight and this can also be achieved in n -tiered architecture:

Technology:

Client Web Portal

ASP.Net /C#/SQL Server

Project Specification:

5 types of customers
Template of service
Dynamic Data Driven portal
Modules can be activated/deactivated through management console
Branding and customization
Rapid deployment portals of future clients as well
Portals willallow for customization
Data reporting services: reports and
BOBJ Ad hoc Query
Value- Add services to the clients
portal
Each Clients welcome page can be
customized by client as well
How can I determine which Client is
on "Welcome" page without them
logging in? Create different URLS for
each client base? how?
Mobile Application services
Localization
Demo portal should be built and sent
to client for testing rapidly

Database structure:

There will be core database which will be connected to 50-60 client databases depending on the login and other details.

What is the best approach in terms of data layer? since dynamic db connections will have to be implemented?

View 5 Replies

Architecture :: What Is The Approach / Calculate: BL Versus DB

Dec 29, 2010

What is the approach? calc: BL vs. DB?

Using Asp.net3.5/ sql2005.

What is the approach? What should calculate in the database and what to implement in the business lyre??

If I will calculate in the db - I will have less round trips and less resources on the server side host - but less flexible programmatically side..

When to use object oriented programming and when to implement the calculation on database - when what I am looking for is first performance.

View 12 Replies

What Is The Use Of 3-Tier Architecture

Oct 7, 2010

What is the use of 3-Tier Architecture?

View 6 Replies

What Is Tier Architecture And MVC

Dec 27, 2010

What is tier architecture and MVC for ASP.NET?

View 3 Replies

How To Develop 3 Tier Architecture In Asp.net Using C#

May 31, 2010

can any one tell about 3 tier architecture in asp.net using C#How can i develop a project using 3 tier?

View 8 Replies

What Is The Difference Between N-Tier And SOA Architecture

Aug 15, 2010

As per my understanding regarding N-Tier and SOA architecture.

N-Tier

N-Tier means dividing application into layers, Example I am developing application in asp.net and I pushed total DB Layer to WCF then it is called N-tier.[Tightly coupled]

SOA[Loosely coupled]

As per my understanding regarding SOA its very generic term and how well we going to loosely couple our architecture then its called SOA. Best example for SOA services - Stock feeds/ weather feeds.

My conclusion:

Even though if we develop application using WCF it does not mean its SOA if it is tightly couple with single client/ or .net applications only can understand about services.

Can you help me in understanding of SOA VS N-Tier.

View 4 Replies

ADO.NET :: Connectionstring In 3 Tier Architecture?

Aug 12, 2010

In 3 tier architecture where to keep connection string? I have presentation layer ( webapplication) and BAL Layer ( class lib) and DAL (class lib).intially i kept in web.config which is in presentation layer....is it correct?should i keep a app.config file in DAL layer and keep my connection string in that?Where to keep connection string ?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved