The Definitive Guide to the Microsoft Enterprise Library (eBook)
XXI, 498 Seiten
Apress (Verlag)
978-1-4302-0315-5 (ISBN)
This book introduces one of the most exciting and popular .NET-oriented initiatives; the Enterprise Application Library, which offers nine classes of reusable code used to solve a variety of common problem spaces. It is the first book to introduce all ten of the enterprise application blocks, which have been recently updated for .NET 2.0. It covers a number of topics, including configuration, data access, exception management, caching, application updates, UI separation, asynchronous invocation, logging, security, and XML-based information aggregation. With this book readers will be able to build .NET applications faster and more efficiently.
Keenan Newton has over 10 years of experience designing, architecting, and developing N-tier applications for both Windows and web environments, with an emphasis on Web Services, ADO.NET, and service-oriented architecture (SOA). He is a speaker at local .NET user groups, and has been published in CoDe Magazine. Keenan is employed as a senior consultant for Microsoft Consulting Services.
The Definitive Guide to the Microsoft Enterprise Library introduces one of the most exciting and popular .NET-oriented initiatives, the Enterprise Library. The EL offers eight application blocks and other reusable code that are used to solve a variety of common problem spaces. These problems cover a number of topics, including data access, exception handling, caching, logging, security, cryptography, validation, policy injection and configuration.Author Keenan Newton, a senior consultant for Microsoft Consulting Services, begins the book with an introduction to common challenges, explaining the conditions that brought about the creation of the EL. After an EL overview, subsequent chapters offer detailed information about each of the eight blocks. The book concludes by outlining the framework available for creating custom application blocks as well as other development spaces using application blocks.You'll be able to build .NET applications faster and more efficiently by taking advantage of readily available code developed and released by Microsoft's patterns and practices group. You will be introduced to these technologies in conjunction with real world scenarios.
Keenan Newton has over 10 years of experience designing, architecting, and developing N-tier applications for both Windows and web environments, with an emphasis on Web Services, ADO.NET, and service-oriented architecture (SOA). He is a speaker at local .NET user groups, and has been published in CoDe Magazine. Keenan is employed as a senior consultant for Microsoft Consulting Services.
Contents at a Glance 4
Contents 5
About the Author 14
About the Technical Reviewer 15
Acknowledgments 16
Introduction 17
Enterprise Applications 18
The Needs of a Software Application 18
Common Framework Types 20
Core Components of an Enterprise Framework 23
Summary 37
Introducing the Enterprise Library Application Blocks 38
Microsoft Patterns and Practices 39
The Original Application Blocks 44
Enterprise Library for . NET Framework 1.1 Overview 48
Enterprise Library for . NET Framework 2.0 Overview 50
Enterprise Library 3.0 Overview 53
Application Blocks That Are Not Core 54
Using Enterprise Library 55
Summary 57
The Design of the Enterprise Library Application Blocks 58
Overall Design of the Enterprise Library 58
How Dependency Injection Works 64
Patterns, Extensibility, and the Enterprise Library 73
Application Block Conceptual Architecture 76
Unit Testing 77
Migrating from Earlier Enterprise Library Versions 78
Setting Up the ACME POS Application 80
Summary 83
The Common Assembly and ObjectBuilder Components 84
Common Assembly Configuration Support 84
Common Assembly Instrumentation Support 101
ObjectBuilder 104
Adding Custom Configuration Settings for the ACME POS Application 114
Summary 117
The Enterprise Library Configuration Console 118
The Configuration Dilemma 118
How the Configuration Console and Configuration Editor Work 119
Using the Configuration Console 135
Using the Configuration Editor within Visual Studio 2005 141
Creating the ACME POS Configuration Design- Time Components 143
Summary 155
The Data Access Application Block 156
Evolution of the Data Access Application Block 156
Data Access in an Application 157
New Features in ADO. NET 2.0 158
Features of the Data Access Application Block 165
Configuring the Data Access Application Block 175
ACME POS Application Data Access 184
Summary 192
The Caching Application Block 193
Deciding When to Use Caching 193
Getting Underneath the Hood 198
Using the Caching Application Block 207
Caching Static Data for the ACME POS Application 221
Summary 235
The Exception Handling Application Block 236
Introducing Exception Handling 236
Introducing the Exception Handling Application Block 241
Using the Exception Handling Application Block 249
Handling Exceptions in the ACME POS Application 265
Summary 272
The Logging Application Block 273
Types of Logging 273
Understanding the Design of the Logging Application Block 274
Using the Logging Application Block 280
Adding the Logging Application Block to the ACME POS Application 315
Summary 318
The Cryptography Application Block 319
Types of Encryption 319
Understanding the Design of the Cryptography Application Block 320
Using the Cryptography Application Block 324
Encrypting Customer Data in the ACME POS Application 343
Summary 349
The Security Application Block 350
Understanding the Design of the Security Application Block 350
Using the Security Application Block 352
Summary 374
The Validation Application Block 375
Looking Inside the Validation Application Block 375
Using the Built- In Validators 382
Creating a Custom Validator for the ACME POS Application 397
Summary 401
The Policy Injection Application Block 402
Introducing Aspect- Oriented Programming 402
Understanding the Design of the Policy Injection Application Block 404
Configuring and Using Policies 414
Adding the Policy Injection Application Block to the ACME POS Application 421
Summary 426
The Application Block Software Factory 427
Introducing the Guidance Navigator 427
Creating an Application Block 430
Using the Sample Application Block 447
Summary 448
Other Application Blocks and Advanced Configuration Features 449
Composite UI Application Block 449
Connection Monitor Application Block 460
Endpoint Catalog Application Block 461
Disconnected Service Agent Application Block 462
Composite Web Application Block 463
Page Flow Application Block 466
Updater Application Block 467
Application Blocks for Mobile Applications 468
Advanced Configuration Features 472
Summary 478
Index 479
Erscheint lt. Verlag | 8.6.2008 |
---|---|
Zusatzinfo | XXI, 498 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Office Programme ► Outlook |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | Design • Development • enterprise applications • .NET • Software • Validation |
ISBN-10 | 1-4302-0315-3 / 1430203153 |
ISBN-13 | 978-1-4302-0315-5 / 9781430203155 |
Haben Sie eine Frage zum Produkt? |
Größe: 8,0 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich