Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 30 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
30
Dung lượng
709,13 KB
Nội dung
this print for content only—size & color not accurate
7" x 9-1/4" / CASEBOUND / MALLOY
(1.0625 INCH BULK 520 pages 50# Thor)
The eXPeRT’s VOIce
®
In .neT
Keenan Newton
The Definitive Guide to the
Microsoft
Enterprise
Library
Build applications faster by taking advantage of
solutions to common development problems such
as configuration, caching, and security.
BOOks fOR PROfessIOnals By PROfessIOnals
®
The Definitive Guide to the Microsoft Enterprise Library
Dear Reader,
As developers, we love to flex our creative power, devising unique and interest-
ing solutions to difficult programming problems. Yet features such as logging,
caching, data access, configuration, and exception handling occur so com-
monly within such a wide range of problem spaces that it makes little sense
to waste precious time continually reinventing the wheel. Furthermore, these
common features are important, so we don’t want to risk incorrect or insecure
implementations.
The Microsoft patterns & practices group provides a set of general-purpose
components capable of providing sound solutions to commonplace problems.
Collected in Enterprise Library, these components are known as application
blocks. Using Enterprise Library application blocks, you can rapidly add common
features to your own applications, and even extend them as you require. I wrote
this book to show you how to take advantage of Enterprise Library application
blocks.
Following a general introduction to Enterprise Library, I’ll introduce you to
each of these application blocks, some of which include:
• Caching Application Block: You can use this block to add a caching
mechanism to your application, improving performance and availability.
• Logging Application Block: This block offers the ability to consistently
log information to a variety of destinations, among them email, databases,
and WMI events.
• Validation Application Block: You can use this block to create and execute
rules for validating data such as phone numbers, email addresses, and dates.
Along the way, I’ll show you how to take advantage of the Enterprise Library
Configuration Console and even how to create your own application blocks!
Keenan Newton
THE APRESS ROADMAP
Pro ASP.NET 3.5 Server
Controls with AJAX Components
The Definitive Guide to the
Microsoft Enterprise Library
Pro WF: Windows
Workflow in .NET 3.0
Pro .NET 2.0 XML
Pro C# 2008 and the
.NET 3.5 Platform, 4e
Pro ASP.NET 3.5
in C# 2008
Beginning
C# 2008 Databases
Beginning C# 2008
Accelerated C# 2008
The Definitive Guide to the
Microsoft Enterprise Library
Newton
cyan
MaGenTa
yellOW
Black
PanTOne 123 c
ISBN-13: 978-1-59059-655-5
ISBN-10: 1-59059-655-2
9 781590 596555
9 0 0 0 0
Shelve in
Programming/.NET
User level:
Beginner–Inte rmediate
www.apress.com
SOURCE CODE ONLINE
Companion eBook
See last page for details
on $10 eBook version
Companion
eBook Available
[...]... where Microsoft Enterprise Library comes into play Enterprise Library helps cut out some of the routine tasks that developers need to perform while developing applications, and yet provides the best practices to ensure the application is designed and runs as efficiently as possible This book will provide the knowledge you need to get started and get comfortable with the Microsoft Enterprise Library. .. currently is a Senior Consultant for Microsoft Consulting Services In his spare time, Keenan enjoys traveling, music, attending professional football games and landscaping xv 655-2 FM.qxd 10/24/07 5:46 PM Page xvi 655-2 FM.qxd 10/24/07 5:46 PM Page xvii About the Technical Reviewer ■JASON HOEKSTRA is an independent consultant who focuses on delivering solutions on the Microsoft NET Framework and related... better understanding of how the Enterprise Library can assist in developing an application framework This framework could be the basic foundation of services for all applications within a particular organization In this chapter, I’ll cover the basic fundamental building blocks of today’s software applications The rest of the book will then show how the Enterprise Library can help ease the development of... 311 Using a Symmetric Encryption Provider 316 Creating Custom Encryption Providers 324 Migrating from Prior Versions of Enterprise Library 329 Encrypting Customer Data in the ACME POS Application 329 Storing Offline Data 330 Encrypting Offline Data ... 10 years of experience, his efforts have helped businesses of all sizes turn business goals into deliverable products His specialty of integrating open source and off-the-shelf tools (like Enterprise Library) has enabled teams to develop high-quality software in shorter time frames In his spare time, Jason enjoys traveling with his wife, cooking, aviation, and videography xvii 655-2 FM.qxd 10/24/07... Jason Hoekstra, who is my technical reviewer for this book He has been instrumental in being a second pair of eyes on everything Next, I would like to acknowledge Tom Hollander and Eugenio Pace from the Microsoft patterns & practices group Both of these gentlemen have been instrumental in answering whatever questions I had or in pointing me in the proper direction to get the answer I needed I, of course,... 345 Adding a Custom Authorization Provider 347 Adding a Custom Security Cache Provider 353 Migrating from Prior Versions of Enterprise Library 360 Summary 361 ■ CHAPTER 12 The Validation Application Block 363 Looking Inside the Validation Application... implementation, which is a vertical component of a point-of-sales application This implementation demonstrates how an application can use the different application blocks that are provided with Enterprise Library and how the application blocks themselves interact The amount of detail devoted to the reference implementation in each chapter depends on the topic of that chapter and subsequent chapters The... 463 Environmental Overrides 464 Assembly Sets for the Configuration Editor 465 Advanced Configuration in Enterprise Library 2.0 466 Summary 468 ■ INDEX 469 xiii 655-2 FM.qxd 10/24/07 . Definitive Guide to
the Microsoft Enterprise
Library
655-2 FM.qxd 10/24/07 5:46 PM Page i
The Definitive Guide to the Microsoft Enterprise Library
Copyright. fOR PROfessIOnals By PROfessIOnals
®
The Definitive Guide to the Microsoft Enterprise Library
Dear Reader,
As developers, we love to flex our creative