Leveraging Enterprise Library in Your Applications Keith Elder Quicken Loans Manager, Sr. Software Engineer Microsoft MVP Keith a t keithelder dot net.

Slides:



Advertisements
Similar presentations
.NET Technology. Introduction Overview of.NET What.NET means for Developers, Users and Businesses Two.NET Research Projects:.NET Generics AsmL.
Advertisements

Michael S. Chan xLM Solutions, LLC
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Enterprise Smart Clients Architecture, Patterns, Design, Best Practices Keith Elder Manager, Sr. Software Engineer Quicken Loans Blog:
Enterprise development reference architecture (EDRA) -Deepti Seelamsetti.
Developing Smart Client Applications For The Enterprise Keith Elder Team Leader / Sr. Software Engineer Quicken Loans Blog:
True IT Solutions For You 1 IT Solutions Software Development and Web Design.
Introduction to Windows Workflow Foundation (WF) Keith Elder Microsoft MVP Blog: Quicken Loans –
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Originally founded in 1985 as Rock Financial by Dan Gilbert Grew to one of the largest independent mortgage banks in the country 1998 IPO 1999 Launched.
Structure and Guidance for Organizing Applications within Visual Studio Keith Elder Quicken Loans Manager, Sr. Software Engineer Microsoft MVP Keith a.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Tom Hollander Solution Architect Solutions Development Centre Microsoft Australia ARC307.
Patterns & practices Enterprise Library Brian Button Consultant/Developer patterns & practices.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Powerful, modern desktops enable next generation applications Hardware acceleration brings real-time lighting, texturing and rendering Visual.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
SHARE POINT 2010 TRINAY TECHNOLOGY SOLUTIONS © Copyright Trinay Technology Solutions, 39 Buckland St, #5321 Manchester, CT
CONFIGURING WINDOWS SERVER MIS 424 Professor Sandvig.
9.1 © 2004 Pearson Education, Inc. Lesson 9: Implementing Group Policy in Windows 2000 Server Exam Microsoft® Windows® 2000 Directory Services Infrastructure.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
DYNAMICS CRM AS AN xRM DEVELOPMENT PLATFORM Jim Novak Solution Architect Celedon Partners, LLC
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Doing Something Useful with Enterprise Library 3.0 Benjamin Day Level: Intermediate.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Todd Snyder Development Team Lead Infragistics Experience Design Group.
DotNetNuke Portal Private Assembly Development Stan Schultes Stan Schultes Enterprise architect / application developer Enterprise architect / application.
Keith Elder Microsoft MVP
Enterprise Library Building an Application Block Ed Jezierski Solution Architect Scott Densmore Software Engineer Ron Jacobs Product Manager.
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
.NET Framework Danish Sami UG Lead.NetFoundry
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Two Installing and Configuring Exchange Server 2003.
Deploy.NET Applications with Ease Brian Noyes IDesign, Inc.
(Building the Presentation Layer - KISS). Figuring out what to do! Every was not learnt over night and certainly not without proper help and support.
Module 3 Configuring File Access and Printers on Windows 7 Clients.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
Configuring and Deploying Web Applications Lesson 7.
Enterprise Library Caching Application Block Peter Provost Software Design Engineer Ron Jacobs Product Manager Scott Densmore Software Design Engineer.
EMEA Beat Schwegler Architect Microsoft EMEA HQ Ingo Rammer Principal Consultant thinktecture
Enterprise Library Overview Tom Hollander Product Manager Microsoft Edward Jezierski ArchitectMicrosoft Kyle Huntley Architect Avanade Ron Jacobs Product.
Sharepoint-Biztalk Integration with Multiple Transport protocols Jin Thakur
Troubleshooting Workflow 8 Raymond Cruz, Software Support Engineer.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
David Boike Presentation and source:
A Web Service Software Factory Introduction Don Smith Product Manager patterns & practices.
Windows Workflow Foundation Guy Burstein Senior Consultant Advantech – Microsoft Division
Managing Database objects in Visual Studio and Team Foundation Server Presented by Sean P SQL Saturday - Phoenix 2016.
Enterprise Library 3.0 Memi Lavi Solution Architect Microsoft Consulting Services Guy Burstein Senior Consultant Advantech – Microsoft Division.
SharePoint Online and PowerShell?
Building Enterprise Applications Using Visual Studio®
Introducing the Microsoft® .NET Framework
Getting Started on The Project Bank in Visual Studio
Introduction to Visual Basic 2008 Programming
ASP.NET MVC Introduction
Visual Studio Tools for Office 2005
Enterprise Library Overview
Creating Custom Workflow Activities with Windows Workflow Foundation
Module 0: Introduction Chapter 2: Getting Started
Smoke and Mirrors Prototype
LitwareHR v2: an S+S reference application
Smoke and Mirrors Prototype
DAT381 Team Development with SQL Server 2005
Windows Forms in Visual Studio 2005: An in-depth look at key features
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Leveraging Enterprise Library in Your Applications Keith Elder Quicken Loans Manager, Sr. Software Engineer Microsoft MVP Keith a t keithelder dot net Blog:

About Quicken Loans  Originally founded in 1985 as Rock Financial by Dan Gilbert  Grew to one of the largest independent mortgage banks in the country  1998 IPO  1999 Launched Rockloans.Com  1999 Intuit, Inc (makers of TurboTax and Quicken) purchased Rock Financial.  July 2002 Dan Gilbert purchased Quicken Loans back from Intuit. Retained Quicken Loans branding and marketing initiatives.  4500 employees  Largest online retail home loan lender

Take Aways  Why would I want to use EntLib?  How do I incorporate it into my solutions with source control?  Code samples  How do I use it?

What is Enterprise Library  Set of tools and programming libraries for.Net framework  Developed by Patterns and Practices Team  Benefits  Improved Productivity: Each of the Application Blocks provides several interfaces meant to satisfy common application concerns.  Configuration Driven Design: Many technical decisions about the application behavior can be delayed until configuration time of the application.  Broken down into re-usable blocks

Getting Started

Setup Tips  Download MSI from Microsoft web site  ils.aspx?familyid=4C557C63-708F F0C C31718&displaylang=en ils.aspx?familyid=4C557C63-708F F0C C31718&displaylang=en ils.aspx?familyid=4C557C63-708F F0C C31718&displaylang=en  Installing source code is optional  Once setup prepare a version to be used in projects  Full  Runtime  Familiarize yourself with EntLib Console

Folder Structure For Application ModuleModule Project FoldersProject Folders Project Folder

 Full – Take all the files from c:\Program Files\Microsoft Enterprise …..\bin\* except the.xml files  Any custom exceptions thrown will need to have DLLs copied here so config tool works properly  Runtime – All the DLLs that you add as a reference. Exclude *.design.* DLLs Suggested Way To Add EntLib to Your Projects (see talk on Structure and Guidance for Organizing Solutions in Visual Studio)

Enterprise Library Console

Application Blocks  Caching  Data Access  Cryptography  Exception Handling  Logging  Policy Injection  Security  Validation

Caching Block  Isolated Storage  Database  Custom  Allows for encryption of cached data through Cryptography block

Caching Block Demo

Data Access  Uses Ado.Net 2.0  Reduces the need to write boilerplate code for standard tasks  Maintain consistent data access practices  Relieves developers from learning different programming models for different types of database  Reduces the amount of code that developers must write when they port applications to different databases  Other Blocks That Use It  Caching (schema provided)  Logging (schema provided)  Exception Handling

Data Access Block Demo

Cryptography  Reduces the need to write boilerplate code for standard tasks  Maintain consistent cryptography practices within applications and across the enterprise  Easy learning curve for developers  Provides implementations to solve common application cryptography problems  Extensible, implement your own

Cryptography Demo

Exception  Supports exception handling in all architectural layers of an application  Allows exception policies to be defined and maintained by admins or devs, can change on the fly  Common tasks  Logging  Hide sensitive information by replacing original exception with another  Eat exceptions  Developers can create their own exception handlers

Logging  Write information to a variety of places  Event log  message  Database (schema provided)  Message Queue  Text File (supports rolling files)  WMI Event  Custom location using extension points  Application code does not specify the destination for the information, configuration settings determine whether the block writes the information and where  us/library/aa aspx us/library/aa aspx us/library/aa aspx

Exception Handling & Logging Demo

Security  Reduces boilerplate code for standard tasks  Maintains consisent security practices within applications and enterprise  Eases learning curve  Change security roles and permissions on the fly  Extensible

Security Demo

Validation Block  Three ways to perform validation  Using configuration  Using attributes  Using code  Includes adapters for  Asp.Net  Windows Forms  Windows Communication Foundation  Includes validators for most standard.Net data types  Associate multiple rule sets with the same class and with members of that class

Validation Demo

Policy Injection Block  Apply policies to object instances  Rules  Assembly  CustomAttribute  MemberName  MethodSignature  Namspace  Property  ReturnType  TagAttribute  Type  Example:  account.Withdraw(25)  Security, Logging, Validation

Policy Injection Demo

Combing the blocks Demo

Resources  Patterns and Practices   Smart Client Software Factory  Enterprise Library  Web Services Software Factory  Mobile Software Factory  My Blog    Keith a t keithelder dot net