Role of Enterprise Library in Developing a 3-tier architecture application? RRS feed

  • Question

  • Hi,

    I want to know what is the role of Enterprise Library in developing a custom 3-tier architecture for a DB application?
    If it has some role then provide me some example or article showing the utilization of Enterprise Library in 3-tier application.

    If EL has no role in 3-tier architecture then what are the guidelines for developing a simple DAL,BAL for DB application.

    Any sort of material either sample code, articles, links etc. are highly appreciated. 

    Looking forward for an early reply.


    Wednesday, September 26, 2007 7:59 AM

All replies

  • just look and read this site


    and this one from Tom is nice: p&p in the Real World: First Impressions

    and for some basic DAL, BAL? UI, DB practices I recommend these webcasts


    Wednesday, September 26, 2007 8:19 AM
  • Thanks for the Reply.

    I will look into the stuff and will share my opinion with you. Once again thanks for the reply.
    Wednesday, September 26, 2007 10:16 AM
  • Hi,

       Enterprise Library plays an important role in developing a custom 3 tier Architecture.

       Please follow this link



    Hemant Kamalakar

    Wednesday, September 26, 2007 10:17 AM
  • I would highly recommend you look at the sample applications developed by Microsoft in 3 tier architecture. The applications mentioned below contain alot of best practice techniques as well as good design patterns. 


    Microsoft .NET Pet Shop 4.0 (.Net 2.0)


    Stock Trader (.Net 3.0/3.5)


    Dinner Now (.Net 3.0/3.5)


    Its good to take a good understanding in design patterns such as software factories to help build scalable enterprise applications. Using Enterprise Library has to be a must.
    Sunday, September 30, 2007 1:24 PM
  • Hi,

    EntLib tries to solve common problems/requirements experienced by most of the application most of the time irrespective of architecture. e.g. logging, exception handling etc.

    So if you will go through the overview of EntLib you will get the context on how and where to use it.

    I have published few articles on Entlib which can give u good start :


    EntLib : An Overview :


    Enterprise Library Tutorials :


    Pls let us know if you have any more adoption queries.

    vikas goyal

    Tuesday, October 9, 2007 12:50 PM
  • Hi,

    Dear Vikas your reply so far really seems sound to me because it tries to explain the real role of EntLib and utilization of it irrespective of application architecture.Please guide me about the following:

    1) If you are saying irrespective of architecture so, i can implement EntLib on either Client/Server, 3 tier , n-tier (Desk top and Web) applications? Is it true.

    2) If above 1) is true then how could i utilize these application blocks in 3 tier architecture application with having all 3 layers separately working. I mean which application blocks are to be placed in DAL,BAL and how can i manage the execution?
    3) Is it better to use EntLib in Professional Projects, is it one of the best practices, if yes then justify how?

    I would like to say thanks to all the people who post their precious replies to my query. I really thank them all from the bottome of my heart as they not only give their precious time to me but also provide usefull stuff.

    Looking forward for an early reply.

    Wednesday, October 10, 2007 7:07 AM
  • Hi,

    Here are my replies :

    1) Yes.

    2) These are managed libraries and so run under the context of application using them. Consider two of the blocks : logging and Data Access applicaiton block. Now logging is done in every layer of the application and so logging app block can be used accross the app. Data Access is performed in DAL and so Data Access App block is best suited for that layer.

    3) EntLib implements best practices for developing the framework and so by using Entlib, you are actually adopting best practices.

    vikas goyal

    Wednesday, October 10, 2007 8:12 AM
  • Hi,

    i read the article from Tom
    its good, it provides a feel about implementation of EntLib in real world projects.

    The webcasts are also useful.

    Thanks dear.

    Khalid Hussain
    Wednesday, October 10, 2007 8:29 AM
  • Thanks for ur reply.

    Can I distribute the Assemblies of EntLib. with my Application?

    Is there any Licencing issue?

    Wednesday, October 10, 2007 11:03 AM
  • Hi,
    Vikas, if possible plz provide me some sample application implementing EntLib. in a 3 tier-architecture.
    Wednesday, October 10, 2007 11:19 AM