The provider reads a database table into configuration at startup.To use a database that requires a connection string, get a connection string from an interim configuration.The EF in-memory database is used for demonstration purposes.The provider has the following characteristics: The sample app demonstrates how to create a basic configuration provider that reads configuration key-value pairs from a database using Entity Framework (EF) Core. In this article, you'll learn how to implement a custom configuration provider that relies on a database as its configuration source. You may need to implement a custom configuration provider when one of the available providers doesn't suit your application needs. There are many configuration providers available for common configuration sources such as JSON, XML, and INI files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |