MS Enterprise Library 5.0发布!!

Enterprise Library 5.0 Final Release - Get it Now!

What is Enterprise Library ?

Enterprise Library is a collection of reusable software components (application blocks) designed to assist software developers with common enterprise development challenges (such as logging, validation, caching, exception handling, and many others). Application blocks encapsulate Microsoft recommended development practices; they are provided as source code plus tests and documentation that can be used "as is," extended, or modified.

Goals for Enterprise Library ?

Enterprise Library is intended for use by developers who build complex, enterprise-level applications. Enterprise Library is used when building applications that typically will be deployed widely and need to interoperate with other applications and systems. In addition, they generally have strict security, reliability, and performance requirements. The goals of Enterprise Library are the following:

Consistency. All Enterprise Library application blocks feature consistent design patterns and implementation approaches.

Extensibility. All application blocks include defined extensibility points that allow developers to customize the behavior of the application blocks by adding their own code.

Ease of use. Enterprise Library offers numerous usability improvements, including a configuration tool, powerful programmatic configuration support, intuitive interfaces, a simpler installation procedure that allows you to select only those application blocks you desire, and clear documentation, samples and hands-on labs.

Integration. Enterprise Library application blocks are designed to work well together or individually.

What’s New and Great in v5.0?

This major release of Enterprise Library contains many compelling new features and updates that will make developers more productive. There are no new blocks; instead the team focused on making the existing blocks shine, on testability, maintainability and learnability. The new features include:

– Major architectural refactoring that provides improved testability and maintainability through full support of the dependency injection style of development

– Dependency injection container independence (Unity ships with Enterprise Library, but you can replace Unity with a container of your choice)

– Programmatic configuration support, including a fluent configuration interface and an XSD schema to enable IntelliSense

– Redesign of the configuration tool to provide:

§ A more usable and intuitive look and feel

§ Extensibility improvements through meta-data driven configuration visualizations that replace the requirement to write design time code

§ A wizard framework that can help to simplify complex configuration tasks

– Data accessors for more intuitive processing of data query results

– Asynchronous data access support

– Honoring validation attributes between Validation Application Block attributes and DataAnnotations

– Integration with Windows Presentation Foundation (WPF) validation mechanisms

– Support for complex configuration scenarios, including additive merge from multiple configuration sources and hierarchical merge

– Optimized cache scavenging

– Better performance when logging

– Support for the .NET 4.0 Framework and integration with Microsoft Visual Studio 2010

Improvements to Unity

§ Streamlined configuration schema

§ A simplified API for static factories and interception

§ The capability to add interface implementation through interception

§ Additional types of lifetime manager

§ Deferred resolution (automatic factories)

– A reduction of the number of assemblies

The detailed list of all changes is included in the Enterprise Library documentation and also online.

Backward Compatibility

The Enterprise Library team tried its utmost to preserve the existing Enterprise Library APIs (v3.1 and higher). However, due to the redesign of the internals and the .NET Framework roadmap moving forward, there are some breaking changes. A full list is available here.

System Requirements

· Supported architectures: x86 and x64.

· Operating system: Microsoft Windows® 7 Professional, Enterprise or Ultimate; Windows Server 2003 R2; Windows Server 2008 with Service Pack 2; Windows Server 2008 R2; or Windows Vista with Service Pack 2.

· Microsoft .NET Framework 3.5 with Service Pack 1 or Microsoft .NET Framework 4.0.

For a rich development environment, the following are recommended:

· Microsoft Visual Studio® 2008 Development System with Service Pack 1 (any edition) or Microsoft Visual Studio 2010 Development System (any edition).

To run the unit tests, the following are also required:

· Microsoft Visual Studio 2008 Professional, Visual Studio 2008 Team Edition, Visual Studio 2010 Premium, Visual Studio 2010 Professional, or Visual Studio 2010 Ultimate edition.

· Moq v3.1 assemblies.

For the Data Access Application Block, the following is also required:

· A database server running a database that is supported by a .NET Framework 3.5 with Service Pack 1 or .NET Framework 4.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 3.5 with Service Pack 1 or the .NET Framework 4.0 data providers for OLE DB or ODBC.

For the Logging Application Block, the following are also required:

· Stores to maintain log messages. If you are using the Message Queuing (MSMQ) Trace Listener to store log messages, you need the Microsoft Message Queuing (MSMQ) components installed. If you are using the Database Trace Listener to store log messages, you need access to a database server. If you are using the E-mail Trace Listener to store log messages, you need access to an SMTP server.

If these dependencies are not met, you may not be able to use certain Enterprise Library features.

Getting Started

If you are new to Enterprise Library:

− read the Introduction to the Enterprise Library section of the documentation

− read and review examples from the Developer’s Guide

− download, compile and run the source code – study the code and the tests;

− practice the Hands-On Labs (the updated set of labs to be released by the end of April);

− watch the videos;

If you already know and love Enterprise Library:

− check out the change log for this release;

− upgrade to v5.0 – to help you with this task, we’ve written the Migration Guide;

− practice the updated Hands-On Labs (the updated set of labs to be released by the end of April);

− watch the videos;

Support

Community support is provided via Enterprise Library Codeplex forum.

Customers can also obtain support through Microsoft Premier Support Services, but the code is considered user-written by Microsoft support staff.

Providing Feedback

We would appreciate feedback on any issues found, or any other general comments on this release.

To report a bug, use online Issue Tracker. Other feedback or questions can be posted on the Enterprise Library Codeplex forum.

We are looking for stories. If you adopt Enterprise Library on your project, please let us know – share your experience, join our advisory board, help us drive the next great release of the Enterprise Library. After all, Enterprise Library is driven and built by developers and for developers.

标签: Unity, IoC, EnterLib
posted @ 2010-04-23 10:49 Artech 阅读(5526) 评论(13) 编辑 收藏

 回复 引用 查看   
#1楼 2010-04-23 11:13 yadong      
先抢个沙发,顶一下等下慢慢看。
 回复 引用 查看   
#2楼 2010-04-23 11:36 GaryChen      
我只能坐板凳了...
 回复 引用 查看   
#3楼 2010-04-23 11:40 OC Life      
貌似昨天还是前天就出来了,个人马上下载安装了,还没来得及使用下。怎么unity还没release列?
 回复 引用 查看   
#4楼[楼主] 2010-04-23 12:20 Artech      
引用OC Life:貌似昨天还是前天就出来了,个人马上下载安装了,还没来得及使用下。怎么unity还没release列?

不清楚还会不会单独Release!

 回复 引用 查看   
#5楼 2010-04-23 13:06 Steven Chen      
感觉entlib的配置工具很爽,你是怎么在程序中作配置管理的。
程序一大堆配置,交给运维那边总是交不出去,自定义Section太多,每个做一个界面很崩溃,有没有工具(或者是直接使用entlib的配置工具)使用反射直接根据Section直接生成配置界面阿?

 回复 引用 查看   
#6楼 2010-04-23 13:18 Jerry Qian      
欢呼雀跃
 回复 引用 查看   
#7楼[楼主] 2010-04-23 13:27 Artech      
引用Steven Chen:
感觉entlib的配置工具很爽,你是怎么在程序中作配置管理的。
程序一大堆配置,交给运维那边总是交不出去,自定义Section太多,每个做一个界面很崩溃,有没有工具(或者是直接使用entlib的配置工具)使用反射直接根据Section直接生成配置界面阿?

为自定义的ConfigurationSection定义响应的Designer,和EnterLib的Configuration Console集成!

 回复 引用 查看   
#8楼[楼主] 2010-04-23 13:27 Artech      
引用Jerry Qian:欢呼雀跃

:)

 回复 引用 查看   
#9楼 2010-04-23 15:56 yyliuliang      
daab终于支持 异步操作了 :)
 回复 引用 查看   
#10楼 2010-04-23 16:28       
引用There are no new blocks; instead the team focused on making the existing blocks shine, on testability, maintainability and learnability


绝望了。没有新的思想。估计.net的工程师脑子也没想到好的idea

 回复 引用 查看   
#11楼[楼主] 2010-04-23 16:51 Artech      
引用辰:
引用There are no new blocks; instead the team focused on making the existing blocks shine, on testability, maintainability and learnability


绝望了。没有新的思想。估计.net的工程师脑子也没想到好的idea

说实话我也挺失望的,在EnterLib 5.0设计之初,J.D Meier还搞了一个规模不小的问卷调查、收集大家的意见,我个人还写信向他发了不少牢骚。EnterLib 5.0和我的期望相差挺远!

 回复 引用 查看   
#12楼 2010-04-27 08:43 stargazer      
支持一下,下载下来学习下。
 回复 引用 查看   
#13楼[楼主] 2010-04-27 09:00 Artech      
引用stargazer:支持一下,下载下来学习下。

就算不在项目中使用到,深入了解EnterLib对架构、设计都是有帮助的!

发表评论

昵称: [登录] [注册]

主页:

邮箱:(仅博主可见)

评论内容:

  登录  注册

[使用Ctrl+Enter键快速提交评论]

0 1718399 Uxny6uvQQ1w=