Last post Feb 13, 2012 07:08 AM by shreenidhi
Feb 06, 2012 11:16 AM|shreenidhi|LINK
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.
Feb 09, 2012 08:47 AM|cnranasinghe|LINK
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
Feb 10, 2012 07:15 AM|shreenidhi|LINK
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
Feb 10, 2012 07:21 AM|Alig|LINK
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.
Hope this may help you..
Feb 10, 2012 09:16 AM|cnranasinghe|LINK
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.
Feb 10, 2012 09:43 AM|shreenidhi|LINK
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
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.
Feb 10, 2012 10:33 AM|cnranasinghe|LINK
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.
Better google more if this is critical milestone.
Feb 13, 2012 07:08 AM|shreenidhi|LINK
Thanks for your time and response. The link has some information. :)
Thanks for the link. :)