locked
How to start configuring Application blocks RRS feed

  • Question

  • User-1401876114 posted

    Hello Friends,

    I am trying my best on how to start with usage of application blocks in any project. I have studied about application blocks. Now I am very new to these blocks. My questions are:

    1. I have installed the Ent Lib 5, how to being configuration of blocks.

    2. What is the necessity of these blocks?

    3. How the data travels from one layer to another layer?If so then what to use?

    4. What is the benefits for a developer/architect.

    5. Is there any step by step user guide [Apart from MICROSOFT USER GUIDE] to achive the same?

    6. Any videos avail  for the same. In you tube there only 2-3 videos for the same. But I need to learn these layers as these layered approach is mostly used in all the projects across the industry.

    Any help would be greatly appreciated and would be considered.

    Thanks folks!

    Monday, February 6, 2012 6:16 AM

Answers

  • User-37275327 posted

    Hi

    There is no documentation EL 5 yet. But in v 4.1 it is was there. check da link. But not sure it is deprecated or not.

    http://entlibcontrib.codeplex.com/wikipage?title=Mapping%20Application%20Block%204.1&version=5

    Better google more if this is critical milestone.

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 10, 2012 5:33 AM

All replies

  • User-37275327 posted

    Enterpise libraries got followings, each has different functionality to build an enterprise level applications.

    Validation Application Block - http://www.codeproject.com/Articles/17485/Introduction-to-the-Validation-Application-Block
    Logging Application Block - http://www.dotnetfunda.com/articles/article1325-how-to-use-logging-application-block-in-enterprise-library-50.aspx
    Exception error Handling - http://www.devx.com/dotnet/Article/31463
    Data Application Block - http://www.codeproject.com/Articles/8111/Microsoft-Application-Block-for-Data-Access-in-NET
    Caching Application Block - http://www.dotnetfunda.com/articles/article1325-how-to-use-logging-application-block-in-enterprise-library-50.aspx
    Security Application Block - http://www.dotnetfunda.com/articles/article1325-how-to-use-logging-application-block-in-enterprise-library-50.aspx
    Policy Injection Application Block - http://dotnetwithme.blogspot.com/2007/04/tutorial-policy-injection-application.html
    Unity Application Block - http://codethatworks.blogspot.com/2008/11/unity-application-block-21-tutorial.html

    Thanks

    Thursday, February 9, 2012 3:47 AM
  • User-1401876114 posted

    Hi cnranasinghe, Thanks for the answer. I have got some online resources for the same. But I can u tell me, how the data transfers from one layer to another? The reason for my question is that our peers told we may have to use some utility to trasnfer data from one layers to another. Is that correct or Im I getting confused with the architecture?

    Thanks in advance

    Friday, February 10, 2012 2:15 AM
  • User1663493495 posted

    download hand-On labs for microsoft enterprise library, it provides step-by-step to learn how to use each block in MEL.

    Starting new then you must use hand-On from microsoft.

    http://www.microsoft.com/download/en/details.aspx?id=6932

    Hope this may help you..

    Friday, February 10, 2012 2:21 AM
  • User-37275327 posted

    Hi

    What sort of layer? Data Access layer ? Business layer? or Service layer?

    It is smart to seperate the logics in to different layers (logically seperate). When in maintenece mode it is super easy to work with. Traditional architecture is Presentation layer, Business layer, Data acess layer. you can split it to more layers depending the project currently handling. Ultimate goal should be clarity of coding, easy on maintence, easy on revisiting etc.

    Friday, February 10, 2012 4:16 AM
  • User-1401876114 posted

    Hi cnranasinghe,

    Well let me explain to you completly. Our project included layers like Presentation, Application, Business, Facade, Service etc. So the WCF/Web services were from service layer, logics in Business layer. When a request is made to service, the data used to travel from service layer to presentation layer through Automappers. Automappers are 3rd party kits to enable data transfer between objects.

    So my main reason to post this thread was to know what exactly this layers are and how this work. I came to know lately that it was Enterprise Lib version1. But latest is EL 5. So as I am bit new to this architecture, I need to know complete details of these blocks.

    The searhced the Mircosotf help. The concepts are clear but I need to know more on this like some of the questions which I have posted.I have got many information on the net So i just needed some more how to s and FAQ of these blocks.

    So Finally I wanted to know if EL 5 also usses Automappers as we used it earlier version of EL1/2.

    Thanks for your time.

    Regards!

    Friday, February 10, 2012 4:43 AM
  • User-37275327 posted

    Hi

    There is no documentation EL 5 yet. But in v 4.1 it is was there. check da link. But not sure it is deprecated or not.

    http://entlibcontrib.codeplex.com/wikipage?title=Mapping%20Application%20Block%204.1&version=5

    Better google more if this is critical milestone.

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 10, 2012 5:33 AM
  • User-1401876114 posted

    Thanks for your time and response. The link has some information. :)

    Monday, February 13, 2012 2:08 AM
  • User-1401876114 posted

    Thanks for the link. :)

    Monday, February 13, 2012 2:08 AM