Template for MicroService in .NET Core
Every time a developer bootstrap a new microservice, he/she needs to add some common code for some standard things like logging, authorization and many more. This project serves this need to create a code template for a standard microservice and make this template availabe via visual studio marketplace.
Common features to be implemented for basic Rest API template:
- Logging using Serilog. ✔️
- Authentication using JWT. ✔️
- Prometheus for metrics. ✔️
- Swagger Documentation. ✔️
- Circuit breaker using polly with httpclient. ✔️
- API Rate Limiting.
- Centralized Logging.(ELK stack or Graylog).
- Grafana integration.
For set of microservices we also need to have API gateway with service discovery mechanism.
- API Gateway with Ocelot
- Service discovery using consul.