SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Getting Started with Enterprise Library 3.0  in ASP.NET Alex Homer [email_address]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is Enterprise Library? ,[object Object],[object Object],[object Object],[object Object],[object Object]
What is Enterprise Library? ,[object Object],[object Object],[object Object],[object Object],[object Object]
The Application Blocks (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Application Blocks (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Blocks and Dependencies Security Crypto Configuration Data  Access Logging Caching Exception Handling Dependency Plug-in Config Tools Core Policy Injection Validation
Instrumentation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enterprise Library Architecture
Configuration Tools Graphical stand-alone Configuration Console and Visual Studio 2005 Configuration Editor Both create or modify App.config or Web.config
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Installing Enterprise Library ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Quick Start Examples ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Quick Start Examples ,[object Object]
Running the Quick Starts  Demo
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enterprise Library and ASP.NET ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enterprise Library in ASP.NET  Demo
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Trust Levels and Permissions Root  Web.config  file Medium   trust  definitions  file Low trust  definitions  file Minimal trust  definitions  file Application Web.config  file High trust  definitions  file Internal default settings
Trust Levels and Permissions Root  Web.config  file Medium   trust  definitions  file Low trust  definitions  file Minimal trust  definitions  file Application Web.config  file High trust  definitions  file <trust level=&quot;High&quot;  originUrl=&quot;&quot; /> Internal default settings
Trust Levels and Permissions Root  Web.config  file Medium   trust  definitions  file Low trust  definitions  file Minimal trust  definitions  file Application Web.config  file High trust  definitions  file <trust level=&quot;High&quot;  originUrl=&quot;&quot; /> <system.web> <securityPolicy> <trustLevel name=&quot;Full&quot;  policyFile=&quot;internal&quot; /> <trustLevel name=&quot;High&quot;  policyFile=&quot;web_hightrust.config&quot; /> ... </securityPolicy> <trust level=&quot;Full&quot; originUrl=&quot;&quot; /> </system.web> Internal default settings
Trust Levels and Permissions Internal default settings Root  Web.config  file Medium   trust  definitions  file Low trust  definitions  file Minimal trust  definitions  file Application Web.config  file High trust  definitions  file <SecurityClass Name=&quot;FileIOPermission&quot; ... /> <IPermission class=&quot;FileIOPermission&quot; version=&quot;1&quot; Read=&quot;$AppDir$&quot; Write=&quot;$AppDir$&quot; Append=&quot;$AppDir$&quot;  PathDiscovery=&quot;$AppDir$&quot; /> <trust level=&quot;High&quot;  originUrl=&quot;&quot; /> <system.web> <securityPolicy> <trustLevel name=&quot;Full&quot;  policyFile=&quot;internal&quot; /> <trustLevel name=&quot;High&quot;  policyFile=&quot;web_hightrust.config&quot; /> ... </securityPolicy> <trust level=&quot;Full&quot; originUrl=&quot;&quot; /> </system.web>
Partial Trust ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Partial Trust ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Partial Trust ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using Partial Trust in ASP.NET  Demo
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Writing Custom Providers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Cache Backing Store Providers ,[object Object],[object Object],[object Object]
Caching Block ,[object Object],[object Object],[object Object]
A Custom Caching Provider  Demo
References ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http ://www.codeplex.com

Weitere ähnliche Inhalte

Andere mochten auch (11)

Spatial SQL
Spatial SQLSpatial SQL
Spatial SQL
 
Data 101
Data 101Data 101
Data 101
 
ADO.NET Entity Framework
ADO.NET Entity FrameworkADO.NET Entity Framework
ADO.NET Entity Framework
 
Data Modeling Basics
Data Modeling BasicsData Modeling Basics
Data Modeling Basics
 
Importance of data model
Importance of data modelImportance of data model
Importance of data model
 
Data Modeling Presentations I
Data Modeling Presentations IData Modeling Presentations I
Data Modeling Presentations I
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Different data models
Different data modelsDifferent data models
Different data models
 
Data modelling 101
Data modelling 101Data modelling 101
Data modelling 101
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
Dbms models
Dbms modelsDbms models
Dbms models
 

Ähnlich wie Getting Started with Enterprise Library 3.0 in ASP.NET

TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
Nuno Godinho
 
Creating Secure Applications
Creating Secure Applications Creating Secure Applications
Creating Secure Applications
guest879f38
 

Ähnlich wie Getting Started with Enterprise Library 3.0 in ASP.NET (20)

Enterprise Library 3.0 Overview
Enterprise Library 3.0 OverviewEnterprise Library 3.0 Overview
Enterprise Library 3.0 Overview
 
Migration testing framework
Migration testing frameworkMigration testing framework
Migration testing framework
 
Actor Model Import Connector for Microsoft Active Directory
Actor Model Import Connector for Microsoft Active DirectoryActor Model Import Connector for Microsoft Active Directory
Actor Model Import Connector for Microsoft Active Directory
 
ESM Asset Model FlexConnector Developer's Guide for ESM 6.8c
ESM Asset Model FlexConnector Developer's Guide for ESM 6.8cESM Asset Model FlexConnector Developer's Guide for ESM 6.8c
ESM Asset Model FlexConnector Developer's Guide for ESM 6.8c
 
Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?
 
Implementing application security using the .net framework
Implementing application security using the .net frameworkImplementing application security using the .net framework
Implementing application security using the .net framework
 
Ibm
IbmIbm
Ibm
 
Asset Model Import FlexConnector Developer's Guide
Asset Model Import FlexConnector Developer's GuideAsset Model Import FlexConnector Developer's Guide
Asset Model Import FlexConnector Developer's Guide
 
Asset modelimportconn devguide_5.2.1.6190.0
Asset modelimportconn devguide_5.2.1.6190.0Asset modelimportconn devguide_5.2.1.6190.0
Asset modelimportconn devguide_5.2.1.6190.0
 
Asset modelimportconn devguide_5.2.1.6190.0
Asset modelimportconn devguide_5.2.1.6190.0Asset modelimportconn devguide_5.2.1.6190.0
Asset modelimportconn devguide_5.2.1.6190.0
 
Internet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian ThilmanyInternet Explorer 8 for Developers by Christian Thilmany
Internet Explorer 8 for Developers by Christian Thilmany
 
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
 
Enterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core ArchitectureEnterprise Library 2.0 Core Architecture
Enterprise Library 2.0 Core Architecture
 
Securing Portlets With Spring Security
Securing Portlets With Spring SecuritySecuring Portlets With Spring Security
Securing Portlets With Spring Security
 
Improving code quality using CI
Improving code quality using CIImproving code quality using CI
Improving code quality using CI
 
2310 b 15
2310 b 152310 b 15
2310 b 15
 
2310 b 15
2310 b 152310 b 15
2310 b 15
 
Integration Testing in Python
Integration Testing in PythonIntegration Testing in Python
Integration Testing in Python
 
Ajax to the Moon
Ajax to the MoonAjax to the Moon
Ajax to the Moon
 
Creating Secure Applications
Creating Secure Applications Creating Secure Applications
Creating Secure Applications
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Getting Started with Enterprise Library 3.0 in ASP.NET

  • 1. Getting Started with Enterprise Library 3.0 in ASP.NET Alex Homer [email_address]
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Blocks and Dependencies Security Crypto Configuration Data Access Logging Caching Exception Handling Dependency Plug-in Config Tools Core Policy Injection Validation
  • 8.
  • 10. Configuration Tools Graphical stand-alone Configuration Console and Visual Studio 2005 Configuration Editor Both create or modify App.config or Web.config
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Running the Quick Starts Demo
  • 17.
  • 18.
  • 19. Enterprise Library in ASP.NET Demo
  • 20.
  • 21. Trust Levels and Permissions Root Web.config file Medium trust definitions file Low trust definitions file Minimal trust definitions file Application Web.config file High trust definitions file Internal default settings
  • 22. Trust Levels and Permissions Root Web.config file Medium trust definitions file Low trust definitions file Minimal trust definitions file Application Web.config file High trust definitions file <trust level=&quot;High&quot; originUrl=&quot;&quot; /> Internal default settings
  • 23. Trust Levels and Permissions Root Web.config file Medium trust definitions file Low trust definitions file Minimal trust definitions file Application Web.config file High trust definitions file <trust level=&quot;High&quot; originUrl=&quot;&quot; /> <system.web> <securityPolicy> <trustLevel name=&quot;Full&quot; policyFile=&quot;internal&quot; /> <trustLevel name=&quot;High&quot; policyFile=&quot;web_hightrust.config&quot; /> ... </securityPolicy> <trust level=&quot;Full&quot; originUrl=&quot;&quot; /> </system.web> Internal default settings
  • 24. Trust Levels and Permissions Internal default settings Root Web.config file Medium trust definitions file Low trust definitions file Minimal trust definitions file Application Web.config file High trust definitions file <SecurityClass Name=&quot;FileIOPermission&quot; ... /> <IPermission class=&quot;FileIOPermission&quot; version=&quot;1&quot; Read=&quot;$AppDir$&quot; Write=&quot;$AppDir$&quot; Append=&quot;$AppDir$&quot; PathDiscovery=&quot;$AppDir$&quot; /> <trust level=&quot;High&quot; originUrl=&quot;&quot; /> <system.web> <securityPolicy> <trustLevel name=&quot;Full&quot; policyFile=&quot;internal&quot; /> <trustLevel name=&quot;High&quot; policyFile=&quot;web_hightrust.config&quot; /> ... </securityPolicy> <trust level=&quot;Full&quot; originUrl=&quot;&quot; /> </system.web>
  • 25.
  • 26.
  • 27.
  • 28. Using Partial Trust in ASP.NET Demo
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. A Custom Caching Provider Demo
  • 34.