'.net core swap REST controller assemblies graceful shutdown
I would like to achieve the following:
- Have a generic gateway REST-container. This REST-Container provides no REST Methods but provides backend infrastructure services like audit logging, heartbeat functionality etc.
- Plugin-assemblies which define routes and provide REST interfaces.
The generic container will have to communicate with the plugin-assemblies. It's the plugin assembly which can de-serialize the received message and provide eg. foreign keys for audit logging.
- I would like to be able to add plugin assemblies --> REST endpoint becomes available
- I would like to be able to stop an endpoint gracefully
- I would like to be able to replace an endpoint with a new version --> new assembly
Is this doable in .net core? What would be pointers to start?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
