Namespace Westwind.Utilities.Configuration

This topic tree describes the Westwind.Utilities.Configuration namespace.

TypeDescription
  AppConfiguration This class provides a base class for code-first, strongly typed configuration settings in .NET. It supports storing of configuration data in .NET .config files, plain XML files, strings and SQL Server databases and custom providers. Using this class is easy: Create a subclass of AppConfiguration and then simply add properties to the class. Then instantiate the class, call Initialize(), then simply access the class properties to read
  ConfigurationFileConfigurationProvider Reads and Writes configuration settings in .NET config files and sections. Allows reading and writing to default or external files and specification of the configuration section that settings are applied to.
  ConfigurationProviderBase Base Configuration Provider Implementation. This implementation provides for the basic layout of a provider and fields that implement the IConfigurationProvider interface. The Read and Write methods must be overridden - all other methods and fields are optional
  JsonFileConfigurationProvider Reads and Writes configuration settings in .NET config files and sections. Allows reading and writing to default or external files and specification of the configuration section that settings are applied to.
  SqlServerConfigurationProvider Reads and Writes configuration settings in .NET config files and sections. Allows reading and writing to default or external files and specification of the configuration section that settings are applied to. This implementation doesn't support Read and Write operation that don't return a string value. Only Read(string) and WriteAsString() should be used to read and write string values.
  StringConfigurationProvider Reads and Writes configuration settings from strings - which you manage yourself. Using strings for the configuration provider allows for easy storage into any non-supported configuration stores that you control through your code as long as it supports strings. The string provider is a real minimal implementation that only implements WriteAsString(config) and Read(string). It inherits all of its functionality from the base provider.
  XmlFileConfigurationProvider Reads and Writes configuration settings in .NET config files and sections. Allows reading and writing to default or external files and specification of the configuration section that settings are applied to.
  IConfigurationProvider Configuration Provider interface that provides read and write services to various configuration storage mechanisms. Used in conjunction with the


© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic