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
2
votes
2 answers

Open a Window since Programm class?

I have a console application. So I need Open a Window called "UserInterface.xaml" this is a Window. I my class Program I have this: class Program { [STAThread] static void Main(string[] args) { var…
ale
  • 3,301
  • 10
  • 40
  • 48
2
votes
4 answers

Where to store connection string in a 3-tier winform application using C# 4.0

We are about to implement an application using winforms. I would like to have a 3 layer architecture (GUI, Business Logic and Data Access Layer. We have one database per customer, so we must be able to access different databases (possible on…
OKB
  • 715
  • 3
  • 14
  • 30
2
votes
2 answers

How to build a three-tiered web service

I want to create a web service (SOAP) under Apache Tomcat with Axis2, and I must respect the three-tiered architecture: DAO -> Business Logic Layer -> Presentation Layer I'm new to web services. Is there a step-by-step tutorial for this?
wael
  • 159
  • 1
  • 2
  • 9
2
votes
2 answers

3-Tier - Models reusing?

I am creating an application that has those three different projects: ApiService (Web API 2) BusinessLogic (Class Library) DataAccess (Class Library) ApiService has a reference to BusinessLogic BusinessLogic has a reference to…
Roesmi
  • 466
  • 5
  • 15
2
votes
2 answers

What is the difference between a monolithic architecture and a 3-tier architecture?

I have an application which is packaged as a single ear file deployed on WebSphere. Inside the package, the code is organized in to UI files, Business Logic files and Database related files. Now, is this a monolithic application or a 3-tier…
Aravind
  • 550
  • 7
  • 17
2
votes
2 answers

3 tier architecture references

I am looking for references on 3-tier architecture with ASP.Net. Can you please provide some links?
user
  • 61
  • 1
  • 8
2
votes
1 answer

Caching server in multi-tire architecture

I'm planing topology of enterprise application according to 3-tier architecture, my solution contains caching server (Redis) in order to manage cached data. What is the best tier to host the Caching Server in? Business Tier or Data Tier, and why?
Niklaus Wirth
  • 820
  • 1
  • 7
  • 21
2
votes
3 answers

3-tier architecture in Windows Form

I'm currently working on Inventory project on windows Form, and I would like to implement three tier architecture in it. I would like to know how many classes should I create in Business Layer, and Data Access Layer. What if later, work on my…
SauDard
  • 47
  • 3
2
votes
3 answers

Where to put object-oriented queries in a layered architecture?

Given: You have an architecture with the layers presentation, business and data. You are applying domain-driven design. You are using an object-relational mapper that lets you create object-oriented queries (e.g., NHibernate which lets you create…
Marco Eckstein
  • 4,448
  • 4
  • 37
  • 48
2
votes
2 answers

How to access view from logic layer?

I am trying to make an ATM Application in .NET Framework using C#. I have implemented some part of it using 3 tier architecture. As the user chooses to withdraw cash, flow moves from VIEW to LogicLayer as I have added reference of VIEW in…
Muhammad Arsalan
  • 345
  • 4
  • 14
2
votes
2 answers

Where to place interfaces in a Visual Studio Project for a layered solution using Dependency Injection

I am developing a layered solution using WinForms, Visual Studio 2015, Entity Framework 6, and dependency injection without a 3rd party container. At the present time, I have a structure which allows the UI, BLL, and DAL to not need to reference…
2
votes
0 answers

CRUD with 3-layered architecture; must I triplicate everything?

I am working on a new three-layered .net/WPF application. The application will do a lot more than just CRUD, but it does CRUD too. I'm finding that there's a ton of redundant work that needs to be done when setting up a new CRUDdy entity; say, a…
dlf
  • 9,045
  • 4
  • 32
  • 58
2
votes
0 answers

3-tier architecture with PHP and Slim

I've been working on a 3-tier architecture and would like some reassurance that my approach is correct as this is for a large project that hopefully will convert 10 years of spaghetti code into an organized system. The code below has been separated…
Michael Hommé
  • 1,696
  • 1
  • 14
  • 18
2
votes
2 answers

How to organize dependencies in 3-tier architecture

I am starting project which will use 3-tier architecture with REST API. I would like to split each layer into separate module, so I definitely need at least 3 modules: REST BLL DAL What is the best approach to make dependencies between…
Karol
  • 133
  • 1
  • 9
2
votes
1 answer

Is Entity Framework also persistance layer?

OK. I know that Entity Framework is ORM. We use it for mapping data from database to object model, and from objects to relational data. But where it fits in a context of persistance layer? Can we say that persistance layer is also Entity Framework?
user2457382
  • 329
  • 4
  • 14