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
0
votes
1 answer

In which layer do DAO classes belong in a 3-tier architecture of a web app?

Let's consider a BookDAO class, for example, that needs to populate a list with every existing book. To my mind, this class belongs to the lowest layer (data access layer), but I've seen it as part of the middle layer (bussiness logic) too. Which of…
user10419944
0
votes
1 answer

Print OUT parameter to c# winform

I am developing winform app in c# language using 3 layer architecture. i need to print sql server error (@ErrorPrint) in winform message. i have tried several ways but i cannot get my resut. My code goes as... SQL SERVER PROCEDURE AS CREATE PROC…
0
votes
0 answers

Implement Login/Logout in MVC with 3-Tier architecture using Entity Framework and DI

I want to implement Login/Logout service in ASP.NET MVC using 3-Tier architecture. I also want to use Entity Framework and dependency injection pattern, like NInject (for example). Can somebody advise some articles, where I can see some examples or…
Dimitri
  • 95
  • 1
  • 7
0
votes
1 answer

Is it possible to have multiple objects in a business layer for 3-tier architecture

I'm working on a school project and just wondering if it is possible to have 2 business objects linking to each other to 1 presentation layer. Attached an example of what I'm trying to say here: 3-tier Architecture Image I have Purchase Process and…
vt-0307
  • 63
  • 1
  • 7
0
votes
1 answer

How to structure a proper 3-tier (no ORM) web project

I m working on a legacy web project, so there is no ORM(EF,Nhibernate) available here. The problem here is I feel the structure is tedious while implementing a new function. let's say I have biz Object Team. Now if I want to get…
ValidfroM
  • 2,626
  • 3
  • 30
  • 41
0
votes
1 answer

Could not load file or assembly exception in 3 layer winforms C# application

i create a 3 layer winforms c# application. the layer names are BLogic, DAccess and Presentation. but when i want to run the application in debug directory the application throws an exception with this message: Could not load file or assembly…
robert
  • 21
  • 2
0
votes
1 answer

How to check if a specific data exist in a text file before insert it to SQL database table?

I have a Employee text file employee.txt which has some data in it. For instance: empID, FirstName, LastNme I want to read the file and get the empId from it and pass it to a function to check if that empId already exists in the SQL database…
user13232009
0
votes
1 answer

How can I access and search through a list of objects with c#

I am creating an application that reads from a .csv file through a 3 tiered architecture. I have made a code that reads and stores the .csv data into a list in the data link layer already. but Im having a problem in the business logic, or I dont…
0
votes
0 answers

ajax post call causes 400 (Bad Request) on sending array in hosting. For visual studio works fine

does anyone knows why Iam getting error 400 for ajax request when Iam sending array. The strange thing for me is that in visual studio it works fine, but when uploaded project to hosting, started to get this type of error. What Iam doing is creating…
0
votes
1 answer

How do i Authenticate and register users from the business Logic Layer with ASP.NET Core 3.1 Identity

Please my question may not be constructive but am still learning so kindly help. I am designing a 3 tier architecture with dotnet core 3.1 mvc, visual studio 2019. I want to use only one connection to the database from the Data Access Layer and…
0
votes
1 answer

How to apply 3 tier architecture for my VSTO addin?

So I'm happy to use 3 tier Architecture to my APIs n such but I have a problem implementing it to my VSTO AddIn (but maybe I shouldn't?). Anyways here's my non-working solution; My VSTO have a button to recieve all Objects. private void…
0
votes
3 answers

3 tier architecture on kubernetes

I have 1 master kubernetes server and 9 nodes. In that, I want to run backend on 2 nodes and frontend on 2 nodes and DB on 3 nodes. For all backend, frontend, DB I have ready DockerImage. How to run an image using kubernetes on only desired(2 or…
gokul kandasamy
  • 193
  • 1
  • 2
  • 14
0
votes
1 answer

Ninject cannot bind IRepository

I have some problem with my application. Recently I've downloaded Ninject packages and I cannot bind my entities. My controller: public class ServerController : ApiController { private readonly IServerService _service; public…
Kiryl
  • 51
  • 1
  • 5
0
votes
1 answer

How would you architect a three-tiered web application to limit downtime?

My specific questions are : 1) How would you architect a three-tiered web application to limit downtime? 2) How to eliminate point of failures from a 3 tiered architecture I could not find any resources that specifically answer these questions. I…
0
votes
1 answer

Application Transaction

How to use application transaction in 3 tier architecture using .net? Is application transaction similar to transaction scope?If they are different,then what's the difference?