You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Asp.Net Core, the standard behaviour for managing settings is with the use of the IConfigurationProvider.
The dependencies.json should support a new connectionstring Locator IConfigurationProvider which takes accepts the key element containing the name of the setting as described in the microsoft documentation (i.e. section:subsection:key).
The IConfigurationProvider class is in the Microsoft.Extensions.Configuration.Abstractions nuget package, since we don't want to add this dependency in the main NAME package we need to add an extension point in the DependenciesReader.ReadDependencies method that allows the caller to inject custom IConnectionStringProviders.
Furthermore NAMEAspNetCoreConfiguration should optionally take in the IConfigurationProvider and use the new extension point.
The text was updated successfully, but these errors were encountered:
With Asp.Net Core, the standard behaviour for managing settings is with the use of the
IConfigurationProvider
.The dependencies.json should support a new connectionstring Locator
IConfigurationProvider
which takes accepts thekey
element containing the name of the setting as described in the microsoft documentation (i.e. section:subsection:key).The
IConfigurationProvider
class is in the Microsoft.Extensions.Configuration.Abstractions nuget package, since we don't want to add this dependency in the main NAME package we need to add an extension point in theDependenciesReader.ReadDependencies
method that allows the caller to inject customIConnectionStringProvider
s.Furthermore
NAMEAspNetCoreConfiguration
should optionally take in theIConfigurationProvider
and use the new extension point.The text was updated successfully, but these errors were encountered: