共享社区

首页 » 互联网资源共享社区 » 开发工具共享 » Enterprise Library 微软企业库
jufeng - 2008-1-2 9:21:00
企业库是微软的模式与实践的下一代应用程序块。该企业库的设计思想是为了协助开发商解决企业级应用开发过程中所面临的一系列共性的问题, 如安全、日志、数据访问、配置管理等,并将这些广泛使用的应用程序块集成封装至一个叫企业库的程序包中。我们的目标是要营造一个顾客和伙伴广泛使用交流的社区,分享和扩大这些应用程序块,并将其他的基于最佳实践的广泛使用的程序快以集成、一致的方式扩展至该企业库中。

先在微软的版本是Enterprise Library 3.0中包含如下8个应用程序块:
Caching Application Block
Cryptography Application Block
Data Access Application Block
Exception Handling Application Block
Logging Application Block
Policy Injection Application Block
Security Application Block
Validation Application Block

同时还提供了一个小型的Software Factory——Application Block Software Factory,可以创建自己的Application Block

官方项目主页:
http://www.codeplex.com/entlib
http://www.codeplex.com/entlibcontrib

官方下载

Latest Release: Enterprise Library 3.1 – May 2007 (for .NET Framework 2.0 and 3.0)Enterprise Library 3.0 – April 2007 (for .NET Framework 2.0 and 3.0)Earlier Release: Enterprise Library for .NET Framework 2.0, January 2006Earlier Release: Enterprise Library for .NET Framework 1.1, June 2005
Files
entlibcontrib2007-09-bin.zipruntime binary, 91K, uploaded Oct 2 2007 - 2303 downloads

entlibcontrib2007-09-src.zipsource code, 884K, uploaded Oct 2 2007 - 2512 downloads







微软企业库Webcast系列课程

Connected Systems 首页 > 企业库系列课程
Enterprise Library系列课程(1):概述 (Level 200)
 讲  师:吴延安  微软(中国)有限公司.NET首席顾问
 课程简介:企业库是微软的模式与实践的下一代应用程序块。该企业库的设计思想是为了协助开发商解决企业级应用开发过程中所面临的一系列共性的问题, 如安全、日志、数据访问、配置管理等,并将这些广泛使用的应用程序块集成封装至一个叫企业库的程序包中。我们的目标是要营造一个顾客和伙伴广泛使用交流的社区,分享和扩大这些应用程序块,并将其他的基于最佳实践的广泛使用的程序快以集成、一致的方式扩展至该企业库中。
  推荐指数:
Enterprise Library系列课程(2):配置管理应用程序块 (Level 300)
 讲  师:曹严明  微软(中国)有限公司开发和平台技术部软件开发首席专家
 课程简介:应用系统的数据配置管理是架构设计及开发人员一直面临着的严峻挑战。在传统的应用中,系统采用直接处理配置数据的方式对系统的可管理性和灵活性带来了极大的冲击。在这一讲中我们将讨论建立一个高可用性配置系统的需求,以及如何通过该应用程序块来满足应用系统对配置管理的需求。
  推荐指数:
Enterprise Library系列课程(3):数据访问应用程序块 (Level 300)
 讲  师:莫淘  微软(中国)有限公司开发和平台技术部软件架构专家
 课程简介:该讲将向您介绍推荐的数据访问架构的实现问题,您将了解如何通过企业库的数据访问程序块对SQL Server、Oracle和DB2快速地建立健壮、安全和高效的数据存取。
  推荐指数:
Enterprise Library系列课程(4):安全应用程序库 (Level 300)
 讲  师:吴延安  微软(中国)有限公司.NET首席顾问
 课程简介:每个应用都会涉及到安全问题,多数企业级应用中会有许多不同的安全保护措施。该讲中您将了解到如何通过企业库的安全应用程序块帮助你在应用中使用一致的安全API,如该讲中您将学会如何通过这些API建立起健壮、灵活的基于角色、基于规则的认证机制。
  推荐指数:
Enterprise Library系列课程(5):日志和监测应用程序块 (Level 300)
 讲  师:曹严明  微软(中国)有限公司开发和平台技术部软件开发首席专家
 课程简介:应用管理追求的目标之一是能提供适当的导航机制,即通过导航能告知系统发生了什么,问题发生的场所,帮助您快速获得问题的解决方案,以达到系统的高可用性。该讲中您将学会使用企业库的日志及仪表盘管理应用程序块如何快速、容易、一致性的构建健壮的系统以便了解何处发生了故障。
  推荐指数:
Enterprise Library系列课程(6):缓存应用程序块 (Level 300)
 讲  师:莫淘  微软(中国)有限公司开发和平台技术部软件架构专家
 课程简介:适当的缓存设计会使您的系统在提高性能上会发生戏剧性的变化,不好的设计只会带来少许的好处和为缓存进行的额外处理。该讲中您将学会如何通过新的缓存应用程序块来满足系统对性能的要求。
  推荐指数:
Enterprise Library系列课程(7):Exception Handling Application Block (Level 300)
 讲  师:莫淘  微软(中国)有限公司开发和平台技术部软件架构专家
 课程简介:Exceptions happen. The question is what you will do to handle them. Poorly written applications behave unpredictably when exceptions occur and often this bad behavior results in crashes or security holes. Learn how you can create exception policies that can be consistently and quickly applied in your application to insure predictability even when things go wrong.
  推荐指数:
Enterprise Library系列课程(8):Cryptography Application Block (Level 300)
 讲  师:曹严明  微软(中国)有限公司开发和平台技术部软件开发首席专家
 课程简介:So you have a secret. What are you going to do with that credit card number, connection string or password? Stuff in a secret place and hope that no one ever finds it? Of course not, you want to encrypt it. But how? With the Enterprise Library cryptography block you can quickly encrypt and decrypt these secrets allowing you to secure them and sleep better at night.
  推荐指数:
Enterprise Library系列课程(9):Building your own application block (Level 300)
 讲  师:吴延安  微软(中国)有限公司.NET首席顾问
 课程简介:So you love application blocks? You want to create your own and share it with your colleagues, your enterprise...the world? Great! We want to help you. In this session we will walk through a simple application block to consider how you can build a block that integrates with the rest of Enterprise Library.
  推荐指数:





Terry    Enterprise Library系列文章

自Enterprise Library 1.1 推出以来,Terry写了一系列的关于Enterprise Library的文章,其中得到了很多朋友的支持,在这里一并表示感谢。为了方便大家的阅读,这里我做了一下整理与分类。


第Ⅰ部分:Enterprise Library 1.1 Step By Step
1Enterprise Library Step By Step系列(一):配置应用程序块——入门篇
2Enterprise Library Step By Step系列(二):配置应用程序块——进阶篇
3Enterprise Library Step By Step系列(三):数据访问程序块——入门篇
4Enterprise Library Step By Step系列(四):数据访问程序块——进阶篇
5Enterprise Library Step By Step系列(五):安全应用程序块——入门篇
6Enterprise Library Step By Step系列(六):安全应用程序块——进阶篇
7Enterprise Library Step By Step系列(七):日志和监测应用程序块——入门篇
8Enterprise Library Step By Step系列(八):日志和监测应用程序块——进阶篇
9Enterprise Library Step By Step系列(九):缓冲应用程序块——入门篇
10Enterprise Library Step By Step系列(十):缓冲应用程序块——进阶篇
11Enterprise Library Step By Step系列(十一):异常处理应用程序块——入门篇
12Enterprise Library Step By Step系列(十二):异常处理应用程序块——进阶篇
13Enterprise Library Step By Step系列(十三):加密应用程序块——入门篇
14Enterprise Library Step By Step系列(十四):创建基于消息队列(MSMQ)的异步日志
15Enterprise Library Step By Step系列(十五):配置应用程序块——设计篇
16Enterprise Library Step By Step系列(十六):使用AppSetting Application Block
第Ⅱ部分:Enterprise Library 2.0 学习
1Enterprise Library 2.0(1):Data Access Application Block学习
2Enterprise Library 2.0(2):Logging Application Block学习
3Enterprise Library 2.0中加密数据库连接字符串
第Ⅲ部分:Enterprise Library 2.0 技巧
1Enterprise Library 2.0 技巧(1):如何使用外部配置文件
2Enterprise Library 2.0 技巧(2):如何将配置信息保存到数据库中
3Enterprise Library 2.0 技巧(3):记录ASP.NET站点中未处理的异常
4Enterprise Library 2.0 技巧(4):如何用编程的方法来配置Logging Application Block
第Ⅳ部分 Enterprise Library 2.0 Hands On Lab翻译系列
1Enterprise Library 2.0 Hands On Lab 翻译(1):数据访问程序块(一)
2Enterprise Library 2.0 Hands On Lab 翻译(2):数据访问程序块(二)
3Enterprise Library 2.0 Hands On Lab 翻译(3):数据访问程序块(三)
4Enterprise Library 2.0 Hands On Lab 翻译(4):日志应用程序块(一)
5Enterprise Library 2.0 Hands On Lab 翻译(5):日志应用程序块(二)
6Enterprise Library 2.0 Hands On Lab 翻译(6):日志应用程序块(三)
7Enterprise Library 2.0 Hands On Lab 翻译(7):异常应用程序块(一)
8Enterprise Library 2.0 Hands On Lab 翻译(8):异常应用程序块(二)
9Enterprise Library 2.0 Hands On Lab 翻译(9):缓存应用程序块(一)
10Enterprise Library 2.0 Hands On Lab 翻译(10):缓存应用程序块(二)
11Enterprise Library 2.0 Hands On Lab 翻译(11):缓存应用程序块(三)
12Enterprise Library 2.0 Hands On Lab 翻译(12):安全应用程序块(一)
13Enterprise Library 2.0 Hands On Lab 翻译(13):安全应用程序块(二)
14Enterprise Library 2.0 Hands On Lab 翻译(14):加密应用程序块(一)
15Enterprise Library 2.0 Hands On Lab 翻译(15):加密应用程序块(二)

第Ⅴ部分 Enterprise Library 3.0 体验系列

1
Enterprise Library 3.0 体验(1):集成VS2005的配置工具和配置区加密支持 New

2
Enterprise Library 3.0 体验(2):使用Validation Application Block New

3
Enterprise Library 3.0 体验(3):使用配置文件的Validation Application Block New








Enterprise Library
 
patterns & practices Developer Center Microsoft Corporation
May 2007
SummaryThis page provides an overview of the Enterprise Library 3.1. The patterns & practices Enterprise Library is a library of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type of guidance, provided as source code that can be used "as is," extended, or modified by developers to use on enterprise development projects.
Downloads
Webcasts
PowerPoint Presentations
Quality Assurance and Testing
Hands On Labs
License
Community

ContentsOverview
Getting Started

Community

Future Plans

Feedback and Support

Authors and Contributors

Related Titles

OverviewThe Enterprise Library application blocks help address the common problems that developers face from one project to the next. They are designed to encapsulate the Microsoft recommended best practices for .NET applications. In addition, they can be added to .NET applications quickly and easily. For example, the Data Access Application Block provides access to the most frequently used features of ADO.NET 2.0 in simple-to-use classes, thus boosting developer productivity. It also addresses scenarios not directly supported by the underlying class libraries.
Different applications have different requirements, and you will not find that every application block is useful in every application that you build. Before using an application block, you should have a good understanding of your application requirements and of the scenarios that the application block is designed to address.
Enterprise Library 3.1–May 2007 contains the following general purpose application blocks:

Enterprise Library also includes a set of core functions, including configuration, instrumentation, and object builder services. These functions are used by all other application blocks.
Common ScenariosEnterprise Library can be useful in a variety of situations:

Audience RequirementsThis guidance is intended for software architects and software developers. To get the most benefit from this guidance, you should have an understanding of the following technologies:

System RequirementsTo develop applications using Enterprise Library, you need the following:

Note  Enterprise Library includes both unit test binaries and source code. You need either Visual Studio 2005 Team Edition or NUnit 2.2 to execute the unit tests. If you modify the unit test source, you will need to recompile it, which also requires either Visual Studio 2005 Team Edition or NUnit 2.2.
To use the Application Block Software Factory and the Strong-Naming Guidance Package, you need the Microsoft Guidance Automation Extensions (GAX). To modify and compile these guidance packages, you also need the Microsoft Guidance Automation Toolkit (GAT).
To use the Data Access Application Block, you need a database server running a database that is supported by a .NET Framework 2.0 data provider. This includes SQL Server 2000 or later, SQL Server 2005 Compact Edition, and Oracle 9i or later. The database server can also run a database that is supported by the .NET Framework 2.0 data providers for OLE DB or ODBC.
Contents of this ReleaseThe Enterprise Library 3.1–May 2007 contains the following:

What's NewThis release of Enterprise Library includes a new application block named the Validation Application Block, another new application block named the Policy Injection Application Block, two guidance packages, and a configuration editor that is integrated with Visual Studio. There are also additions in functionality to the Data Access Application Block and to the Logging Application Block. For information about migrating from the January 2006 release, see About the Enterprise Library 3.1 - May 2007 Release.
Enterprise Library DependenciesFigure 1 illustrates the interdependencies of the application blocks that make up Enterprise Library.

Figure 1 . Interdependence of application blocks
All the application blocks are designed to have a limited number of dependencies so that they can be used individually as well as with other application blocks. All application blocks depend on the Enterprise Library Core, which is a logical grouping made up of the following subsystems:

Getting StartedEnterprise Library has been developed as a result of analyzing common enterprise development challenges and successful solutions to these challenges. However, because each application is unique, you will not find this application block suitable for every application. You should evaluate each application block and determine its applicability to your projects. Microsoft suggests that you dedicate at least half of a day to explore each application block. The following is a suggested evaluation approach:

CommunityEnterprise Library, like many patterns & practices deliverables, is associated with a community site. On this community site, you can post questions, provide feedback, or connect with other users for sharing ideas. Community members can also help Microsoft plan and test future deliverables, and download additional content such as extensions and training material.
Future PlansNo new releases of Enterprise Library are planned for 2007. As customer feedback is received about the May 2007 release, the patterns & practices team will evaluate when it may make sense to release an updated version and what this should contain.
Feedback and SupportQuestions? Comments? Suggestions? To provide feedback about this application block, or to get help with any problems, please visit the Enterprise Library Community site. The community site is the preferred feedback and support channel because it allows you to share your ideas, questions, and solutions with the entire community.
Enterprise Library is a guidance offering, designed to be reused, customized, and extended. It is not a Microsoft product. Code-based guidance is shipped "as is" and without warranties. Customers can obtain support through Microsoft Support Services for a fee, but the code is considered user-written by Microsoft support staff.
Authors and ContributorsThis release of Enterprise Library was produced by the following individuals:

Many thanks to the following individuals who provided invaluable assistance: Dragos Manolescu (Microsoft Corporation), Dmitri Ossipov (Microsoft Corporation), Peter Provost (Microsoft Corporation), Mohammad Al-Sabt (Microsoft Corporation), Oscar Calvo (Artinsoft), Hernan de Lahitte (Southworks SRL), Tushar More (Infosys Technologies Ltd) and the Web Service Software Factory team.
Related Titles
heartcool - 2008-4-3 14:21:00
希望可以出一个 关于最新的企业库的说明类的文档 !
1
查看完整版本: Enterprise Library 微软企业库