• Stars
    star
    118
  • Rank 298,385 (Top 6 %)
  • Language
    C#
  • Created almost 10 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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,到这里,整个案例运行就完成了。 第一步,先在ConferenceManagement.Web网站的首页上点击Create Conference按钮创建第一个Conference,创建成功后,才能通过Login按钮登录访问管理你之前创建的Conference哦。

More Repositories

1

enode

ENode is a framework aims to help us developing ddd, cqrs, eda, and event sourcing style applications.
C#
1,813
star
2

equeue

a distributed mq written by c#.
C#
580
star
3

forum

a forum implemented by enode framework.
JavaScript
225
star
4

ecommon

A common infrastructure library.
C#
181
star
5

ecommerce

An E-commerce open source system which implemented by .NET and ENode framework.
92
star
6

estore

An open source event store implemented by .NET.
C#
40
star
7

SocketAsyncEventArgsSample

A sample to use SocketAsyncEventArgs to build high performance tcp server and client.
C#
26
star
8

DataStructure

一个C#实现的数据结构动画演示系统
C#
17
star
9

eventsourcing

【注,该框架已废弃,请用enode】A framework implements event sourcing pattern.
C#
14
star
10

ActorLite

一个C#实现的Actor例子
C#
12
star
11

ENodeQuickStart

A quick start sample for enode framework.
C#
7
star
12

ComponentLibrary

包含了一系列实用的组件库,为快速开发Windows桌面应用程序提供支持。
C#
7
star
13

EQueueSample

A simple sample to illustrate how to use equeue.
C#
6
star
14

CodeGenerator

一个实用的代码生成工具
C#
5
star
15

textdiff

diff tools to compare text and htmls
C#
5
star
16

MicrosoftConferenceSample

The sample from microsoft cqrs journey sample code.
C#
4
star
17

SocketAsyncSample

A good design of async socket operation sample
C#
4
star
18

ServiceMonitor

A monitor program used to detect whether windows service is shutdown.
C#
3
star
19

AsyncSocketSample

A sample of multi clients and one server async socket communication using c#.
C#
3
star
20

spiderforum

a simple forum.
C#
2
star
21

ENodeHome

C#
1
star
22

FileReadWriteTesting

C#
1
star
23

BlockingCollectionTest

C#
1
star
24

ZJM

一个杂志订阅系统
C#
1
star