Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

binaryfog/BinaryFog.Bot.Builder.LiteDb

Repository files navigation

BinaryFog.Bot.Builder.LiteDb

Microsoft Bot Builder Storage provider based on LiteDb database

Usage

In Startup.cs , replace MemoryStorage with BinaryFog.Bot.Builder.LiteDb.LiteDbStorage

 var storage = new BinaryFog.Bot.Builder.LiteDb.LiteDbStorage();
 
 // Create the User state passing in the storage layer.
 var userState = new UserState(storage);
 services.AddSingleton(userState);
 // Create the Conversation state passing in the storage layer.
 var conversationState = new ConversationState(storage);
 services.AddSingleton(conversationState);

About

Microsoft Bot Builder Storage provider based on LiteDb database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /