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
1
vote
1 answer

Does in 3-tier architecture the code stores in application layer or DB layer?

I want to know where do the executable files resides? If it is in DB layer does that mean every time it loads from there and executes? And is it same for all 3-tier architecture ??
Swastik
  • 499
  • 1
  • 4
  • 10
1
vote
1 answer

Create 3 Tier Architecture In DotNet Core 2.2 Web API C#

I am working on Web API Core 2.2 and need to design 3 tier architecture. How can I do it. My Project Structure as below In Web API Project.. public void ConfigureServices(IServiceCollection services) { …
1
vote
1 answer

REST - Application layer or Service layer?

I am writing web application which exposes REST interface and web socket for clients. This project interacts with underlying database. The UI layer and overall business logic is handled as separate project. Now I wanted to apply layers in this web…
Malini Kennady
  • 371
  • 1
  • 7
  • 19
1
vote
1 answer

Create Three Tier Application using Maven

I want to create a multi-layer java project using maven as follows: PresentationLayer-GUIModule (top most layer for jsp/jsf pages) PresentationLayer-GatewayModule (topmost layer for web services) BusinessLayer-ServiceModule (middle layer)…
Hosein Aqajani
  • 1,553
  • 4
  • 26
  • 46
1
vote
2 answers

Need help in login authentication using asp.net

Simple way i am able to authenticate login page. How can i do that authentication in 3 tier architecture? please somebody send me the code that what should be in DAL,BAL,and GUI layers? Here is my simple code: Web.config:
user59637
  • 85
  • 1
  • 4
  • 16
1
vote
2 answers

Where to put domain objects in 3 tier c# winforms application

I'm writing a C# application, I want to follow a 3-tier programming architecture. I've been programming my application based on this article. I have some questions that I hope someone can help me with: Where do i put the domain objects (for…
user5663193
1
vote
0 answers

Not allowed to change the 'ConnectionString' property while the connection (state=Open)

I'm creating 3-tier architecture windows application program, and this error shows every time I delete multiple rows in datagrid that are checked. The codes are as follows: IN DAL: public void delete_contact(MySqlCommand cmd) { …
Schwifty
  • 21
  • 2
1
vote
1 answer

How to separate the Data Access Layer into smaller classes

I have a design problem with a 3 Tier application. Usually my database layer is only 1 class like this one: public class DA { string _connString = ""; public DA() { _connString =…
JohnWinner
  • 41
  • 1
  • 3
1
vote
2 answers

convert of the object (image) to another object (Byte) in three layers(3-tier)

Conversions can be done in the first layer ( UI ) ?
ehsan_d18
  • 11
  • 1
1
vote
2 answers

why do we require interfaces between UI,Business and Data access in C#

I saw in many places whenc# programmers uses 3-tire architecture, they tend to use interfaces between each layer. for example, if the solution is…
Prasob
  • 1,963
  • 2
  • 11
  • 20
1
vote
1 answer

Rabbitmq in web forms: Is it correct to push messages from web form csharp file itself or is it business logic?

I read this article to push rabbit mq messages from web form application. Is it correct to push objects directly from web form aspx cs class i.e. calling producer.SendMessage(...) from button_click event OR this should be part of business…
Sahil Sharma
  • 3,847
  • 6
  • 48
  • 98
1
vote
2 answers

Difference between 3-tier and n-tier architecture

My professor said, that adding multiple layers in the BLL, will make the 3-tier an n-tier architecture. But from my understanding (I may be wrong), a tier is a physical separation, and a layer is a logical seperation, so adding multiple layers will…
painotpi
  • 6,894
  • 1
  • 37
  • 70
1
vote
2 answers

Databinding ASP.net DropDownList with Entity Framework

I'm trying to bind an ASP.net DropDownList to the results of an entity framework query, while still maintaining multi-tier separation. (i.e. I don't want my UI code to contain query details, nor my Data Layer code to have UI dependencies.) My…
AndrewCr
  • 549
  • 9
  • 18
1
vote
1 answer

C# design as 3 layer and implement a layer as a .dll (library)

I'm working on a C# assignment. I have to design my C# application as 3 layer, where the layers have to be implemented in their own packages. To solve this, i just added folders to my project in Visual Studio. Is this the right approach? Then i have…
Fth
  • 105
  • 2
  • 19
1
vote
1 answer

On Page Reload, "Go To Cart" button not visible

I want to make a button Go To Cart visible after adding a product into cart. But when page gets reload it shows Add to cart button only /This is my presentation layer code/ protected void ddlimginfo_ItemCommand(object source,…
Prady
  • 45
  • 9