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

jeryhu/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.MessageBroker
2)ConferenceManagement.ProcessorHost
3)Payments.ProcessorHost
4)Registration.ProcessorHost
5)ConferenceManagement.Web
6)Registration.Web
其中2,3,4对应了划分的三个BC (ConferenceManagement,Payments,Registration) 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# 75.3%
  • CSS 14.6%
  • HTML 5.6%
  • JavaScript 4.5%