zoukankan      html  css  js  c++  java
  • Microsoft Enterprise Library 5.0正式版本已经发布简绍

    期待已久的Microsoft Enterprise Library 5.0正式版本已经发布

    下载地址:
     

    http://msdn.microsoft.com/en-us/library/ff632023.aspx

    What’s New

    This major release of Enterprise Library contains many compelling new features and updates that will make developers more productive. These 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 it 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 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
    • A reduction of the number of assemblies
    • Support for the .NET 4.0 Framework and integration with Microsoft Visual Studio 2010
    • Improvements to Unity

    微软Pattern&Practices小组日前发布了  Enterprise Library 5.0,这是一套应用程序模块,可以用来为企业应用程序构建模块,它是微软关于如何编写良好的应用程序的指导。该类库包含了大量的改善,包括Unity 2.0,以及对.NET 4.0的支持。

    Enterprise Library 5.0包含了能够用于为企业应用构建应用程序模块的源代码。这些代码可以直接使用,也可以根据需要进行修改或者扩展。这套类库的主要目的是为开发者提供如何编写良好代码的指导。类库使用像插件和依赖注入等设计模式构建,公用的功能被封装在Enterprise Library Core中,它使用统一的协定进行命名和设定版本,所有的应用模块都经过了检测,并且从最初的设计阶段开始就在其中包含了单元测试。

    The Enterprise Library contains the following application blocks:

    Enterprise Library中包含了下列应用程序模块:

    • 缓存——通过内存或者数据库中的存储提供本地缓存
    • 加密——为多家提供商的加密方案提供了支持
    • 数据访问——为最常用的ADO.NET特性——像存储过程、嵌入式的SQL命令、管理连接、缓存参数——提供支持。
    • 异常处理——提供了很多处理器,用来处理最一般的异常:包装、替换、记录日志、错误契约(WCF)等等。
    • 日志——帮助我们处理日志信息的格式,并且提供了各种各样的方式来记录日志:事件、email、数据库、消息队列、文本文件、WMI、自定义方式等等、
    • 策略注入——帮助我们基于交叉关系为对象的行为发出警告。它是构建在DI容器Unity之上的。
    • 安全——帮助开发者处理授权和认证的问题。
    • 验证——对来自于其他用户或者系统的输入的验证提供支持。
    • Unity依赖注入和侦听——它是依赖注入的容器,最初是独立发布的(1.0),现在对其进行了改善并包含在这个库中。

    针对上个版本,此版本的企业库所做的改善有:

    • 从架构上对其进行了重构,从而得到更好的可测试性和可维护性。
    • 它包含了Unity,这是一个DI容器,可以由用户选择另外的容器来替换。
    • 支持编程式的配置
    • 拥有异步的数据访问机制
    • 合并了WPF的验证机制
    • 更好的日志记录性能
    • 支持.NET 4.0

    企业库可以用在32位和64位的计算机上,但是没有在Windows XP上测试通过,并且在它所支持的操作系统的列表中也没有提到XP。尽管如此,Grigori Melnik 并没有发现不能在XP上基于.NET 3.5或者.NET 4.0使用此类库的原因。

    Melnik 还提到pattern & practices团队试图与之前的版本保持兼容,但是还是存在一些不兼容的变更

        高质量的.NET空间,完美支持1.0/2.0/3.5/MVC等

  • 相关阅读:
    LINUX 修复relocation error: /lib/tls/libc.so.6
    cmd 命令相关
    JS 相关
    Mysql 时间函数
    drupal 7.1 doc
    消息系统之Apache ActiveMQ
    【MongoDB学习之一】初始MongoDB
    【Redis学习之二】Redis:redis.conf 配置详解
    【Redis学习之一】Redis
    NOSQL学习之一:Memcached, Redis, MongoDB区别
  • 原文地址:https://www.cnblogs.com/Leo_wl/p/1744767.html
Copyright © 2011-2022 走看看