Data Access Layer and Business Logic Layer in ASP.NET 2.0

G

Guest

Hi friends, how ru all,
I have a question about creating Data Access Layer and Business Logic Layer
using ASP.NET 2.0 and VB.NET, which is the best way, and what is that best
and optimized solution for creating DAL and BLL.
Thanks,
 
C

Cowboy \(Gregory A. Beamer\)

Personally, there are a couple of approaches I like:

1. TableAdapters - Check out Scott Guthries blog on this option, as he has
many nice entries. I was not sold on TableAdpaters until I tried them and
found they perform quite nicely. One negative, IMO, is the coupling of
config to the DAL (as it looks for specific connection strings); you will
see the same thing with the Enterprise Library.

2. Code Generated DAL - I am currently using .NET Tiers (a template librar
for CodeSmith) and enjoy it overall. I am still a bit more fond of LLBLGen
Pro. Both fully support 2.0 as of now, so either is a decent choice. In a
previous job, I experimented with Persistant DataSets (Last Component),
which showed a lot of promise, esp. with its flexibility on lazy loads, etc.

The main point I am making is there are plenty of tools that will speed up
your development effort. None of the tools mentioned here is incredibly
expensive and they will save you hours and hours of development time. If you
are a one-man shop, it might not seem worth it, but any business that has
developers hand code the DAL is wasting money.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top