sp-dev-fx-webparts/samples/react-bot-framework/vs2015-bot-application/README.md

64 lines
4.1 KiB
Markdown
Raw Normal View History

# Microsoft Bot Framework Web Chat - Visual Studio 2015 bot project
## Summary
Simple VS 2015 project created with the Microsoft Bot Framework templates. Meant to be used together with associated SP Fx client side web part, which is assocated to talk to this bot.
## Applies to
* [Microsoft Bot Framework](http://dev.botframework.com)
## Version history
Version|Date|Comments
-------|----|--------
1.0|October 28th, 2016|Initial release
## Minimal Path to Awesome
- Clone this repository
- Open this Visual Studio Project in Visual Studio 2015
- Compile the code
- Register bot in [Bot Framework Portal](http://dev.botframework.com) for getting MicrosoftAppId and MicrosoftAppPassword values needed for web.configure
- Update web.config accordingly
- Deploy to be hosted in Azure
See following URLs for more details on the step-by-step guidance
* [Getting started with the Connector](https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html) - MS Bot Framework documentation
* [Creating your first bot with the Microsoft Bot Framework Part 1 Build and test locally](http://www.garypretty.co.uk/2016/07/14/creating-your-first-bot-with-the-microsoft-bot-framework-part-1/) - [@GaryPretty](https://twitter.com/GaryPretty)
* [Creating your first bot with the Microsoft Bot Framework Part 2 publishing and chatting through Skype](http://www.garypretty.co.uk/2016/07/16/creating-your-first-bot-with-the-microsoft-bot-framework-part-2/) - [@GaryPretty](https://twitter.com/GaryPretty)
## Needed configuration settings
You will need to update following three configuration options in the web.config for making this template work properly.
```XML
<appSettings>
<!-- update these with your BotId, Microsoft App Id and your Microsoft App Password-->
<add key="BotId" value="update-to-your-value" />
<add key="MicrosoftAppId" value="update-to-your-value" />
<add key="MicrosoftAppPassword" value="update-to-your-value" />
</appSettings>
```
2021-11-21 02:51:08 -05:00
## Help
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
If you're having issues building the solution, please run [spfx doctor](https://pnp.github.io/cli-microsoft365/cmd/spfx/spfx-doctor/) from within the solution folder to diagnose incompatibility issues with your environment.
You can try looking at [issues related to this sample](https://github.com/pnp/sp-dev-fx-webparts/issues?q=label%3A%22sample%3A%20vs2015-bot-application%22) to see if anybody else is having the same issues.
You can also try looking at [discussions related to this sample](https://github.com/pnp/sp-dev-fx-webparts/discussions?discussions_q=vs2015-bot-application) and see what the community is saying.
If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected%2Csample%3A%20vs2015-bot-application&template=bug-report.yml&sample=vs2015-bot-application&authors=@stephanbisser&title=vs2015-bot-application%20-%20).
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aquestion%2Csample%3A%20vs2015-bot-application&template=question.yml&sample=vs2015-bot-application&authors=@stephanbisser&title=vs2015-bot-application%20-%20).
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement%2Csample%3A%20vs2015-bot-application&template=suggestion.yml&sample=vs2015-bot-application&authors=@stephanbisser&title=vs2015-bot-application%20-%20).
## Disclaimer
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
2023-03-12 21:16:15 -04:00
<img src="https://m365-visitor-stats.azurewebsites.net/sp-dev-fx-webparts/samples/react-bot-framework/vs2015-bot-application" />