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和使調試更容易?