Skip to content

A conference example to explain how to use enode to develop ddd+cqrs+event souricng application.

Notifications You must be signed in to change notification settings

chenglong1011/Conference

 
 

Repository files navigation

Conference

A conference example to explain how to use enode to develop ddd+cqrs+event sourcing style application.

本项目是展示如何使用ENode开发基于DDD,CQRS,ES架构的应用程序。

共分为三个Bounded Context:
1.ConferenceManagement,负责会议位置后台管理
2.Registration,负责处理用户下单
3.Payments,负责处理支付

运行步骤:
1.新建一个数据库Conference,执行Scripts目录下的CreateConferenceTables脚本,创建该数据库中的相关表;
2.新建一个数据库Conference_ENode,执行Scripts目录下的CreateENodeTables脚本,创建该数据库中的相关表;
3.修改Hosts目录下每个顶层宿主工程里的App.config或Web.config里的数据库连接字符串,确保数据库连接是正确的;
4.逐个启动所有的宿主工程,启动顺序可以如下:
1)Conference.MessageNameServer 2)Conference.MessageBroker
3)ConferenceManagement.ProcessorHost
4)Payments.ProcessorHost
5)Registration.ProcessorHost
6)ConferenceManagement.Web
7)Registration.Web

OK,到这里,整个案例运行就完成了。

About

A conference example to explain how to use enode to develop ddd+cqrs+event souricng application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 58.5%
  • HTML 22.6%
  • CSS 14.5%
  • JavaScript 4.4%