Dynamic API Extension in ASP.Net Core

Introduction This article describes about extending API in asp.net core dynamically at runtime. This means we do not have to recompile the code again if there are any new API is introduced. We can develop the extension project in a separate solution and deploy only the dll file to the server. Some use cases of this project are, 1. Create a dynamic API at runtime and add the API to existing server. 2. When a third-party team want to extend the API for their own use. 3. A scenario in where we do not have to deploy the extended services as a separate microservices. Some advantages of using this architecture, 1. Modularize the project, so that it is easy to maintain different parts of the project. 2. No need to restart the server for deployment. 3. ...