Refactoring Static Config Access

added by DotNetKicks
8/3/2016 1:49:25 PM

1 Kicks, 563 Views

A common but insidious dependency in many .NET applications is their use of configuration, including appSettings. The main issue is static access to config for values that affect the behavior of the application (values that are simply displayed, or used for things like email servers or addresses, aren't usually an issue).