Skip to content

ConfigurationProvider.Current shouldn't depend on IConfigurationSectionHandler from System.Configuration.ConfigurationManager #120

Open
@bahusoid

Description

@bahusoid

public static ConfigurationProviderBase<TConfig, TConfigHandler> Current
{
get => _current ?? (_current = new StaticConfigurationManagerProvider());
set => _current = value ?? new NullConfigurationProvider();
}

It's quite strange that user custom implementation not using xml still needs dependency on this xml related class from nuget package:

public class CoreDistributedCacheCustomConfigProvider : ConfigurationProviderBase<CacheConfig,CoreDistributedCacheSectionHandler>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions