Closed JonathanFingold closed 6 years ago
PS. You need to add the following line to the bot's .cs file before saving to storage because our state object is a value type:
await _accessors.CounterAccessor.SetAsync(turnContext, count);
This is the same problem as #871 just rearing its head in a diff way.
Using an IPropertyAccessor with CosmosDB as the storage layer in ASP.NET Core causes exceptions.
Repo steps: Modify the 2.EchoBotWithCounter v4 sample:
Error information: