BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in Orchestration / Workflow

 
 
Page 1728 of 18321

Store custom objects configuration in separate custom configuration files using EntLib

Blogger : Geekswithblogs.net
All posts : All posts by Geekswithblogs.net
Category : Orchestration / Workflow
Blogged date : 2008 Jun 10

We are going to have a windows service that will run a few workflow(WF) instances. I want to have configuration information to be stored in  separate config files for each WF instance.
I remembered that EntLib has helper classes to store custom objects configuration in separate custom configuration file, but finding good examples in Google wasn't easy(probably I didn't find good search keywords).

The links that I finally found(more relevant to the task first)

Tom Hollander 'post External configuration files in Enterprise Library for .NET Framework 2.0 mostly talks about EntLib provider config sections, but comments are talking about FileConfigurationSource  and custom sections.

Alois Kraus's has good articles in CodeProject Read/Write App.Config File with .NET 2.0  and his blog posts: Read/Write App.config with .NET 2.0/Enterprise Library  and Microsoft Enterprise Library for .NET 2.0: Configuration .

 
Example of separate custom config file Enterprise Library - Configuration Application Block - Patterns and Practices is obsolete(using EntLib 1.0). See Enterprise Library 2.0 - From Configuration Block to IConfigurationSource - SystemConfigurationSource - FileConfigurationSource

 

reference: Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

Alternative implementations from CodeProject without using EntLib are Custom app.config  and A custom configuration file AppSettings reader class

 

If you want to add  EntLib Configuration Manager Design time support for editing you sections, look at 

Enterprise Library Configuration (Part 1/2): Customized Appsettings and the EntLib Configuration Manager tool

Enterprise Library Configuration (Part 2/2): Customizable configuration with framework extensions  

Alex Homer: Adding Configuration Support for Custom Providers in Enterprise Library in ASP.NET 2.

and Enterprise Library 2.0: Building Named Extensions in the Configuration Console

 

 


Read comments or post a reply to : Store custom objects configuration in separate custom configuration files using EntLib
Page 1728 of 18321

Newest posts
 

    Email TopXML