All Projects → lamondlu → Library

lamondlu / Library

Licence: apache-2.0
A microservice project using .NET Core 2.0, DDD, CQRS, Event Sourcing, Redis and RabbitMQ

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Library

Docker Alpine
Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
Stars: ✭ 574 (+370.49%)
Mutual labels:  rabbitmq, consul, service-discovery, nginx
csharp-ddd-skeleton
🦈✨ C# DDD Skeleton: Bootstrap your new C# projects applying Hexagonal Architecture and Domain-Driven Design patterns
Stars: ✭ 67 (-45.08%)
Mutual labels:  cqrs, rabbitmq, netcore, ddd-architecture
Netcoremicroservicessample
Sample using micro services in .NET Core 3.1 Focusing on clean code
Stars: ✭ 403 (+230.33%)
Mutual labels:  eventsourcing, rabbitmq, consul, cqrs
eshopzero
.Net Microservice Application
Stars: ✭ 27 (-77.87%)
Mutual labels:  cqrs, microservice, rabbitmq, eda
Dotnetcore Microservices Poc
Very simplified insurance sales system made in a microservices architecture using .NET Core
Stars: ✭ 1,304 (+968.85%)
Mutual labels:  rabbitmq, signalr, netcore, cqrs
Distributed-eStore
Ecommerce SPA application with a microservices architecture implemented from scratch. Tech stack - Docker, Consul, Fabio, RabbitMQ, .Net Core, Mediatr, CQRS, React, Redux. .NET Core Microservices template, .NET React Redux, .NET RabbitMQ, .NET Distributed, Docker, .NET Core with Docker.
Stars: ✭ 99 (-18.85%)
Mutual labels:  cqrs, rabbitmq, consul
CQELight
CQELight is an entreprise grade extensible and customisable framework for creating software with CQRS, DDD & Event Sourcing patterns
Stars: ✭ 21 (-82.79%)
Mutual labels:  cqrs, eda, ddd-architecture
Aspnet Servicediscovery Patterns
Samples of simple service discovery patterns with ASP .NET Core
Stars: ✭ 265 (+117.21%)
Mutual labels:  rabbitmq, consul, service-discovery
Practical.cleanarchitecture
Asp.Net Core 5 Clean Architecture (Microservices, Modular Monolith, Monolith) samples (+Blazor, Angular 11, React 17, Vue 2.6), Domain-Driven Design, CQRS, Event Sourcing, SOLID, Asp.Net Core Identity Custom Storage, Identity Server 4 Admin UI, Entity Framework Core, Selenium E2E Testing, SignalR Notification, Hangfire Tasks Scheduling, Health Checks, Security Headers, ...
Stars: ✭ 639 (+423.77%)
Mutual labels:  rabbitmq, signalr, cqrs
Pitstop
This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
Stars: ✭ 708 (+480.33%)
Mutual labels:  rabbitmq, netcore, cqrs
Quiz
Example real time quiz application with .NET Core, React, DDD, Event Sourcing, Docker and built-in infrastructure for CI/CD with k8s, jenkins and helm
Stars: ✭ 100 (-18.03%)
Mutual labels:  eventsourcing, rabbitmq, cqrs
Dev Stuff
😎 Programming stuff for everyone. Collection of articles, videos about architecture, Domain Driven Design, microservices, testing etc.
Stars: ✭ 105 (-13.93%)
Mutual labels:  microservice, cqrs, ddd-architecture
Practical Clean Ddd
A simplified and effortless approach to get started with Domain-driven Design, Clean Architecture, CQRS, and Microservices patterns
Stars: ✭ 28 (-77.05%)
Mutual labels:  microservice, cqrs, ddd-architecture
Kitsvc
⚙ 一個基於 Golang、Consul、Prometheus、EventStore、Gin、Gorm、NSQ 的微服務起始結構。
Stars: ✭ 101 (-17.21%)
Mutual labels:  microservice, eventsourcing, consul
Ultimate Backend
Multi tenant SaaS starter kit with cqrs graphql microservice architecture, apollo federation, event source and authentication
Stars: ✭ 978 (+701.64%)
Mutual labels:  consul, cqrs, ddd-architecture
Ketchup
ketchup (番茄酱) 是一个基于dotnet core的微服务框架。
Stars: ✭ 170 (+39.34%)
Mutual labels:  microservice, rabbitmq, consul
Revo
Event Sourcing, CQRS and DDD framework for C#/.NET Core.
Stars: ✭ 162 (+32.79%)
Mutual labels:  eventsourcing, netcore, cqrs
Event Sourcing Jambo
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine)
Stars: ✭ 159 (+30.33%)
Mutual labels:  microservice, cqrs, ddd-architecture
Kong
🦍 The Cloud-Native API Gateway
Stars: ✭ 30,838 (+25177.05%)
Mutual labels:  microservice, consul, nginx
Jdonframework
Domain-Driven-Design Pub/Sub Domain-Events framework
Stars: ✭ 978 (+701.64%)
Mutual labels:  eventsourcing, cqrs, ddd-architecture

Library

A microservice project using .NET Core 2.0, DDD, CQRS, Event Sourcing, Redis and RabbitMQ.

Components

Components

System Architecture

System Architecture

Prerequisites

  • Visual Studio 2017 (For development and debug propose)
  • RabbitMQ
  • Redis
  • Consul (Service Discovery and registeration)
  • Consult Template (Update and Restart Nginx)
  • Nginx (For Load Balance)
  • MongoDB (For Event Store)

EDA

EDA

Service Discovery

We will use the Nginx, Consul, Consul Template to create an service discovery and service registeration mechanism.

Service Discovery

  • The nginx will do the load balance work.
  • All the web or api instances will be registered in the consul server with the SelfRegister method.
  • Consul template will listen the consul server, if there is new instance, consul template will update the nginx.conf with assigned template and restart the nginx server, so the new instance will be connected with the nginx server correctly

Use the Log service as an example.

public void SelfRegister()
{
    var serviceDiscovery = InjectContainer.GetInstance<IServiceDiscovery>();
    serviceDiscovery.RegisterService(new Infrastructure.Operation.Core.Models.Service
    {
        Port = 5003,
        ServiceName = "LogService",
        Tag = "Microservice API"
    });

    Console.WriteLine("Register to consul successfully.");
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].