Home All Groups Group Topic Archive Search About

Enterprise Library (what should I use...)

Author
4 Jul 2006 9:45 PM
Bruce One
Hi, what is really worthwhile to use of Ent Library framework (e.g. Data Access
Application Block) ? Who has used in practice ?

Thanks a lot !

Author
4 Jul 2006 9:50 PM
William (Bill) Vaughn
I'm of the opinion that the DAB is more trouble than it's worth. It requires
just as much training, experience and troubleshooting as just coding
ADO.NET. Behind the scenes it uses some dubious practices and AFAIK does not
support the enhancements in the 2.0 Framework. Just stick with ADO.NET.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

Show quote
"Bruce One" <r***@virtualsoftware.com.br> wrote in message
news:1EDD45BA-0145-4CDB-A92C-8AEDBD85C5A6@microsoft.com...
> Hi, what is really worthwhile to use of Ent Library framework (e.g. Data
> Access
> Application Block) ? Who has used in practice ?
>
> Thanks a lot !
Author
5 Jul 2006 3:18 AM
Matt Noonan
William (Bill) Vaughn wrote:
> Behind the scenes it uses some dubious practices
> and AFAIK does not support the enhancements in the 2.0 Framework.
> Just stick with ADO.NET.

Hi Bill, can you elaborate on those two comments a bit? Just curious, since
MS bills the EntLib as a "best practices" library.

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
5 Jul 2006 8:35 AM
Cor Ligthert [MVP]
Matt,

As Microsoft says that there is a best practise, than in my idea they should
delete all the rest from Visual Studio Net what is not well to use and cut
the prices accoording to that.

(I always get the idea that these best practises are written by persons, who
are not able to get the same idea in their own organisation or in the rest
of the world).

It remembers me once a discussion with some developer if two parallel lines
exist. I left the discussion in half an hour, but they were goin on about
that the next day as well. Our organisation had nothing to do with parallel
lines.

Just my opinion,

Cor


Show quote
"Matt Noonan" <nore***@noreply.com> schreef in bericht
news:ein47G%23nGHA.4864@TK2MSFTNGP04.phx.gbl...
> William (Bill) Vaughn wrote:
>> Behind the scenes it uses some dubious practices
>> and AFAIK does not support the enhancements in the 2.0 Framework.
>> Just stick with ADO.NET.
>
> Hi Bill, can you elaborate on those two comments a bit? Just curious,
> since MS bills the EntLib as a "best practices" library.
>
> --
> Matt Noonan
> EasyObjects.NET: The O/RM for the Enterprise Library
> http://www.easyobjects.net
>
>
Author
6 Jul 2006 3:19 AM
Matt Noonan
Cor Ligthert [MVP] wrote:
> Matt,
>
> As Microsoft says that there is a best practise, than in my idea they
> should delete all the rest from Visual Studio Net what is not well to
> use and cut the prices accoording to that.
>
> (I always get the idea that these best practises are written by
> persons, who are not able to get the same idea in their own
> organisation or in the rest of the world).

I won't argue with you there!  ;-)


>
> It remembers me once a discussion with some developer if two parallel
> lines exist. I left the discussion in half an hour, but they were
> goin on about that the next day as well. Our organisation had nothing
> to do with parallel lines.

Yeah, sometimes the purists don't understand that you have work that needs
to get done, even if it isn't the ideal solution.

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
5 Jul 2006 8:54 AM
Miha Markic [MVP C#]
Matt,

Did you consider using an ORM product such as LLBLGen Pro?
http://www.llblgen.com/

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Show quote
"Matt Noonan" <nore***@noreply.com> wrote in message
news:ein47G%23nGHA.4864@TK2MSFTNGP04.phx.gbl...
> William (Bill) Vaughn wrote:
>> Behind the scenes it uses some dubious practices
>> and AFAIK does not support the enhancements in the 2.0 Framework.
>> Just stick with ADO.NET.
>
> Hi Bill, can you elaborate on those two comments a bit? Just curious,
> since MS bills the EntLib as a "best practices" library.
>
> --
> Matt Noonan
> EasyObjects.NET: The O/RM for the Enterprise Library
> http://www.easyobjects.net
>
>
Author
6 Jul 2006 3:19 AM
Matt Noonan
Miha Markic [MVP C#] wrote:
> Matt,
>
> Did you consider using an ORM product such as LLBLGen Pro?
> http://www.llblgen.com/

I do use an ORM, but I didn't ask the original question...  :)

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
6 Jul 2006 8:53 AM
Miha Markic [MVP C#]
> I do use an ORM, but I didn't ask the original question...  :)

I wonder which one. ;-P

Show quote
> --
> Matt Noonan
> EasyObjects.NET: The O/RM for the Enterprise Library
> http://www.easyobjects.net
>
>
Author
7 Jul 2006 3:33 AM
Matt Noonan
Miha Markic [MVP C#] wrote:
Show quote
>> I do use an ORM, but I didn't ask the original question...  :)
>
> I wonder which one. ;-P

:-D

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
5 Jul 2006 11:07 AM
Bruce One
Well, as I could understand for what I have read so far, DAB is not so
helpful, it might even get worse the overall performance .
But what about the other blocks (criptography, security...) ? Have u used
any of them for real?

Show quote
"William (Bill) Vaughn" wrote:

> I'm of the opinion that the DAB is more trouble than it's worth. It requires
> just as much training, experience and troubleshooting as just coding
> ADO.NET. Behind the scenes it uses some dubious practices and AFAIK does not
> support the enhancements in the 2.0 Framework. Just stick with ADO.NET.
>
> --
> ____________________________________
> William (Bill) Vaughn
> Author, Mentor, Consultant
> Microsoft MVP
> INETA Speaker
> www.betav.com/blog/billva
> www.betav.com
> Please reply only to the newsgroup so that others can benefit.
> This posting is provided "AS IS" with no warranties, and confers no rights.
> __________________________________
>
> "Bruce One" <r***@virtualsoftware.com.br> wrote in message
> news:1EDD45BA-0145-4CDB-A92C-8AEDBD85C5A6@microsoft.com...
> > Hi, what is really worthwhile to use of Ent Library framework (e.g. Data
> > Access
> > Application Block) ? Who has used in practice ?
> >
> > Thanks a lot !
>
>
>
Author
6 Jul 2006 3:25 AM
Matt Noonan
Bruce One wrote:
> Well, as I could understand for what I have read so far, DAB is not so
> helpful, it might even get worse the overall performance .

There is a reflection hit for figuring out which data provider to use, but
other than that the performance is acceptable. But obviously, you can beat
it by writing straight ADO.NET. Using the EntLib DAAB, you should choose
carefully if you need some of the built-in features (perf counters, WMI,
database independence). If you need pure speed, you'll probably need
something more lightweight.


> But what about the other blocks (criptography, security...) ? Have u
> used any of them for real?

They work great, but again, if you need to analyze which of the features of
the EntLib you need. If you are already using DAAB, then using the Caching
Block fits right in. It's really a question of how much you want to "buy-in"
to using the EntLib.

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
5 Jul 2006 12:30 PM
Cowboy (Gregory A. Beamer)
The DAAB is definitely a pain in the butt, but it is NOT the Enterprise
library. The data bits in the Enterprise library are as different from DAAB
as LLBLGen Pro is from LLBLGen (the original free tool).

Having said that, I am a bit torn over Ent Lib or not. Overall, I am aiming
more for an ORM, but the Ent Library does give you a lot of bang for the
buck.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
Show quote
"William (Bill) Vaughn" <billvaRemoveT***@nwlink.com> wrote in message
news:ON4slP7nGHA.4172@TK2MSFTNGP03.phx.gbl...
> I'm of the opinion that the DAB is more trouble than it's worth. It
> requires just as much training, experience and troubleshooting as just
> coding ADO.NET. Behind the scenes it uses some dubious practices and AFAIK
> does not support the enhancements in the 2.0 Framework. Just stick with
> ADO.NET.
>
> --
> ____________________________________
> William (Bill) Vaughn
> Author, Mentor, Consultant
> Microsoft MVP
> INETA Speaker
> www.betav.com/blog/billva
> www.betav.com
> Please reply only to the newsgroup so that others can benefit.
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> __________________________________
>
> "Bruce One" <r***@virtualsoftware.com.br> wrote in message
> news:1EDD45BA-0145-4CDB-A92C-8AEDBD85C5A6@microsoft.com...
>> Hi, what is really worthwhile to use of Ent Library framework (e.g. Data
>> Access
>> Application Block) ? Who has used in practice ?
>>
>> Thanks a lot !
>
>
Author
5 Jul 2006 12:48 PM
Miha Markic [MVP C#]
> Having said that, I am a bit torn over Ent Lib or not. Overall, I am
> aiming
> more for an ORM,

Yep, me too. Out of curiosity, which one?

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
Author
5 Jul 2006 11:57 PM
Bruce One
For the records, I use MyGeneration O/M, which besides having its own format
(Dooads), I can create my own templates...LLBGEN is better??

Show quote
"Miha Markic [MVP C#]" wrote:

>
> > Having said that, I am a bit torn over Ent Lib or not. Overall, I am
> > aiming
> > more for an ORM,
>
> Yep, me too. Out of curiosity, which one?
>
> --
> Miha Markic [MVP C#, INETA Country Leader for Slovenia]
> RightHand .NET consulting & development www.rthand.com
> Blog: http://cs.rthand.com/blogs/blog_with_righthand/
>
>
>
Author
6 Jul 2006 8:57 AM
Miha Markic [MVP C#]
"Bruce One" <r***@virtualsoftware.com.br> wrote in message
news:EB9DF0E5-AAAA-4C6B-B6BA-C1CC7E6A7511@microsoft.com...
> For the records, I use MyGeneration O/M, which besides having its own
> format
> (Dooads), I can create my own templates...LLBGEN is better??

No idea, as I never used MyGen. Anyway, why do you need DAAB then (if you
are using an ORM)?
For complicated queries?

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
Author
5 Jul 2006 11:56 PM
Bruce One
Got it, but what about the other aspects of Ent Library (criptography,
security, Error Handling...), is it interesting? Or it would be better to use
framework 2.0 package only...?

Show quote
"Cowboy (Gregory A. Beamer)" wrote:

> The DAAB is definitely a pain in the butt, but it is NOT the Enterprise
> library. The data bits in the Enterprise library are as different from DAAB
> as LLBLGen Pro is from LLBLGen (the original free tool).
>
> Having said that, I am a bit torn over Ent Lib or not. Overall, I am aiming
> more for an ORM, but the Ent Library does give you a lot of bang for the
> buck.
>
> --
> Gregory A. Beamer
>
> *************************************************
> Think Outside the Box!
> *************************************************
> "William (Bill) Vaughn" <billvaRemoveT***@nwlink.com> wrote in message
> news:ON4slP7nGHA.4172@TK2MSFTNGP03.phx.gbl...
> > I'm of the opinion that the DAB is more trouble than it's worth. It
> > requires just as much training, experience and troubleshooting as just
> > coding ADO.NET. Behind the scenes it uses some dubious practices and AFAIK
> > does not support the enhancements in the 2.0 Framework. Just stick with
> > ADO.NET.
> >
> > --
> > ____________________________________
> > William (Bill) Vaughn
> > Author, Mentor, Consultant
> > Microsoft MVP
> > INETA Speaker
> > www.betav.com/blog/billva
> > www.betav.com
> > Please reply only to the newsgroup so that others can benefit.
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > __________________________________
> >
> > "Bruce One" <r***@virtualsoftware.com.br> wrote in message
> > news:1EDD45BA-0145-4CDB-A92C-8AEDBD85C5A6@microsoft.com...
> >> Hi, what is really worthwhile to use of Ent Library framework (e.g. Data
> >> Access
> >> Application Block) ? Who has used in practice ?
> >>
> >> Thanks a lot !
> >
> >
>
>
>
Author
6 Jul 2006 3:28 AM
Matt Noonan
Cowboy (Gregory A. Beamer) wrote:
> The DAAB is definitely a pain in the butt, but it is NOT the
> Enterprise library. The data bits in the Enterprise library are as
> different from DAAB as LLBLGen Pro is from LLBLGen (the original free
> tool).

I'm starting to wonder, are we talking about the same thing? Are you
thinking of the SqlHelper class, which was the original DAAB? There is also
a DAAB in the EntLib, but it's completely different from SqlHelper.


>
> Having said that, I am a bit torn over Ent Lib or not. Overall, I am
> aiming more for an ORM, but the Ent Library does give you a lot of
> bang for the buck.

Then check out EasyObjects.NET (http://www.easyobjects.net), which is built
on top of the EntLib.  :)


--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
8 Jul 2006 4:34 PM
ECathell
Isn't that kind of what the TableAdapters are? I know they sure are a nice
piece of work. I used to use EntLib in 2003, but with 2005 I haven't really
found a need for them.


Show quote
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamM> wrote in
message news:%23aCK$6CoGHA.4340@TK2MSFTNGP05.phx.gbl...
> The DAAB is definitely a pain in the butt, but it is NOT the Enterprise
> library. The data bits in the Enterprise library are as different from
> DAAB as LLBLGen Pro is from LLBLGen (the original free tool).
>
> Having said that, I am a bit torn over Ent Lib or not. Overall, I am
> aiming more for an ORM, but the Ent Library does give you a lot of bang
> for the buck.
>
> --
> Gregory A. Beamer
>
> *************************************************
> Think Outside the Box!
> *************************************************
> "William (Bill) Vaughn" <billvaRemoveT***@nwlink.com> wrote in message
> news:ON4slP7nGHA.4172@TK2MSFTNGP03.phx.gbl...
>> I'm of the opinion that the DAB is more trouble than it's worth. It
>> requires just as much training, experience and troubleshooting as just
>> coding ADO.NET. Behind the scenes it uses some dubious practices and
>> AFAIK does not support the enhancements in the 2.0 Framework. Just stick
>> with ADO.NET.
>>
>> --
>> ____________________________________
>> William (Bill) Vaughn
>> Author, Mentor, Consultant
>> Microsoft MVP
>> INETA Speaker
>> www.betav.com/blog/billva
>> www.betav.com
>> Please reply only to the newsgroup so that others can benefit.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> __________________________________
>>
>> "Bruce One" <r***@virtualsoftware.com.br> wrote in message
>> news:1EDD45BA-0145-4CDB-A92C-8AEDBD85C5A6@microsoft.com...
>>> Hi, what is really worthwhile to use of Ent Library framework (e.g. Data
>>> Access
>>> Application Block) ? Who has used in practice ?
>>>
>>> Thanks a lot !
>>
>>
>
>
Author
5 Jul 2006 3:17 AM
Matt Noonan
Bruce One wrote:
> Hi, what is really worthwhile to use of Ent Library framework (e.g.
> Data Access Application Block) ? Who has used in practice ?
>
> Thanks a lot !

I use it in practice, but I also use my O/RM on top of it to simplify the
usage.  :)

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net
Author
5 Jul 2006 12:32 PM
Cowboy (Gregory A. Beamer)
DAAB and the Enterprise Library are two completely different things. There
is a learning curve for each, but the provider/factory model in the new
Enterprise Library is preferable to the old DAAB way of doing things.

I have use DAAB in projects, but found that it went counter to the direction
I wanted to go, at least on most. It is possible to add a "generic" wrapper
to the front, to have DAAB database agnostic, but some of the methods, esp.
the DataReader methods, are painful.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
Show quote
"Bruce One" <r***@virtualsoftware.com.br> wrote in message
news:1EDD45BA-0145-4CDB-A92C-8AEDBD85C5A6@microsoft.com...
> Hi, what is really worthwhile to use of Ent Library framework (e.g. Data
> Access
> Application Block) ? Who has used in practice ?
>
> Thanks a lot !

AddThis Social Bookmark Button