{"action":"closed","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/564","repository_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/564/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/564/events","html_url":"https://github.com/MicrosoftDocs/bot-docs/issues/564","id":383341770,"node_id":"MDU6SXNzdWUzODMzNDE3NzA=","number":564,"title":"Warning about in-memory storage is unclear","user":{"login":"v-kydela","id":41968495,"node_id":"MDQ6VXNlcjQxOTY4NDk1","avatar_url":"https://avatars1.githubusercontent.com/u/41968495?v=4","gravatar_id":"","url":"https://api.github.com/users/v-kydela","html_url":"https://github.com/v-kydela","followers_url":"https://api.github.com/users/v-kydela/followers","following_url":"https://api.github.com/users/v-kydela/following{/other_user}","gists_url":"https://api.github.com/users/v-kydela/gists{/gist_id}","starred_url":"https://api.github.com/users/v-kydela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-kydela/subscriptions","organizations_url":"https://api.github.com/users/v-kydela/orgs","repos_url":"https://api.github.com/users/v-kydela/repos","events_url":"https://api.github.com/users/v-kydela/events{/privacy}","received_events_url":"https://api.github.com/users/v-kydela/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-22T00:51:52Z","updated_at":"2018-11-27T16:43:46Z","closed_at":"2018-11-27T16:43:46Z","author_association":"NONE","body":"Consider this warning:\n\n&gt; [!NOTE] \n&gt; Use bot state manager to store preferences, user name, or the last thing they ordered, but do not use it to store critical business data. For critical data, create your own storage components or write directly to [storage](bot-builder-howto-v4-storage.md).\n&gt; In-memory data storage is intended for testing only. This storage is volatile and temporary. The data is cleared each time the bot is restarted.\n\nLooking at the markdown in the source, it seems like these are meant to be two different warnings, and it's a little confusing when they're combined into one in the viewed page. It looks like the part about in-memory storage is a continuation of the thought about the bot state manager, which tends to give the impression that all bot state manager storage is in-memory storage, which would be to say they're the same thing. If these were split into two separate notes then it would be more clear that in-memory storage is just one type of storage that the bot state manager manages.\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: 2c94a4c9-e988-3b42-a7db-3634d15e9c47\n* Version Independent ID: 68765289-1d77-6e4a-c6fb-1abbc067fcbd\n* Content: [Save user and conversation data - Bot Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-state?view=azure-bot-service-4.0&tabs=js)\n* Content Source: [articles/v4sdk/bot-builder-howto-v4-state.md](https://github.com/MicrosoftDocs/bot-docs/blob/live/articles/v4sdk/bot-builder-howto-v4-state.md)\n* Service: **bot-service**\n* Product: **bot-framework**\n* GitHub Login: @ivorb\n* Microsoft Alias: **v-ivorb**"}}
{"actor":{"display_login":"Kaiqb"}}