SlideShare a Scribd company logo
1 of 30
Enterprise Library for  .NET Framework 2.0: Core Architecture
Enterprise Library for .NET Framework 2.0 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Key Changes from Enterprise Library 1.x ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enterprise Library for .NET Framework 2.0 Caching Security Data  Access Logging Exception Handling Cryptography Core Block Dependency Optional Provider Dependency Plug-in Config Helpers  & Design Instrumen- tation Object Builder
Enterprise Library for .NET Framework 2.0 Caching Security Data  Access Logging Exception Handling Plug-in Config Helpers  & Design Instrumen- tation Object Builder Cryptography Core Block Dependency Optional Provider Dependency
Core Architecture ,[object Object],[object Object],[object Object],[object Object]
Configuration in Enterprise Library ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
System.Configuration in .NET 2.0 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration Runtime ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration Sources Application Blocks or Custom Code IConfigurationSource SystemConfiguration Source FileConfiguration Source SqlConfiguration Source app.config / web.config foo.config app.config / web.config Default ConfigurationSource = 
 System.Configuration File Watcher File Watcher
Configuration Sources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Choosing a Configuration Source ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration Source Examples ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],< enterpriseLibrary.ConfigurationSource   selectedSource =&quot;fileSource&quot;>   < sources >   < add   name =&quot;fileSource&quot;  type =&quot;Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common&quot;  filePath =&quot;test.config&quot;/> < add   name =&quot;systemSource&quot;  type =&quot;Microsoft.Practices.EnterpriseLibrary.Common.Configuration.SystemConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common&quot;/> </ sources >   </ enterpriseLibrary.ConfigurationSource >
Change Notifications ,[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration Design and Tooling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuration Design-Time ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Instrumentation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enabling Instrumentation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Instrumentation Architecture ,[object Object],Instrumentation Provider Class(es) Instrumentation Listener Class(es) Instrumentation Configuration Settings WMI Perf Counters Event Log Event ObjectBuilder Wires up Application or Block calls
Instrumentation Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Instrumentation Example public class  Database :  IInstrumentationEventProvider  {   DbConnection OpenConnection() { // Do stuff instrumentationProvider.FireConnectionOpenedEvent(); } public object GetInstrumentationEventProvider() { return instrumentationProvider;  } }   [InstrumentationListener(   typeof(DataInstrumentationListener), typeof(DataInstrumentationListenerBinder))] public class  DataInstrumentationProvider   { [InstrumentationProvider(&quot;ConnectionOpened&quot;)] public event  E ventHandler<EventArgs>  connectionOpened; public void FireConnectionOpenedEvent() { connectionOpened(this, new EventArgs()); } internal class  DataInstrumentationListener  : InstrumentationListener  { public DataInstrumentationListener(string instanceName,  bool perfCountersEnabled, bool eventLogEnabled, bool wmiEnabled) : base(perf
, event
, wmi
)  {} [InstrumentationConsumer( “ConnectionOpened&quot;)] public void ConnectionOpened(object sender, EventArgs e) { if (PerformanceCountersEnabled) connectionOpenedCounter.Increment(); }
Instrumentation Installation Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Factories and Object Builder ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object Builder ,[object Object],[object Object],[object Object],[object Object],[object Object]
Factories Core Application Block Static Factory or façade Instance  Provider Factory Enterprise Library Factory Custom Factory Block Objects Object Builder Strategies User Code Configuration Source
Using Static Facades and Factories ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using Instance Provider Factories ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Objects Directly ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Resources  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 

More Related Content

What's hot

.NET Core, ASP.NET Core Course, Session 8
.NET Core, ASP.NET Core Course, Session 8.NET Core, ASP.NET Core Course, Session 8
.NET Core, ASP.NET Core Course, Session 8aminmesbahi
 
Informix Data Streaming Overview
Informix Data Streaming OverviewInformix Data Streaming Overview
Informix Data Streaming OverviewBrian Hughes
 
.NET Attributes and Reflection - What a Developer Needs to Know...
.NET Attributes and Reflection - What a Developer Needs to Know....NET Attributes and Reflection - What a Developer Needs to Know...
.NET Attributes and Reflection - What a Developer Needs to Know...Dan Douglas
 
Repository Pattern in MVC3 Application with Entity Framework
Repository Pattern in MVC3 Application with Entity FrameworkRepository Pattern in MVC3 Application with Entity Framework
Repository Pattern in MVC3 Application with Entity FrameworkAkhil Mittal
 
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.Richard Langlois P. Eng.
 

What's hot (9)

Day7
Day7Day7
Day7
 
.NET Core, ASP.NET Core Course, Session 8
.NET Core, ASP.NET Core Course, Session 8.NET Core, ASP.NET Core Course, Session 8
.NET Core, ASP.NET Core Course, Session 8
 
Informix Data Streaming Overview
Informix Data Streaming OverviewInformix Data Streaming Overview
Informix Data Streaming Overview
 
Day6
Day6Day6
Day6
 
.NET Attributes and Reflection - What a Developer Needs to Know...
.NET Attributes and Reflection - What a Developer Needs to Know....NET Attributes and Reflection - What a Developer Needs to Know...
.NET Attributes and Reflection - What a Developer Needs to Know...
 
Day1
Day1Day1
Day1
 
Repository Pattern in MVC3 Application with Entity Framework
Repository Pattern in MVC3 Application with Entity FrameworkRepository Pattern in MVC3 Application with Entity Framework
Repository Pattern in MVC3 Application with Entity Framework
 
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
Continuous Test Automation, by Richard Langlois P. Eng. and Yuri Pechenko.
 
Day5
Day5Day5
Day5
 

Similar to Enterprise Library 2.0 Core Architecture

Enterprise Library 3.0 Overview
Enterprise Library 3.0 OverviewEnterprise Library 3.0 Overview
Enterprise Library 3.0 Overviewmcgurk
 
Net framework session03
Net framework session03Net framework session03
Net framework session03Vivek chan
 
IntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and PerformanceIntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and Performanceintelliyole
 
Play framework : A Walkthrough
Play framework : A WalkthroughPlay framework : A Walkthrough
Play framework : A Walkthroughmitesh_sharma
 
THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#MANOJ BURI
 
Talk on .NET assemblies
Talk on .NET assembliesTalk on .NET assemblies
Talk on .NET assembliesVidya Agarwal
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2Devukjs
 
Getting Started with Enterprise Library 3.0 in ASP.NET
Getting Started with Enterprise Library 3.0 in ASP.NETGetting Started with Enterprise Library 3.0 in ASP.NET
Getting Started with Enterprise Library 3.0 in ASP.NETPhilWinstanley
 
Consuming and Creating Libraries in C++
Consuming and Creating Libraries in C++Consuming and Creating Libraries in C++
Consuming and Creating Libraries in C++Richard Thomson
 
VRE Cancer Imaging BL RIC Workshop 22032011
VRE Cancer Imaging BL RIC Workshop 22032011VRE Cancer Imaging BL RIC Workshop 22032011
VRE Cancer Imaging BL RIC Workshop 22032011djmichael156
 
Managing Your Runtime With P2
Managing Your Runtime With P2Managing Your Runtime With P2
Managing Your Runtime With P2Pascal Rapicault
 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and GitAlec Clews
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16zeesniper
 
.Net assembly
.Net assembly.Net assembly
.Net assemblymahesh2386
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the BasicsUlrich Krause
 
Bfc Presentation
Bfc PresentationBfc Presentation
Bfc PresentationHerea Adrian
 
Net framework session03
Net framework session03Net framework session03
Net framework session03Niit Care
 
Jetpack, with new features in 2021 GDG Georgetown IO Extended
Jetpack, with new features in 2021 GDG Georgetown IO ExtendedJetpack, with new features in 2021 GDG Georgetown IO Extended
Jetpack, with new features in 2021 GDG Georgetown IO ExtendedToru Wonyoung Choi
 

Similar to Enterprise Library 2.0 Core Architecture (20)

Enterprise Library 3.0 Overview
Enterprise Library 3.0 OverviewEnterprise Library 3.0 Overview
Enterprise Library 3.0 Overview
 
Net framework session03
Net framework session03Net framework session03
Net framework session03
 
IntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and PerformanceIntelliJ IDEA Architecture and Performance
IntelliJ IDEA Architecture and Performance
 
Play framework : A Walkthrough
Play framework : A WalkthroughPlay framework : A Walkthrough
Play framework : A Walkthrough
 
ClearCase Basics
ClearCase BasicsClearCase Basics
ClearCase Basics
 
THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#
 
Talk on .NET assemblies
Talk on .NET assembliesTalk on .NET assemblies
Talk on .NET assemblies
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
Getting Started with Enterprise Library 3.0 in ASP.NET
Getting Started with Enterprise Library 3.0 in ASP.NETGetting Started with Enterprise Library 3.0 in ASP.NET
Getting Started with Enterprise Library 3.0 in ASP.NET
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Consuming and Creating Libraries in C++
Consuming and Creating Libraries in C++Consuming and Creating Libraries in C++
Consuming and Creating Libraries in C++
 
VRE Cancer Imaging BL RIC Workshop 22032011
VRE Cancer Imaging BL RIC Workshop 22032011VRE Cancer Imaging BL RIC Workshop 22032011
VRE Cancer Imaging BL RIC Workshop 22032011
 
Managing Your Runtime With P2
Managing Your Runtime With P2Managing Your Runtime With P2
Managing Your Runtime With P2
 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and Git
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
 
.Net assembly
.Net assembly.Net assembly
.Net assembly
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics
 
Bfc Presentation
Bfc PresentationBfc Presentation
Bfc Presentation
 
Net framework session03
Net framework session03Net framework session03
Net framework session03
 
Jetpack, with new features in 2021 GDG Georgetown IO Extended
Jetpack, with new features in 2021 GDG Georgetown IO ExtendedJetpack, with new features in 2021 GDG Georgetown IO Extended
Jetpack, with new features in 2021 GDG Georgetown IO Extended
 

Recently uploaded

Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...
Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...
Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...Lviv Startup Club
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 DelhiCall Girls in Delhi
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdftbatkhuu1
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...lizamodels9
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 

Recently uploaded (20)

Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...
Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...
Yaroslav Rozhankivskyy: бро сĐșĐ»Đ°ĐŽĐŸĐČі і тро ĐżĐ”Ń€Đ”ĐŽŃƒĐŒĐŸĐČĐž ĐŒĐ°ĐșŃĐžĐŒĐ°Đ»ŃŒĐœĐŸŃ— ĐżŃ€ĐŸĐŽŃƒĐșтоĐČĐœ...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdf
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➄99902@11544 ( Best price)100% Genu...
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 

Enterprise Library 2.0 Core Architecture

  • 1. Enterprise Library for .NET Framework 2.0: Core Architecture
  • 2.
  • 3.
  • 4. Enterprise Library for .NET Framework 2.0 Caching Security Data Access Logging Exception Handling Cryptography Core Block Dependency Optional Provider Dependency Plug-in Config Helpers & Design Instrumen- tation Object Builder
  • 5. Enterprise Library for .NET Framework 2.0 Caching Security Data Access Logging Exception Handling Plug-in Config Helpers & Design Instrumen- tation Object Builder Cryptography Core Block Dependency Optional Provider Dependency
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Configuration Sources Application Blocks or Custom Code IConfigurationSource SystemConfiguration Source FileConfiguration Source SqlConfiguration Source app.config / web.config foo.config app.config / web.config Default ConfigurationSource = 
 System.Configuration File Watcher File Watcher
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Instrumentation Example public class Database : IInstrumentationEventProvider { DbConnection OpenConnection() { // Do stuff instrumentationProvider.FireConnectionOpenedEvent(); } public object GetInstrumentationEventProvider() { return instrumentationProvider; } } [InstrumentationListener( typeof(DataInstrumentationListener), typeof(DataInstrumentationListenerBinder))] public class DataInstrumentationProvider { [InstrumentationProvider(&quot;ConnectionOpened&quot;)] public event E ventHandler<EventArgs> connectionOpened; public void FireConnectionOpenedEvent() { connectionOpened(this, new EventArgs()); } internal class DataInstrumentationListener : InstrumentationListener { public DataInstrumentationListener(string instanceName, bool perfCountersEnabled, bool eventLogEnabled, bool wmiEnabled) : base(perf
, event
, wmi
) {} [InstrumentationConsumer( “ConnectionOpened&quot;)] public void ConnectionOpened(object sender, EventArgs e) { if (PerformanceCountersEnabled) connectionOpenedCounter.Increment(); }
  • 22.
  • 23.
  • 24.
  • 25. Factories Core Application Block Static Factory or façade Instance Provider Factory Enterprise Library Factory Custom Factory Block Objects Object Builder Strategies User Code Configuration Source
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Â