El Bruno

Blog dedicado a las experiencias del desarrollo con tecnologías Microsoft.
[EntLib] Resource Manager Application Block

 

Buenas,

gracias al programa de contribución para Enterprise Library 3.1 (EntLibContrib), me entero de este interesante application block montado sobre Enterprise Library 3.1. En este caso se trata de Resource Application Block 3.1.

Este application block permite la administración y gestión de recursos, para la localización y globalización de aplicaciones. Asimismo proporciona a los programadores un modelo basado en proveedores para obtener recursos desde una gran variedad de distintos orígenes mediante las características de Enterprise Library 3.1. Toda la configuración de los recursos utiliza la consola de configuración de Enterprise Library 3.1.

Estás son algunas de las características principales de este application block:

  • Greater flexibility to choose how you host your resources. With the Resource Application Block you can now choose whether to centralise or distribute resources, whether to leave resources in editable files rather than embed into assemblies, pull in resources from other projects and thus treat resources like reusable modules as per the Object Oriented paradigm,
  • You can use either the stand-alone Enterprise Library Configuration Console or the Visual Studio integrated Console to manage all Resource Application Block settings.
  • You have a choice of resource providers to manage resources from a variety of sources such as assembly embedded resources, xml resources (.resx files), binary resources (.resources files) and database resources (any DB you can get to from the Data Access Application Block).
  • If you need to manage resources from a source type not currently supported then you can extend the application block by creating custom resource providers
  • You can generate strongly typed resource classes for any resource provider type directly from the Enterprise Library Configuration Console in either C# or VB.
  • A web resource provider is included to enable the developer to use the Resource Application Block with the localization features provided within ASP.NET. This works for both local and global resources.
  • All Resource Application Block managers are based on an extended ComponentResourceManager to enable reflection-style resource assignments to be made to Windows Forms component properties using the ApplyResources method within the ExtendedComponentResourceManager. Unfortunately, owing to the current closed nature of the Windows Forms designer CodeDomProvider model, with respect to localization, it has not been possible to extend the full Windows Forms localization feature, however see Windows Forms Designer for what you can do with the ExtendedComponentResourceManager.
  • A resource provider presents the developer with an appropriate resource manager type. Each resource manager supported within the Resource Application Block is provided with a corresponding resource writer to enable editing of the various resource storage types using any IResourceWriter enabled resource editor. These resource writers also support the extended data node interface allowing for comments, file references and custom types to be stored (except for binary resource files that do not support comments).
  • Management and monitoring features include Windows Active Directory Group Policy integration and instrumentation features such as Performance Counters, Windows EventLog logging and WMI events.

Documentación: http://www.codeplex.com/entlibcontrib/Wiki/View.aspx?title=Resource%20Application%20Block%203.1&referringTitle=Home

Descarga: http://www.codeplex.com/entlibcontrib/Release/ProjectReleases.aspx?ReleaseId=7302

 

Saludos @ 40º fiebre

El Bruno

 

Share this post :

Published martes, 25 de marzo de 2008 21:13 by elbruno

Comments

No Comments