free geoip A Case For and Against the Enterprise Library - protected virtual void jaysonBlog
in

jaysonKnight.com

Welcome to my corner of the internet

protected virtual void jaysonBlog

A conduit to the voices in my head

A Case For and Against the Enterprise Library

A Case For and Against the Enterprise Library:

Already, I've run into an interesting issue: when it is better to forgo the code of the Enterprise Library and roll your own, vs. using existing code.

Roll your own what? Well, the MS Enterprise Library is a set of source code (in both VB.Net and C#) that provides an infrastructure for business applications. The "blocks" that are provided include: caching, configuration, data access and instrumentation, among others.

I know that many people have downloaded the application blocks. I don't know how many people are using them. I suspect far fewer.

I’ve spent a fair amount of time with the Enterprise Library…(codewise) it’s as complex as it is vast in what it attempts to accomplish.  I’ve gotten the same reaction from many colleagues who insist it’s just simply too complex, and have the menality of (as mentioned in one of the comments):  “My developer EGO is so big I think I can code better than you”.  Don’t get me wrong, I like hammering out code as much as the next guy, but if there is something else out there that’s been tested (and in this case is free), why not have a look at it?  I’ve worked with too many devs that have the above mentality…they are usually the type who could care less if they’re locked in a windowless room with an endless supply of caffeine and a computer…feed them specs and they churn out code.  This is usually not the most cost effective way to go about it. 

In the end, building applications is just like any other business…it’s all about the bottom line and shipping a quality product.  Building software (at the enterprise level at least) is more about leveraging disperate systems and integration at this point than churning out new code.  Yes there are plenty of edge cases that dictate otherwise…but I’d say at least 50% of the time what you’re looking for is already out there, either in commercial component you can buy, or in a reusable component already deployed on the LAN.  Always have a look around to see what’s already out there…in the case of the Enterprise Library, the couple of hours it takes to ramp up on how to configure/integrate it is well worth the functionality it provides, plus it's quite extensible.  Just don’t plan on memorizing the source overnight (or probably ever for that matter)…it’s incredibly complex.  Cheers.

Share this post: Submit A+Case+For+and+Against+the+Enterprise+Library to Technorati | Submit A+Case+For+and+Against+the+Enterprise+Library to del.icio.us | Submit A+Case+For+and+Against+the+Enterprise+Library to digg.com | Submit A+Case+For+and+Against+the+Enterprise+Library to reddit.com | Submit A+Case+For+and+Against+the+Enterprise+Library to DotNetKicks | Add A+Case+For+and+Against+the+Enterprise+Library to Live Bookmarks
Only published comments... Aug 04 2005, 01:48 AM by Jayson Knight

Comments

 

Shannon J Hager said:

the problem I have with using this is that I don't want to use ALL of the blocks. the overhead and overkill was too much for the small feature set I needed.
August 6, 2005 1:39 AM
 

Nick Malik said:

To respond to Shannon, The Enterprise Library - June edition contains seven blocks. However, none of them DEPEND on any others. All of the dependencies have been factored up into a single "Common" block that is included with, and referenced by, each of the blocks. This makes them completely seperable. It is true that some have optional plug-ins that are implemented using others, and this can be a bit confusing. The documentation shows how to peel them apart, and it takes only a few minutes to do. I maintain that, for ANY ONE of the blocks, the effort needed to read the documentation and use the block is far less than the effort needed to create that block, and the unit tests, and get it to "code complete."
August 12, 2005 5:19 AM
 

Shannon J Hager said:

Thanks for the reply, Nick. That is definitely good news. I will add this to my "time to try again" list.
August 14, 2005 8:07 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Jayson Knight

Jayson Knight was clueless to the computer programming world until he took a C++ class in college. The rest is proverbial history. He has been building applications targeting the .Net framework for 7 years, focusing mainly on internet technologies and database driven web application development.

Most recently he left the world of Corporate IT to finish up his degree in Chemistry, with an eye on Medical School and an Anesthesiology residency program. Read this post for more information.

He is also a Community Server MVP: Community Server is the software that runs this site, plus many others on the web. For more information, check out http://csmvps.com.

When he finds time to pry himself away from his computer and university studies, he can be found on the mountain bike trails when it's warm, and on the ski slopes when it's cold.

Copyright © :: JaysonKnight.com
External Content © :: Respective Authors

Terms of Service/Privacy Policy