Skip to content

Commit

Permalink
Dotnet: README cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tracyboehrer committed Jun 26, 2020
1 parent 38c822d commit f530552
Show file tree
Hide file tree
Showing 51 changed files with 830 additions and 292 deletions.
14 changes: 7 additions & 7 deletions samples/csharp_dotnetcore/02.echo-bot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/02.echo-bot`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/02.echo-bot`

```bash
# run the bot
Expand All @@ -43,14 +42,18 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Interacting with the bot

Enter text in the emulator. The text will be echoed back by the bot.

## Deploy the bot to Azure

To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions.
Expand All @@ -65,7 +68,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
- [Restify](https://www.npmjs.com/package/restify)
- [dotenv](https://www.npmjs.com/package/dotenv)
14 changes: 6 additions & 8 deletions samples/csharp_dotnetcore/03.welcome-user/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# welcome users
# Welcome Users

Bot Framework v4 welcome users bot sample

Expand All @@ -21,10 +21,9 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/03.welcome-user`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/03.welcome-user`

```bash
# run the bot
Expand All @@ -43,17 +42,17 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Welcoming Users
## Interacting with the bot

The primary goal when creating any bot is to engage your user in a meaningful conversation. One of the best ways to achieve this goal is to ensure that from the moment a user first connects, they understand your bot’s main purpose and capabilities, the reason your bot was created. See [Send welcome message to users](https://aka.ms/botframework-welcome-instructions) for additional information on how a bot can welcome uers to a conversation.
The primary goal when creating any bot is to engage your user in a meaningful conversation. One of the best ways to achieve this goal is to ensure that from the moment a user first connects, they understand your bot’s main purpose and capabilities, the reason your bot was created. See [Send welcome message to users](https://aka.ms/botframework-welcome-instructions) for additional information on how a bot can welcome users to a conversation.

## Deploy the bot to Azure

Expand All @@ -69,5 +68,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
12 changes: 5 additions & 7 deletions samples/csharp_dotnetcore/05.multi-turn-prompt/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# multi-turn prompt
# Multi-turn prompt

Bot Framework v4 multi-turn prompt bot sample

Expand All @@ -21,10 +21,9 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/05.multi-turn-prompt`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/05.multi-turn-prompt`

```bash
# run the bot
Expand All @@ -43,15 +42,15 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Prompts
## Interacting with the bot

A conversation between a bot and a user often involves asking (prompting) the user for information, parsing the user's response,
and then acting on that information. This sample demonstrates how to prompt users for information using the different prompt types
Expand All @@ -77,5 +76,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
12 changes: 5 additions & 7 deletions samples/csharp_dotnetcore/06.using-cards/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# using cards
# Using Cards

Bot Framework v4 using cards bot sample

Expand All @@ -21,10 +21,9 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/06.using-cards`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/06.using-cards`

```bash
# run the bot
Expand All @@ -43,15 +42,15 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Rich Cards
## Interacting with the bot

Most channels support rich content. In this sample we explore the different types of rich cards your bot may use. A key to good bot design is to send interactive media, such as Rich Cards. There are several different types of Rich Cards, which are as follows:

Expand Down Expand Up @@ -80,5 +79,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
12 changes: 5 additions & 7 deletions samples/csharp_dotnetcore/07.using-adaptive-cards/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# using adaptive cards
# Using Adaptive Cards

Bot Framework v4 using adaptive cards bot sample

Expand All @@ -21,10 +21,9 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/07.using-adaptive-cards`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/07.using-adaptive-cards`

```bash
# run the bot
Expand All @@ -43,15 +42,15 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Adaptive Cards
## Interacting with the bot

Card authors describe their content as a simple JSON object. That content can then be rendered natively inside a host application, automatically adapting to the look and feel of the host. For example, Contoso Bot can author an Adaptive Card through the Bot Framework, and when delivered to Cortana, it will look and feel like a Cortana card. When that same payload is sent to Microsoft Teams, it will look and feel like Microsoft Teams. As more host apps start to support Adaptive Cards, that same payload will automatically light up inside these applications, yet still feel entirely native to the app. Users win because everything feels familiar. Host apps win because they control the user experience. Card authors win because their content gets broader reach without any additional work.

Expand Down Expand Up @@ -80,5 +79,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
12 changes: 5 additions & 7 deletions samples/csharp_dotnetcore/08.suggested-actions/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# suggested actions
# Suggested Actions

Bot Framework v4 using adaptive cards bot sample

Expand All @@ -21,10 +21,9 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/08.suggested-actions`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/08.suggested-actions`

```bash
# run the bot
Expand All @@ -43,15 +42,15 @@ This bot has been created using [Bot Framework](https://dev.botframework.com), i

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## Suggested actions
## Interacting with the bot

Suggested actions enable your bot to present buttons that the user can tap to provide input. Suggested actions appear close to the composer and enhance user experience.
They enable the user to answer a question or make a selection with a simple tap of a button, rather than having to type a response with a keyboard.
Expand All @@ -74,5 +73,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
14 changes: 6 additions & 8 deletions samples/csharp_dotnetcore/11.qnamaker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This samples **requires** prerequisites in order to run.

### Overview

This bot uses [QnA Maker Service](https://www.qnamaker.ai), an AI based cognitive service, to implement simple Question and Answer conversational patterns.
- This bot uses [QnA Maker Service](https://www.qnamaker.ai), an AI based cognitive service, to implement simple Question and Answer conversational patterns.

- [.NET Core SDK](https://dotnet.microsoft.com/download) version 3.1

Expand All @@ -33,10 +33,9 @@ QnA knowledge base setup and application configuration steps can be found [here]
git clone https://github.com/Microsoft/botbuilder-samples.git
```

- In a terminal, navigate to `samples/csharp_dotnetcore/11a.qnamaker`
- Run the bot from a terminal or from Visual Studio, choose option A or B.
- Run the bot from a terminal or from Visual Studio:

A) From a terminal
A) From a terminal, navigate to `samples/csharp_dotnetcore/11.qnamaker`

```bash
# run the bot
Expand All @@ -47,23 +46,23 @@ QnA knowledge base setup and application configuration steps can be found [here]

- Launch Visual Studio
- File -> Open -> Project/Solution
- Navigate to `samples/csharp_dotnetcore/11a.qnamaker` folder
- Navigate to `samples/csharp_dotnetcore/11.qnamaker` folder
- Select `QnABot.csproj` file
- Press `F5` to run the project

## Testing the bot using Bot Framework Emulator

[Bot Framework Emulator](https://github.com/microsoft/botframework-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.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
- Install the latest Bot Framework Emulator from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)

### Connect to the bot using Bot Framework Emulator

- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3978/api/messages`

## QnA Maker service
## Interacting with the bot

QnA Maker enables you to power a question and answer service from your semi-structured content.

Expand All @@ -85,5 +84,4 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](htt
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [QnA Maker CLI](https://github.com/Microsoft/botbuilder-tools/tree/master/packages/QnAMaker)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)
Loading

0 comments on commit f530552

Please sign in to comment.