Questions tagged [business-logic-layer]

The business logic layer (BLL) is the layer in a multi-layer software architecture which separates the business logic from other layers such as the data access layer (DAL) and user interface (UI or presentation layer).

A business logic layer (BLL) is a software engineering practice of compartmentalizing business rules in a multitier architecture. It separates the business logic from other modules, such as the data access layer (DAL) and user interface (UI). By doing this, the business logic of an application can often withstand modifications or replacements of other tiers.

http://en.wikipedia.org/wiki/Business_logic_layer

207 questions
0
votes
1 answer

Is running an external document part of the presentation layer?

I have an application that creates an MS Word document and runs it. I'm trying to figure out which layer to put that code in. Would running the external document be part of the presentation layer or part of the business logic layer? One the one…
0
votes
1 answer

Confused about layers when using EF6

I am new to Entity Framework 6 but would like to use it for the next version of our software. In my current project i use Csla, which wraps the DAL and BusinessLayer into 1 project. Is EF doing the same as Csla and creating the DAL and business…
Gillardo
  • 9,518
  • 18
  • 73
  • 141
0
votes
2 answers

How to make Business layer object create many instances of the same Data Access layer object

Until now by Business Layer was instantiating one instance of my needed DAL objects: public class BarcodeBLL : IBarcodeBLL { private BarcodeConfig _MyConfig; private readonly IJDE8Dal _JDE8dal; private readonly IBarcodeDal _barcodeDal; …
e4rthdog
  • 5,103
  • 4
  • 40
  • 89
0
votes
2 answers

C# access element in master page from logic layer

I have a content page connected to a master page. I can access an element on the master page and modify it directly from the content page .cs file by calling a method on the site master. (this is probably the most standard bug people have in this…
James
  • 2,013
  • 3
  • 18
  • 31
0
votes
2 answers

Asp.net mvc How is the better way to build Business Logic Layer?

Hello I have a project that is communicating directly with the DAL layer. In DAL layer I'm using two patterns: Repository and Unit Of Work. In my controller I create the instance of Unit Of Work and use as follows: protected readonly IUnitOfWork…
0
votes
1 answer

How to add a Business Layer to an C# MVC application

I have a project on Github that I am trying to develop that shows how to use best practices in a practical way. However I am having problems with the concepts. When I do, I go right back to basics and try a simple example. To see the project follow…
0
votes
1 answer

Business logic into stored procedure - still confused

I have read many articles regarding why we should not have business logic in several places, but try to keep it in BLL code. I understand the point of easy maintenance, and clearer understanding what the code does. However, I never found any…
Goran
  • 6,328
  • 6
  • 41
  • 86
0
votes
1 answer

Link between BO and GUI is broken. What to do?

I have some points (car stops) to represent on a time graph. These points are linked between them by lines. Points + Lines represent a Graph (that is a car schedule). The Graph can be modified by moving CarStops in time with the mouse. I decided to…
serhio
  • 28,010
  • 62
  • 221
  • 374
0
votes
1 answer

Improving infrastructure of n-tier system

We are a small software company using .NET technologies. We have a home-brew framework which at first seemed to work well for some of our projects but now we see some problems. The presentation layer is ASP.NET MVC application. The service layer is…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
0
votes
1 answer

Deciding three layered architecture

I'm working on a web project that is quite decent in size. At the same time this project is about to expand to multiple platforms like Android, iOS etc. My intention is to centralize code that can be accessed across multiple platforms. However, I'm…
0
votes
1 answer

Windows client and Web client - same business tier and data tier

I need to write a product in .NET for my company whose frontend or UI will be different - win forms, Web and Mobile but the business logic and database will be the same. Can anyone share or suggest the architecture which you used to achieve this in…
0
votes
4 answers

MVC architecture large action method on controller

I'm currently developing business logic in a Controller's ActionResult function, and I've noticed it's becoming unwieldy... large... involves a lot of page ups/downs. Code includes populating lists for dropdownlists assigned to ViewBag properties,…
OpcodePete
  • 887
  • 1
  • 14
  • 28
0
votes
1 answer

simple lookups in Data Access Layer, Business Layer or in UI?

ASP .NET MVC4 Class #1: public class F61BPROD { public int WPDOCO { get; set; } public string WPDCTO { get; set; } public string WPMCU { get; set; } public string WPLOCN { get; set; } public string WPDCT { get; set; } public…
0
votes
1 answer

Business logic and services

In a three-tier/multitier architecture (UI/Logic/DAO/Domain model), can services be considered as belonging to the business logic layer or are they situated as something separate ?
James P.
  • 19,313
  • 27
  • 97
  • 155
0
votes
1 answer

Business layer disassembly and business object types

Business Logic Layer contains business objects that contains business logic. Some of them are persistent, those are Entities. Entities along with its logic make Model. Some of them are stateless and contains some extra logic that don’t fit in any…