Skip to content

Commit

Permalink
updated ngrok command as used in latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Prithvi-MSFT committed Apr 13, 2023
1 parent bfdbf41 commit d836304
Show file tree
Hide file tree
Showing 219 changed files with 225 additions and 383 deletions.
4 changes: 2 additions & 2 deletions samples/account-linking/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ There are example in-memory and Azure implementations of the token persistance.

run ngrok locally
```bash
ngrok http https://localhost:5001
ngrok http 5001 --host-header="localhost:5001"
```

## Setup
### 1. Getting the domain name
If you are running this app locally, you will probably be using some form of tunnel to your local machine. For this sample we use [ngrok](https://ngrok.com)

```bash
ngrok http https://localhost:5001
ngrok http 5001 --host-header="localhost:5001"
```

```bash
Expand Down
2 changes: 1 addition & 1 deletion samples/app-anonymous-users/csharp/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This sample shows anonymous users support in meeting apps.
1. Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

2. Setup
Expand Down
2 changes: 1 addition & 1 deletion samples/app-cache-meetings/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This sample feature shows how to improve the subsequent loading time of an App t
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

2) Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/app-checkin-location/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
- Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

3) Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-checkin-location/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
### 3. Setup for code
1) Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/app-complete-auth/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

### 3. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-complete-auth/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

### 3. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-complete-sample/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ NOTE: Teams does not work nor render things exactly like the Bot Emulator, but i
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
4. Setup for code

Expand Down
2 changes: 1 addition & 1 deletion samples/app-complete-sample/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ E.g. ConnectionName = facebookconnection
- Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```
5. Clone the repository

Expand Down
2 changes: 1 addition & 1 deletion samples/app-hello-world/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 5000

```bash
# ngrok http -host-header=rewrite 5000
# ngrok http 5000 --host-header="localhost:5000"
```
### 3. Setup for code
- Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/app-hello-world/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3333

```bash
ngrok http -host-header=rewrite 3333
ngrok http 3333 --host-header="localhost:3333"
```

### 3. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-installation-using-qr-code/BotSSOSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Add the following Ids as authorized clients for your application
#### 2.1. Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

#### 2.2. Create new Azure Bot resource in Azure
Expand Down
2 changes: 1 addition & 1 deletion samples/app-installation-using-qr-code/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

3) Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-installation-using-qr-code/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

- Update the `.env` configuration file for the bot to use the `MicrosoftAppId` and `MicrosoftAppPassword` from the AAD app registration in Azure portal or from the Bot Framework registration. (Note that the MicrosoftAppId is the AppId created in step 1 (Setup for Bot SSO), the MicrosoftAppPassword is referred to as the "client secret" in step 1 (Setup for Bot SSO) and you can always create a new client secret anytime.)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
- Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

3) Setup for code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
### 3. Setup for code
1) Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/app-localization/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Verify you have the right account for building Teams apps and install some recom
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

4. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-localization/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
4. Setup for code

Expand Down
2 changes: 1 addition & 1 deletion samples/app-region-selection/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

### 3. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-sso/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Refer to [Bot SSO Setup document](https://github.com/OfficeDev/Microsoft-Teams-S
1) Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```
### 3. Setup for code

Expand Down
2 changes: 1 addition & 1 deletion samples/app-sso/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Refer to [Bot SSO Setup document](https://github.com/OfficeDev/Microsoft-Teams-S
- Run ngrok - point to port `3978`
```bash
ngrok http -host-header=localhost 3978
ngrok http 3978 --host-header="localhost:3978"
```
### 3. Setup for code
- Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/app-task-module/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Task modules build on the foundation of Microsoft Teams tabs: a task module is e
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

4. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/app-task-module/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Task modules build on the foundation of Microsoft Teams tabs: a task module is e
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
4. Setup for code
- Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-adaptive-card-actions/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This sample shows the feature where user can send Adaptive Card actions using bo
1. Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
3. Setup For Code

Expand Down
2 changes: 1 addition & 1 deletion samples/bot-adaptive-card-actions/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This sample shows the feature where user can send adaptive card with different a
Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

4. Setup For Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ the Teams service needs to call into the bot.
1) Run ngrok - point to port 3978

```bash
ngrok http --host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

1) Setup for Bot
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-all-cards/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
1) Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```
4. Setup for code
- Clone the repository
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-all-cards/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

4. Setup for code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This feature shown in this sample is currently available in Public Developer Pre
3 Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

4. Create a Bot Registration
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-archive-groupchat-messages/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ This feature shown in this sample is currently available in Public Developer Pre
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
4. Setup for code

Expand Down
2 changes: 1 addition & 1 deletion samples/bot-archive-groupchat-messages/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This feature shown in this sample is currently available in Public Developer Pre
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

3) Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-calling-meeting/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ the Teams service needs to call into the bot.
3) Run ngrok - point to port 3978

```bash
ngrok http --host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

## Register Azure AD application
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation-quickstart/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ urlFragment: officedev-microsoft-teams-samples-bot-conversation-quickstart-js
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```
4. Setup for code

Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation-sso-quickstart/BotSSOSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Add the following Ids as authorized clients for your application
#### 2.1. Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

#### 2.2. Create new Azure Bot resource in Azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Refer to [Bot SSO Setup document](https://github.com/OfficeDev/Microsoft-Teams-S
- Run ngrok - point to port 3978

```bash
# ngrok http -host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```
3. Setup for code

Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation-sso-quickstart/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The sample uses the bot authentication capabilities in [Azure Bot Service](https
- Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

3) Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ the Teams service needs to call into the bot.
1) Run ngrok - point to port 3978

```bash
ngrok http --host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

1) Setup for Bot
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ the Teams service needs to call into the bot.
1) Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

1) Setup for Bot
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ the Teams service needs to call into the bot.
1) Run ngrok - point to port 3978

```bash
ngrok http --host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

## Setup for bot
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-conversation/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ the Teams service needs to call into the bot.
2) Run ngrok - point to port 3978

```bash
ngrok http --host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

3) Create [Bot Framework registration resource](https://docs.microsoft.com/azure/bot-service/bot-service-quickstart-registration) in Azure
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-daily-task-reminder/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
3. Run ngrok - point to port 3978

```bash
# ngrok http --host-header=rewrite 3978
# ngrok http 3978 --host-header="localhost:3978"
```

4. Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-daily-task-reminder/nodejs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Please find below demo manifest which is deployed on Microsoft Azure and you can
Run ngrok - point to port 3978

```bash
ngrok http -host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

3) Setup for code
Expand Down
2 changes: 1 addition & 1 deletion samples/bot-file-upload/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ the Teams service needs to call into the bot.
1) Run ngrok - point to port 3978

```bash
ngrok http --host-header=rewrite 3978
ngrok http 3978 --host-header="localhost:3978"
```

1) Setup for Bot
Expand Down
Loading

0 comments on commit d836304

Please sign in to comment.