These are microservices based on ASP.NET Core 3.1, using RabbitMQ with MassTransit, EntityFramework Core with MS SQL Server, authentication and authorization with IdentityServer4, as well as Swagger, Bogus, AutoMapper, Bootstrap, etc.
Show an example of interaction with several autonomous microservices, interaction between which occurs via the AMQP protocol and using Http as the communication protocol between client applications and the gateway, as well as authentication and authorization (using Claims) with IdentityServer4 using access and refresh token (JWT).
- ✅NewsPaper.MassTransit.Configuration
- ✅NewsPaper.MassTransit.Contracts
- ✅NewsPaper.IdentityServer
- ✅Newspaper.GateWay
- ✅NewsPaper.Accounts
- ✅NewsPaper.Articles
- ✅NewsPaper.GatewayClientApi
- ✅NewsPaper.Client.Mvc
-
install RabbitMQ on a working machine.
-
Replace ConnectionStrings in appsettings on projects - Articles, Accounts, IdentityServer.
-
Uncomment DatabaseInitializer.Init in Program.cs && Apply Migration IdentityServer.