Microsoft Pattern and Practices Enterprise Library (FAQ & Overview) General QuestionWhat is Enterprise LibraryIt is collection of reusable configurable and flexible classes that solved repetitive task such as opening/closing data bases, logging etc in plug and play style. What is the current release5.0 is the latest release What purpose it solveIt reduces the overall development time by providing out of box solution for crosscutting concerns like data access, logging , security etc. A feature analysis can be found here What are main consumers of this libraryAny one who is developing enterprise level solution and need adopt a rapid development approach. What are the main component of the libraryHow does this library works
What is Container in reference of Enterprise LibraryContainer can be assumed as very advance version of object factory where object factory creates object and forgot but containers creates object and do complex task like life cycle management, service location , and runtime dependency resolution. It can be viewed as a complex configurable factory + object manager. What is "Enterprise Library objects"Theses are conceptual object such as Database that hides level details and provide uniform way of performing intended task Database db = EnterpriseLibraryContainer.Current.GetInstance<Database>("QuickStarts Instance"); How many ways we can get service object in EntLibThere are two way using default Using the Enterprise Library service locator and Using the container as the service locator both has there own pros and cons as below
Data Access Application BlockWhat is Data Accessors
Does DAAB support Asynchronous data accessIn Enterprise Library 5.0, the only database type that supports asynchronous operation is the SqlDatabase class.The Database class exposes a Boolean property named SupportsAsync that you can check at run time to determine if asynchronous operations are supported. http://msdn.microsoft.com/en-us/library/ff664710(PandP.50).aspx Unity ContainerWhat is Unity container ?Unity container that holds the Enterprise Library configuration information. It provide required information to service locator how to find a particular service instance object such as Database Cache Application BlockAdvance QuestionEntity Framework Vs Data Access Application Block |