Download presentation
Presentation is loading. Please wait.
1
Enterprise Library Overview
ARC316 Enterprise Library Overview Nigel Watson & Martin Granell Architect Advisor Architect MVP Microsoft Australia Readify Pty
2
Agenda patterns & practices Enterprise Library Vision The Blocks
What do I do now? What’s coming up… Questions
3
patterns & practices Architecture Guidance
Proven Based on field experience Authoritative Offer the best advice available Accurate Technically validated and tested Actionable Provide the steps to success Relevant Address real-world problems based on customer scenarios Available online: Books available: Patterns Application Blocks Reference Architectures Atomic solutions to recurring problems Sub-system-level guidance for common services System-level guidance for common customer scenarios D A D I D A D I D A I A A D D I I Guides Guidance for broad horizontal topics such as security, performance, deployment and operations
4
Re-inventing the wheel…
Logging to a text file? Saving configuration? …wishing Microsoft had done some of this for you?
5
Application Blocks What are Application Blocks?
Designed to address ‘wheel reinvention’ Have been around for a couple of years Ranged from very simple helpers like the original data access block to powerful frameworks like UIP Have evolved – input from lots of internal and external teams, but particularly from customer feedback
6
Feedback We love XML configuration We love “blog documentation”
We like deploying EVERYTHING API job security
7
Enterprise Library Philosophy
Interoperable but independent Minimize dependencies Easier configuration Scenario driven Documented Consistent
8
Enterprise Library Enterprise Library v1.1 released Jun 2005
Incorporates patches over 1.0 Compatible with .NET 2.0 What it is: Free source code Supported by PSS Architecture Neutral Not: Part of .NET Framework
9
Enterprise Library Vision
Customer Y library Partner X library p&p Enterprise Library Customer Z library p&p blocks Partner blocks Customer blocks Block Specification Community blocks
10
Enterprise Library v1 Legend Dependency Plug-in Caching Exceptions
Security Data Access Logging Dependency Crypto Plug-in Configuration Config Tool
11
Configuration Application Block
Scenarios Read/Write Configuration Shared Configuration Integrated Configuration User Interface Encryption Block Provides De-couples code from storage Events for configuration change Framework for rich configuration user interface
12
Data Access Application Block
Scenarios Connection Lifetime Management Unified Data Access API Configurable connections Block Provides Best-practice for using ADO.NET Connection string encryption Single line data access
13
Security Application Block
Scenarios Authenticate users Authorise users Determine a user’s role Manage user profiles Cache credentials Block Provides Provider model for security A set of implementations Defaults to best practice
14
Cryptography Application Block
Scenarios Encrypt data with symmetric keys Encrypt information for local access Hash passwords before storage Block Provides A simple object model for crypto Supports .NET crypto classes Supports DPAPI for keyless crypto Runtime configurable
15
Logging and Instrumentation Application Block
Scenarios Logging Distributed logging Tracing Variable levels of detail Block Provides Single line model for logging Runtime configuration change with UI Sinks: EventLog, DB, .TXT, MSMQ, , WMI …
16
Exception Handling Block
Scenarios Consistent exception handling Exception transformation A way to add context to exceptions Block Provides Standard exception handling pattern Policy-based exception handling Built-in Actions: Wrap/Replace/Log.
17
Caching Application Block
Scenario Offline persistent/encrypted data Local thread-safe data cache NOT a distributed cache Block Provides Provides optionally persistent/encrypted cache Supports plug-in cache persistence model Configured via Configuration Tool Thread-safe
18
Using Enterprise Library
Enterprise Library is provided “as-is” Own the code Migration options Do nothing Side by side Rewrite
19
Future plans Enterprise Library V2 Coming up Enablement
Migration into Framework Smart Client Enablement Guidance and Automation Toolkit Deeper community penetration .NET 2.0 / Visual Studio 2005 release Blocks revved to adhere to best practices of new platform Integration with new VS2005 experiences
21
Your Feedback is Important!
We invite you to participate in our online evaluation on CommNet, accessible Friday only If you choose to complete the evaluation online, there is no need to complete the paper evaluation
23
© 2005 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.