Cover image for Microsoft Enterprise Library 5.0 : Develop Enterprise Applications Using Reusable Software Components of Microsoft Enterprise Library 5.0.
Microsoft Enterprise Library 5.0 : Develop Enterprise Applications Using Reusable Software Components of Microsoft Enterprise Library 5.0.
Title:
Microsoft Enterprise Library 5.0 : Develop Enterprise Applications Using Reusable Software Components of Microsoft Enterprise Library 5.0.
Author:
Joshi, Sachin.
ISBN:
9781849680912
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (268 pages)
Contents:
Microsoft Enterprise Library 5.0 -- Table of Contents -- Microsoft Enterprise Library 5.0 -- Credits -- About the Author -- Acknowledgement -- About the Reviewers -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Getting Started with Enterprise Library -- Introducing Enterprise Library -- Wiring Application Blocks -- Unity Application Block -- Policy Injection Application Block -- Functional Application Blocks -- Data Access Application Block -- Logging Application Block -- Exception Handling Application Block -- Caching Application Block -- Validation Application Block -- Security Application Block -- Cryptography Application Block -- Functional Application Block Dependency -- System requirements -- Installing Enterprise Library -- Enterprise Library Binaries -- Configuration Editor for Visual Studio -- Source Code of Enterprise Library -- Summary -- 2. Data Access Application Block -- Working of Data Access Application Block -- Developing an application -- Referencing the required assemblies -- Adding Data Access Settings -- Adding a namespace -- Understanding the Database class -- SqlDatabase class -- SqlCeDatabase class -- OracleDatabase class -- GenericDatabase class -- Creating a Database instance -- Using the DatabaseFactory class -- Using Unity service locator -- Using Unity container directly -- Retrieving records using ExecuteReader -- Retrieving records using DataSet -- Retrieving a record as an object -- Parameter mappers -- Output mappers -- Default row mappers -- Row mapping using MapBuilder -- Row mapping using IRowMapper -- Result Set mappers -- Data Accessors -- Creating and executing Accessors -- Retrieving multiple records as an object collection -- Retrieving records as XML.

Executing a command using ExecuteNonQuery -- Retrieving scalar values -- Updating records using DataSet -- Working with transactions -- Summary -- 3. Logging Application Block -- Developing an application -- Referencing assemblies -- Adding Logging Settings -- Adding namespaces -- Writing a log message -- Exploring design elements -- LogEntry -- Logger -- Using Logger -- LogWriter -- Adding trace source categories -- Configuring special categories -- Configuring log categories -- Configuring trace listeners -- Configuring Event Log Trace Listener -- Configuring Flat File Trace Listener -- Configuring Rolling Flat File Trace Listener -- Configuring XML Trace Listener -- Configuring Database Trace Listener -- Configuring to send log messages to an e-mail address -- Configuring System Diagnostics Trace Listener -- Configuring Message Queuing Trace Listener -- Configuring WMI Trace Listener -- Configuring custom trace listeners -- Configuring log message formatters -- Configuring logging filters -- Adding a category filter -- Adding a logging enabled filter -- Adding a priority filter -- TraceManager and Tracer -- Tracing activities -- Customizing Logging block elements -- Implementing a custom trace listener -- Configuring the custom trace listener -- Implementing a custom log formatter -- Configuring the custom log formatter -- Implementing a custom log filter -- Configuring the custom log filter -- Summary -- 4. Exception Handling Application Block -- Developing an application -- Referencing required assemblies -- Adding initial Exception Handling settings -- Adding namespaces -- Understanding the Exception Handling block -- Exception policy -- Exception types -- Exception handler -- Exception Manager class -- HandleException method -- Process method -- Stitching together: Exception Policy/Type/Handler -- Creating an Exception Handling block object.

Using the ExceptionPolicy class -- Using Unity service locator -- Using Unity container directly -- Wrapping an exception using Wrap handler -- Configuring a Wrap exception handler -- Replacing an exception using Replace handler -- Configuring a Replace handler -- Logging an exception using Logging handler -- Configuring a Logging handler -- WCF fault contract exception handler -- Generic fault contract creation -- Configuring a fault contract exception handler -- Applying the ExceptionShielding attribute -- Exception handling: WCF Service consumer -- Implementing custom exception handler -- Configuring custom exception handler -- Summary -- 5. Caching Application Block -- Developing an application -- Referencing the required assemblies -- Adding the initial Caching Settings -- Adding namespaces -- Creating the CacheManager instance -- Using the static factory class -- Using the Unity Service Locator -- Using the Unity container directly -- Configuring the in-memory backing store -- Adding items to cache -- Understanding the expiration process -- Expiration policies -- Understanding the Scavenging process -- Reading cached items -- Removing cached items -- Flushing cached items -- Reloading expired items -- Configuring Isolated Cache Storage Backing Store -- Configuring Database Cache Storage -- Configuring and encrypting cached data -- Configuration steps -- Summary -- 6. Validation Application Block -- Validation Application Block features -- Developing an application -- Referencing the required assemblies -- Adding namespaces -- Understanding Validators -- Value Validators -- Object Validators -- Single Member Validators -- Composite Validators -- Understanding Rule Sets -- Understanding ValidatorFactory -- Understanding ValidationResults -- Validating objects using attributes -- Validating values programmatically.

Validating objects using self-validation -- Validating objects using configuration -- Integrating with Windows Forms-based applications -- Steps to leverage ValidationProvider -- Integrating the Validation block with ASP.NET -- Implementing a Custom Validator -- Summary -- 7. Security Application Block -- Developing an application -- Referencing required/optional assemblies -- Adding initial security settings -- Adding namespaces -- Creating security application block objects -- Using the static factory class -- Using Unity service locator -- Using Unity container directly -- Understanding Authorization Providers -- Authorization Rule Provider -- Authorizing using Authorization Rule Provider -- AzMan Authorization Provider -- Understanding Security Cache Provider -- CachingStoreProvider class -- Configuring Security Cache Provider -- Caching and generating a token for an authenticated user -- Associating a token with User Identity, Principal and Profile objects -- Retrieving User Identity, User Principal, and Profile objects -- Expiring User Identity, User Principal, and Profile objects -- Implementing a custom Authorization Provider -- Custom XML Authorization Provider -- Summary -- 8. Cryptography Application Block -- Developing an application -- Referencing required and optional assemblies -- Adding namespaces -- Adding initial cryptography settings -- Working of Hash Provider -- Creating CryptographyManager and IHashProvider instances -- Using the static facade -- Using Unity service locator -- Using Unity container directly -- Configuring Hash Provider -- Generating a hash value -- Comparing hash values -- Implementing a custom Hash Provider -- Configuring a Custom Hash Provider -- Working of symmetric cryptography providers -- Creating CryptographyManager and ISymmetricCryptoProvider instances -- Using the static facade.

Using Unity service locator -- Using Unity container directly -- Configuring the symmetric cryptography provider -- Exporting the key -- Encrypting data -- Decrypting data -- Implementing a custom symmetric provider -- Configuring the custom symmetric provider -- Summary -- Index.
Abstract:
Develop Enterprise applications using reusable software components of Microsoft Enterprise Library 5.0 with this book and eBook.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: