Custom Configuration Providers in ASP.NET Core

A friend of mine has a requirement in which he was interested to put the configuration settings of an ASP.NET Core application inside a SQL Server table and read them at startup of the application with a mechanism similar to what we already have for json files; also he wanted to have the ability that these variable being overridden or override other settings if applicable. In this article I am going to describe how that could be achievable and how to implement such feature.

Read More

Generate/Validate JSON Web Tokens(JWT) in ASP.NET Core

Last week there was a requirement within one of our backend teams to generate and validate JWT without using IdentityServer4. I vividly remember that last year I have seen such same requirement in another company and they have manually done so many steps to do so and it was a painful process for them to achieve that goal. Here in this article we will discuss how one might have such feature in their API using built-in classes and functionalities in ASP.NET Core.

Read More