0

I wonder if there is implemented ConfigurationProvider for ASP.NET Core which loads options from Database. EF or Dapper. It's fairly easy to implement ourselves, but I wonder if there is ready solution, and if this really a good idea.

Leotsarev
  • 1,040
  • 7
  • 23

1 Answers1

1

According to your description, I suggest you could try to use EfConfigurationProvider, you could directly use by installing through nuget package.

Install-Package EfConfigurationProvider -Version 0.2.1

More details about how to use it ,you could refer to this article.

If this doesn't match your requirement, I suggest you could create the custom provider by yourself, like this blog shows.

Brando Zhang
  • 22,586
  • 6
  • 37
  • 65