What is your favorite Business Logic Layer (BLL) development toolkit for .NET? Are there any at all? [closed]

StackOverflow https://stackoverflow.com/questions/1080819

  •  22-08-2019
  •  | 
  •  

Question

What is your favorite Business Logic Layer (BLL) development toolkit? Are there any at all?

BLL toolkit is a set of classes (controls, VS.NET add-ins) handling typical business logic scenarios. E.g. implementing access control, providing validation and so on. Of course, IMHO.

Was it helpful?

Solution

OTHER TIPS

I'm curious about what you consider a BLL. Both the examples you've given, Access Control and Validation, are things I've typically seen implemented elsewhere.

I've seen these implemented either in the presentation layer or in a service layer common to, say, web services and web ui. I can see a BLL using an access control subsystem, but not that access control is part of a BLL. Do you have any examples of that?

Same with validation, depending on what you mean by "validation". Do you mean, "this business object passes all business that it's meant to pass, given its current state?" Or were you referring to UI-style validation, making sure alphabetic characters are not input into a numeric field?

You also mention controls, which are usually thought of as UI artifacts. Could you please give more detail about what you consider a BLL to be? I'd also appreciate any links to examples of what you consider to be a BLL.


Based on your clarifications, I'd point you to the Enterprise Library from Microsoft's patterns and practices group. Some of its components are:

  • Caching
  • Cryptography
  • Data Access
  • Exception Handling
  • Logging
  • Policy Injection
  • Security
  • Unity - Dependency Injection
  • Validation

It's all available on CodePlex in both source and binary formats. The source code comes complete with thorough unit tests.

I personally prefer to have BLL integrated with ORM, because I don't see any reason have them separated. Classical example with unit-testing is not solid argument, since I'd like to test my business logic with queries (as for me they are essential part of business logic). On other hand I am not sure which features business logic toolkit must include, may be I miss something.

p.s. I use DataObjects.Net as ORM and obviously as BLL development toolkit.

I point you to ECO. It is mature and have reached version 5. It is also free for unlimited use up to 12 classes in the model. Recommended!

For me Subsonic is the best BLL.

Take a look at CSLA! It helps you to bring structure into your bo-hierarchy.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top