This sample application contains the basic components of a CQRS + Event Sourcing application. It is built with ASP.NET MVC4, the Ncqrs Framework, and Entity Framework 5.0.
What do you need to run this sample app?
- Visual Studio 2010 or 2012
- Microsoft MVC4 (Included with VS 2012)
- IIS Express
- Microsoft SQL 2005 Express or higher
Follow these steps to get the website running.
- Run BUILD.bat in the root folder (two up).
- Run MyNotesReadModel.sql in the "sqlexpress" folder to create the read model database.
- Open MyNotes 2012.sln with Visual Studio 2012 (Run as Administrator: http://stackoverflow.com/questions/6898597/visual-studio-unable-to-open-port-to-host-wcf-service).
- If needed (this step is not needed when you run the default SQL express),
update the "MyNotes Read Model" connection string in
- ApplicationService\app.config
- Website\Web.config
- Set Website and ApplicationService as default startup project.
- Hit F5 and have fun!
If you have any questions or feedback, contact me via: - Twitter: http://twitter.com/theBoringCoder - Mail: [email protected]