joergeg / cqrs-sample Goto Github PK
View Code? Open in Web Editor NEWSample project for CQRS with Eventsourcing. RavenDB is used as the event store and a WPF Client as the UI. It's without eventual consistency.
Sample project for CQRS with Eventsourcing. RavenDB is used as the event store and a WPF Client as the UI. It's without eventual consistency.
Cloned, Compiled, Run, Broken.
Exception occurred within
private IStoreEvents GetInitializedEventStore(IPublishMessages bus)
after connected with RavenDB (I know because if I stop Raven I get a different error).
Do you know where I'm failing?
Exception details are:
System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid.TryParseGuidWithDashes(String guidString, GuidResult& result)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at Raven.Client.Client.ServerClient.DirectQuery(String index, IndexQuery query, String operationUrl, String[] includes)
at Raven.Client.Client.ServerClient.<>c__DisplayClass1e.<Query>b__1d(String u)
at Raven.Client.Client.ServerClient.TryOperation[T](Func`2 operation, String operationUrl, Boolean avoidThrowing, T& result)
at Raven.Client.Client.ServerClient.ExecuteWithReplication[T](Func`2 operation)
at Raven.Client.Client.ServerClient.Query(String index, IndexQuery query, String[] includes)
at Raven.Client.Document.AbstractDocumentQuery`2.GetQueryResult()
at Raven.Client.Document.AbstractDocumentQuery`2.get_QueryResult()
at Raven.Client.Linq.RavenQueryProviderProcessor`1.ExecuteQuery[TProjection]()
at Raven.Client.Linq.RavenQueryProviderProcessor`1.Execute(Expression expression)
at Raven.Client.Linq.RavenQueryProvider`1.Execute(Expression expression)
at Raven.Client.Linq.RavenQueryProvider`1.System.Linq.IQueryProvider.Execute(Expression expression)
at Raven.Client.Linq.RavenQueryInspector`1.GetEnumerator()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at EventStore.Dispatcher.SynchronousDispatcher.Start() in c:\Code\lib\EventStore\src\proj\EventStore.Core\Dispatcher\SynchronousDispatcher.cs:line 39
at EventStore.SynchronousDispatcherWireup.<.ctor>b__0(NanoContainer c) in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\SynchronousDispatcherWireup.cs:line 12
at EventStore.ContainerRegistration.Resolve(NanoContainer container) in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\NanoContainer.cs:line 59
at EventStore.NanoContainer.Resolve[TService]() in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\NanoContainer.cs:line 33
at EventStore.Wireup.<Init>b__0(NanoContainer c) in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\Wireup.cs:line 26
at EventStore.ContainerRegistration.Resolve(NanoContainer container) in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\NanoContainer.cs:line 59
at EventStore.NanoContainer.Resolve[TService]() in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\NanoContainer.cs:line 33
at EventStore.Wireup.Build() in c:\Code\lib\EventStore\src\proj\EventStore.Wireup\Wireup.cs:line 45
at CQRSSample.Infrastructure.Installers.EventStoreInstaller.GetInitializedEventStore(IPublishMessages bus) in D:\Repos\CQRS-Sample\CQRSSample.Infrastructure\Installers\EventStoreInstaller.cs:line 38
at CQRSSample.Infrastructure.Installers.EventStoreInstaller.Install(IWindsorContainer container, IConfigurationStore store) in D:\Repos\CQRS-Sample\CQRSSample.Infrastructure\Installers\EventStoreInstaller.cs:line 29
at Castle.Windsor.Installer.AssemblyInstaller.Install(IWindsorContainer container, IConfigurationStore store) in e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\Windsor\Installer\AssemblyInstaller.cs:line 57
at Castle.Windsor.WindsorContainer.Install(IWindsorInstaller[] installers, DefaultComponentInstaller scope) in e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\Windsor\WindsorContainer.cs:line 324
at Castle.Windsor.WindsorContainer.Install(IWindsorInstaller[] installers) in e:\OSS.Code\Castle.Windsor\src\Castle.Windsor\Windsor\WindsorContainer.cs:line 674
at CQRSSample.Infrastructure.BootStrapper.BootStrap(IDocumentStore store) in D:\Repos\CQRS-Sample\CQRSSample.Infrastructure\BootStrapper.cs:line 25
at CQRSSample.WpfClient.WpfClientBootstrapper.Configure() in D:\Repos\CQRS-Sample\CQRSSample.WpfClient\WpfClientBootstrapper.cs:line 23
at Caliburn.Micro.Bootstrapper.StartRuntime() in C:\projects\caliburnmicro\src\Caliburn.Micro.Silverlight\Bootstrapper.cs:line 71
at Caliburn.Micro.Bootstrapper..ctor() in C:\projects\caliburnmicro\src\Caliburn.Micro.Silverlight\Bootstrapper.cs:line 53
at Caliburn.Micro.Bootstrapper`1..ctor()
at CQRSSample.WpfClient.WpfClientBootstrapper..ctor()
After downloading, compiling, running Raven.Server.exe, and debugging, I get this exception...
Initialization of 'Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem' threw an exception.' Line number '14' and line position '18'.
Could not load file or assembly 'Microsoft.Windows.Shell, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
I've tried this on two different machines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.