473,320 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Enterprise Library Application Blocks question...

I was just wondering if anyone else may have incorporated the original
Microsoft Exception Management Application Block (EMAB) or Data Access
Application Block (DAAB) into one of their applications when the blocks were
frist released several years ago?

In the process of trying to upgrage an application to CLR 2.0, I thought it
would make sense to also get the latest application blocks. The are now
called the Enterprise Library Application Blocks and it appears that the
latest is January 2006. However, when I examined them, I realized that
their public APIs appear to have changed dramatically relative to the
originals. This raises the question....what happened to the functionality
provided by the originals?? Has this been incorporated into the .Net
Framework? Is that functionality now considered obsolete, replaced with a
"pattern and practice" that is completely different?? I can't find any
documentation that speaks to this.

Does anyone have any insight?

Thanks!!
Mar 9 '06 #1
3 2134
Craig,

Yes, the APIs have changed from the first incarnation to now, to be more
in line with the current best practices using .NET 2.0.

The functionality provided by the originals is still there, as a matter
of fact, you should still have it. The application blocks (then and now)
come with complete source code, so there is no reason why even if the old
blocks dont work with .NET 2.0 (which I don't think is the case, since there
were not that many breaking changes in the data API, from what I recall)
that you can't tweak the code so that they do.

My recommendation, however, would be to work with the new blocks if you
can.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"craig" <e@mail.com> wrote in message
news:Oc*************@TK2MSFTNGP10.phx.gbl...
I was just wondering if anyone else may have incorporated the original
Microsoft Exception Management Application Block (EMAB) or Data Access
Application Block (DAAB) into one of their applications when the blocks
were frist released several years ago?

In the process of trying to upgrage an application to CLR 2.0, I thought
it would make sense to also get the latest application blocks. The are
now called the Enterprise Library Application Blocks and it appears that
the latest is January 2006. However, when I examined them, I realized
that their public APIs appear to have changed dramatically relative to the
originals. This raises the question....what happened to the functionality
provided by the originals?? Has this been incorporated into the .Net
Framework? Is that functionality now considered obsolete, replaced with a
"pattern and practice" that is completely different?? I can't find any
documentation that speaks to this.

Does anyone have any insight?

Thanks!!

Mar 9 '06 #2
Thus wrote Craig,
I was just wondering if anyone else may have incorporated the original
Microsoft Exception Management Application Block (EMAB) or Data Access
Application Block (DAAB) into one of their applications when the
blocks were frist released several years ago?

In the process of trying to upgrage an application to CLR 2.0, I
thought it would make sense to also get the latest application blocks.
The are now called the Enterprise Library Application Blocks and it
appears that the latest is January 2006. However, when I examined
them, I realized that their public APIs appear to have changed
dramatically relative to the originals. This raises the
question....what happened to the functionality provided by the
originals?? Has this been incorporated into the .Net Framework? Is
that functionality now considered obsolete, replaced with a "pattern
and practice" that is completely different?? I can't find any
documentation that speaks to this.

Does anyone have any insight?


Craig,

while there are probably some things missing in EL 2.0 from earlier versions,
much of the cut functionality is now part of the .NET 2.0 Base Class Library.
The EL 2.0 docs contain migration tips for each block.

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Mar 9 '06 #3
I really appreciate the feedback. Some of the things we noticed that seem
to be missing in the latest iteration are the BaseApplicationException
(EMAB), which we used to derive many custom exceptions types, and the
SQLHelper (DAAB) we we used extensively.

I will spend some time trying to determine how to repair these breaks in our
code that come with the latest EL. I didn't see very much in the
documentation regarding migration from the original blocks.

Thanks again,
Craig

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Craig,

Yes, the APIs have changed from the first incarnation to now, to be
more in line with the current best practices using .NET 2.0.

The functionality provided by the originals is still there, as a matter
of fact, you should still have it. The application blocks (then and now)
come with complete source code, so there is no reason why even if the old
blocks dont work with .NET 2.0 (which I don't think is the case, since
there were not that many breaking changes in the data API, from what I
recall) that you can't tweak the code so that they do.

My recommendation, however, would be to work with the new blocks if you
can.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"craig" <e@mail.com> wrote in message
news:Oc*************@TK2MSFTNGP10.phx.gbl...
I was just wondering if anyone else may have incorporated the original
Microsoft Exception Management Application Block (EMAB) or Data Access
Application Block (DAAB) into one of their applications when the blocks
were frist released several years ago?

In the process of trying to upgrage an application to CLR 2.0, I thought
it would make sense to also get the latest application blocks. The are
now called the Enterprise Library Application Blocks and it appears that
the latest is January 2006. However, when I examined them, I realized
that their public APIs appear to have changed dramatically relative to
the originals. This raises the question....what happened to the
functionality provided by the originals?? Has this been incorporated
into the .Net Framework? Is that functionality now considered obsolete,
replaced with a "pattern and practice" that is completely different?? I
can't find any documentation that speaks to this.

Does anyone have any insight?

Thanks!!


Mar 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: poifull | last post by:
Is anyone using the Microsoft Enterprise Library? If yes, do you like it or not? Any feedback will be appreciated.
3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
2
by: bjhogan | last post by:
Hi, I have built an c# asp.net application on my laptop, it uses the Enterprise Library blocks - Data Access Application Block, Configuration Application Block. I now want to deploy my...
6
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When...
1
by: bytebugs | last post by:
Hello Folks, Can anyone suggest me a good book to learn using the Microsoft Enterprise Library Application Blocks. I can only find two books on the net 1. The Definitive Guide to the...
3
by: Wade | last post by:
Hey all, Question regarding Exception Handling w/ Application Blocks. The example given (ExceptionHandlingWithLogginQuickStart) creates a DialogResult to display the error message back to the...
0
by: =?Utf-8?B?YW5rMmdv?= | last post by:
Hi, Thanks in advance for reading this. Not sure where to post this question, but I hope someone in here can help. Trying to write to Event Log in VS 2005 (.NET 2.0) using Enterprise Library...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.