2
十六进制字符串至于我可以告诉我应该有JSON显示有效载荷列在我的SQL数据库提交表,但是,我有很长的十六进制字符串。EventStore只显示在有效载荷列
我wireup代码是按照与下面编辑样品:
private static IStoreEvents WireupEventStore()
{
return Wireup.Init()
.LogToOutputWindow()
.UsingInMemoryPersistence()
.UsingSqlPersistence("EventStore") // Connection string is in app.config
.WithDialect(new MsSqlDialect())
.EnlistInAmbientTransaction() // two-phase commit
.InitializeStorageEngine()
.UsingJsonSerialization()
.HookIntoPipelineUsing(new[] { new AuthorizationPipelineHook() })
.UsingSynchronousDispatchScheduler()
.DispatchTo(new DelegateMessageDispatcher(DispatchCommit))
.Build();
}
任何想法如何获得JSON和使调试更容易?