Exemplo n.º 1
0
 protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
 {
     PersistableSessions.Enable(pipelines, new InMemorySessionConfiguration());
 }
Exemplo n.º 2
0
 protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
 {
     base.ApplicationStartup(container, pipelines);
     IndexCreation.CreateIndexes(typeof(Categories_ByWebLogIdAndSlug).Assembly, Store);
     PersistableSessions.Enable(pipelines, new RavenDBSessionConfiguration(Store));
 }