Integrate IdentityServer with AspNet Core (Part 5 - Config in Db)

In Part 1, Part 2, Part 3, and Part 4 we touched upon various aspects of configuring IdentityServer, OAuth, and OIDC in ASP.NET Core Web API and MVC applications. Although our sample application is working as expected, it stores all the IdentityServer related configuration in-memory. In a more realistic app you would like to store the configuration in some persistent data store such as SQL Server database. In this part we will do just that.