Skip to content

sampson890727/eventsourcing

Repository files navigation

eventsourcing

This is an open-source framework which implement the event sourcing pattern and CQRS architecture and is suitable for developing DDD based applications.

  1. 运行源代码前先执行命令build nuget以获取外部依赖的程序集。具体步骤:在当前README.md文件所在目录,按住shit键,然后鼠标右键,在弹出的菜单项中选择“在此处打开命令窗口”,然后输入:build nuget,然后回车即可。注意:你的目录中不能包含空格,否则会出错!
  2. 如果要调试代码,需要先新建一个SQL数据库,比如名称叫EventSourcingTest,然后执行SQL脚本:scripts\GenerateTableScripts.sql
  3. 修改数据库连接字符串,配置文件目录:src\Sample\EventSourcing.Sample.Test\ConfigFiles\properties.config
  4. 由于Sample中的代码默认是采用异步的消息总线,所以运行代码前需要安装MSMQ,否则会报错。要安装MSMQ很简单,到控制面板->所有程序->启动或关闭Windows功能,然后选择MSMQ进行安装即可。

License

GPL

[GPL](http://www.gnu.org/copyleft/gpl.html)


Copyright (C) 2012  CodeSharp

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

This is an open-source framework which implement the event sourcing pattern and CQRS architecture and is suitable for developing DDD based applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published