This sample application contains the basic componetents of an Ncqrs bases application. It is build with ASP.NET MVC2 and the Ncqrs Framework.
What do you need to run this sample app?
- Visual Studio 2010
- Microsoft SQL 2005 Express or higher
- Microsoft MVC3
Follow these steps to get the website running.
- Run BUILD.bat in the root folder (two up).
- Open MyNotes.sln with Visual Studio 2010 (Run as Administrator http://stackoverflow.com/questions/6898597/visual-studio-unable-to-open-port-to-host-wcf-service).
- Run MyNotesEventStore.sql to create the event store database.
- Run MyNotesReadModel.sql to create the read model database.
- If needed (this step is not needed when you run the default SQL express),
update ReadModelContainer connection string in
- CommandService\Web.config
- ReadModel\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/ncqrs - Mail: ncqrs-dev@googlegroups.com