Accessing a .NET Bot's State via Dependency Injection

added by DotNetKicks
3/29/2018 9:09:31 PM

1 Kicks, 259 Views

The .NET BotBuilder SDK has deprecated the StateClient class, leaving some to wonder how they should access their bot's state. Premier Developer Consultant Ben Williams shares an example of using dependency injection in your BotFramework projects. When using the .NET BotBuilder SDK's dialog system, you can access the bot state using the dialog context.


0 comments