Bot mini demo can be seen here
- card support
- userdata save to cosmosdb
- order save to cosmosdb
- start CosmosDB emulator
- go to https://localhost:8081/_explorer/index.html
- Create database WomanDayBot
- Create Collection
- Database id: WomanDayBot
- Collection Id: Orders
- Partition key: /orderId
- Throughput: 10000
- Unique keys: /orderId
- Create Collection
- Database id: WomanDayBot
- Collection Id: CardConfiguration
- Partition key: /cardconfigid
- Throughput: 10000
- Unique keys: /cardconfigid
- Upload Documents for local development localted in the .\WomanDayBot\Data\CardConfiguration.json (upload may hand locally, create docs one by one then )
Run the bot from a terminal or from Visual Studio.
- Launch Visual Studio
- File -> Open -> Project/Solution
- Select <your_project_folder>/WomanDayBot.sln
file
- Press F5
to run the project
Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework Emulator version 4.2.0 or greater from here
- Launch Bot Framework Emulator
- File -> Open Bot Configuration
- Navigate to
<your_project_folder>/WomanDayBot
folder - Select
WomanDayBot.bot
file - Secret is stored in Azure Bot settings (ask in skype chat)