Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 916 Bytes

File metadata and controls

32 lines (27 loc) · 916 Bytes

Crumbs

Build status

WIP

For service/console:

 CrumbsBootstrapper.Configure()
        .UseServiceCollection(servieCollection)
        .UseInproccessMediation()
        .UseSnapshotAllStrategy()
        .UseJsonSerializers()
        .UseHandlersFrom(Assembly.GetExecutingAssembly())
        .UseSqlite("Data Source=YourNameHere.db")
        .UseDefaultStores()
        .TestRun();

For ASP.NET Core:

 servieCollection.AddCrumbs((options) =>
            {
                options.UseInproccessMediation()
                .UseSnapshotAllStrategy()
                .UseJsonSerializers()
                .UseHandlersFrom(Assembly.GetExecutingAssembly())
                .UseSqlite("Data Source=YourNameHere.db")
                .UseDefaultStores();
            });