Eric's Blog

Day to day experience in .NET
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

CTP of EntLib 2.0

The patterns & practices have released a CTP of Enterprise Library for .NET Framework 2.0. I have downloaded it and read some blog post from the team about it and there will be some major changes since the platform has solved a lot of the things that EntLib did before. One example is that the Configuration Block going to be radically changed since the platform now supports writing to configuration files. This means that there will not be so many config-files anymore (could be both a good and a bad thing).
I have started to upgrade some of my own "application blocks" for .NET 2.0 and one of the first libraries that I got to, was the one containing my Soap*ExceptionHandlers and I thought that I could just as well describe the necessary changes you must do if you want to use them with EntLib 2.0. The first thing to do is to remove the Initialize method from both classes. The second thing is that the signature of HandleException has changed so that the policyName parameter is not part of it anymore. Simple delete the parameter from the method in both classes and everything will at least compile and I would be surprised if they don't work, but I haven't had time to test them yet. Small and easy changes :-)
 
[UPDATE 2005-10-10] One more modification is necessary as I write about here.
Published den 6 september 2005 13:43 by ericqu

Comments

No Comments
New Comments to this post are disabled
Powered by Community Server, by Telligent Systems