Skip to content

Commit

Permalink
Update documentation links to point to new docs (microsoft#118)
Browse files Browse the repository at this point in the history
* [C#-RichCards] Update image link pointing to old documentation

* [C#-SendAttachments] Update image link pointing to old documentation

* [C#-DirectLine] Update image link pointing to old documentation

* [C#-DirectLineWebSockets] Update image link pointing to old documentation

* [C#-CardsAttachments] Update links pointing to old doc (microsoft#55)

* [C#-CardsAttachment] Update image link pointing to old doc in AnimationCardScorable

* [C#-CardsAttachment] Update image link pointing to old doc in CarouselCardsScorable

* [C#-CardsAttachments] Update link pointing to old doc in HeroCardScorable

* [C#-CardsAttachments] Update link pointing to old doc in ThumbnaildCardScorable

* [Node-DirectLine] Update image link pointing to old documentation

* [Node-DirectLineWebSockets] Update image link pointing to old documentation

* [Node-RichCards] Update links pointing to old doc

* [Node-SendAttachment] Update image link pointing to old documentation

* [C#-CardsAttachments] Update links pointing to old links in assets (microsoft#56)

* [C#-CardsAttachments] Update links pointing to old doc in CSharpCode.xml

* [C#-CardsAttachments] Update links pointing to old docs in NodeJsCode.xml

* [C#] Update links on some leftover files

* [C#] Update documentation links to point to new docs in C# samples READMEs

* [Node] Update documentation links to point to new docs in Node samples READMEs
  • Loading branch information
ejadib authored and RobStand committed May 11, 2017
1 parent 1cac51a commit 6b3df2c
Show file tree
Hide file tree
Showing 67 changed files with 246 additions and 241 deletions.
10 changes: 5 additions & 5 deletions CSharp/Blog-LUISActionBinding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -930,11 +930,11 @@ User's request triggers the ‘FindHotelsAction_ChangeCheckin’ intent/action,
### More Information

To get more information about how to get started in Bot Builder for .NET and Conversations please review the following resources:
* [Bot Builder for .NET](https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html)
* [Understanding Natural Language](https://docs.botframework.com/en-us/node/builder/guides/understanding-natural-language/)
* [Bot Builder for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/)
* [Enable language understanding with LUIS](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-luis-dialogs)
* [LUIS Help Docs](https://www.luis.ai/Help/)
* [Cognitive Services Documentation](https://www.microsoft.com/cognitive-services/en-us/luis-api/documentation/home)
* [Passing in Initial Form State and Entities](https://docs.botframework.com/en-us/csharp/builder/sdkreference/forms.html#initialState)
* [Specify initial form state and entities](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-formflow-advanced#specify-initial-form-state-and-entities)
* Other examples using LUIS
* [Dialogs - Alarm Bot](https://docs.botframework.com/en-us/csharp/builder/sdkreference/dialogs.html#alarmBot)
* [Weather Bot](https://docs.botframework.com/en-us/bot-intelligence/language/#example-weather-bot)
* [Alarm Bot](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-luis-dialogs#alarm-bot-implementation)
* [Weather Bot](https://docs.microsoft.com/en-us/bot-framework/cognitive-services-add-bot-language#language-understanding-bot-example)
4 changes: 2 additions & 2 deletions CSharp/capability-BotInApps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A sample bot showing how to go beyond by becoming embedded into larger applicati
The minimum prerequisites to run this sample are:
* The latest update of Visual Studio 2015. You can download the community version [here](http://www.visualstudio.com) for free.
* The Xamarin Platform. You can download it from [here](https://www.xamarin.com/platform) for free.
* Register your bot with the Microsoft Bot Framework. Please refer to [this](https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html#registering) for the instructions.
* Register your bot with the Microsoft Bot Framework. Please refer to [this](https://docs.microsoft.com/en-us/bot-framework/portal-register-bot) for the instructions.
* Enable the Web Chat channel, edit the settings

![ChatWidget Channel](images/chatwidget-channel.png)
Expand All @@ -15,7 +15,7 @@ The minimum prerequisites to run this sample are:

![ChatWidget Token](images/chatwidget-token.PNG)

Refer to [this](https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html#channels) for more information on how to configure channels.
Refer to [this](https://docs.microsoft.com/en-us/bot-framework/portal-configure-channels) for more information on how to configure channels.

* Update the `WebView`'s source of the [WebPage.cs](WorkingWithWebview/WebPage.cs#L11) file of the `WorkingWithWebview` project with the Web chat embed code.

Expand Down
4 changes: 2 additions & 2 deletions CSharp/capability-SimpleTaskAutomation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ You will see the following result in the Bot Framework Emulator when opening and
### More Information

To get more information about how to get started in Bot Builder for .NET and Conversations please review the following resources:
* [Bot Builder for .NET](https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html)
* [Dialogs](https://docs.botframework.com/en-us/csharp/builder/sdkreference/dialogs.html)
* [Bot Builder for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/)
* [Dialogs](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-dialogs)
* [IDialogContext Interface](https://docs.botframework.com/en-us/csharp/builder/sdkreference/d1/dc6/interface_microsoft_1_1_bot_1_1_builder_1_1_dialogs_1_1_i_dialog_context.html)
* [PromptDialog](https://docs.botframework.com/en-us/csharp/builder/sdkreference/d9/d03/class_microsoft_1_1_bot_1_1_builder_1_1_dialogs_1_1_prompt_dialog.html)
12 changes: 6 additions & 6 deletions CSharp/cards-CarouselCards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The minimum prerequisites to run this sample are:
You can send multiple rich card attachments in a single message. On most channels they will be sent as a list of rich cards, but some channels (like Skype and Facebook) can render them as a carousel of rich cards. The `IMessageActivity.AttachmentLayout` property allows you to control how the rich cards will be rendered. Check out the key code located in the [CarouselCardsDialog](CarouselCardsDialog.cs#L21) class where the attachments layout is changed to the Carousel mode.


> Note: Only the [Hero](https://docs.botframework.com/en-us/csharp/builder/sdkreference/attachments.html#herocard) and [Thumbnail](https://docs.botframework.com/en-us/csharp/builder/sdkreference/attachments.html#thumbnailcard) Cards are supported for the Carousel AttachmentLayout mode.
> Note: Only the [Hero](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-rich-card-attachments#add-a-hero-card) and [Thumbnail](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-rich-card-attachments#add-a-thumbnail-card-to-a-message) Cards are supported for the Carousel AttachmentLayout mode.
````C#
public virtual async Task MessageReceivedAsync(IDialogContext context, IAwaitable<IMessageActivity> result)
Expand Down Expand Up @@ -53,15 +53,15 @@ On the other hand, you will see the following in Skype.
### More Information

To get more information about how to get started in Bot Builder for .NET and Attachments please review the following resources:
* [Bot Builder for .NET](https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html)
* [Adding Attachments to a Message](https://docs.botframework.com/en-us/core-concepts/attachments)
* [Attachments Property](https://docs.botframework.com/en-us/csharp/builder/sdkreference/activities.html#attachmentsproperty)
* [Attachments, Cards and Actions](https://docs.botframework.com/en-us/csharp/builder/sdkreference/attachments.html)
* [Bot Builder for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/)
* [Message Attachments Property](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-create-messages#message-attachments)
* [Add media attachments to messages](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-media-attachments)
* [Add rich card attachments to messages](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-media-attachments)
* [Carousel Layout in Microsoft Teams](https://msdn.microsoft.com/en-us/microsoft-teams/bots#carousel-layout)
* [RichCards sample](../cards-RichCards)

> **Limitations**
> The functionality provided by the Bot Framework Activity can be used across many channels. Moreover, some special channel features can be unleashed using the [ChannelData property](https://docs.botframework.com/en-us/csharp/builder/sdkreference/channels.html).
> The functionality provided by the Bot Framework Activity can be used across many channels. Moreover, some special channel features can be unleashed using the [ChannelData property](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-channeldata).
>
> The Bot Framework does its best to support the reuse of your Bot in as many channels as you want. However, due to the very nature of some of these channels, some features are not fully portable.
>
Expand Down
8 changes: 4 additions & 4 deletions CSharp/cards-RichCards/CardsDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static Attachment GetHeroCard()
Subtitle = "Your bots — wherever your users are talking",
Text = "Build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Office 365 mail and other popular services.",
Images = new List<CardImage> { new CardImage("https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg") },
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.botframework.com/en-us/") }
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.microsoft.com/bot-framework") }
};

return heroCard.ToAttachment();
Expand All @@ -99,7 +99,7 @@ private static Attachment GetThumbnailCard()
Subtitle = "Your bots — wherever your users are talking",
Text = "Build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Office 365 mail and other popular services.",
Images = new List<CardImage> { new CardImage("https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg") },
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.botframework.com/en-us/") }
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.microsoft.com/bot-framework") }
};

return heroCard.ToAttachment();
Expand Down Expand Up @@ -150,7 +150,7 @@ private static Attachment GetAnimationCard()
Subtitle = "Animation Card",
Image = new ThumbnailUrl
{
Url = "https://docs.botframework.com/en-us/images/faq-overview/botframework_overview_july.png"
Url = "https://docs.microsoft.com/en-us/bot-framework/media/how-it-works/architecture-resize.png"
},
Media = new List<MediaUrl>
{
Expand Down Expand Up @@ -228,4 +228,4 @@ private static Attachment GetAudioCard()
return audioCard.ToAttachment();
}
}
}
}
16 changes: 8 additions & 8 deletions CSharp/cards-RichCards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private static Attachment GetHeroCard()
Subtitle = "Your bots — wherever your users are talking",
Text = "Build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Office 365 mail and other popular services.",
Images = new List<CardImage> { new CardImage("https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg") },
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.botframework.com/en-us/") }
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.microsoft.com/bot-framework") }
};

return heroCard.ToAttachment();
Expand All @@ -65,7 +65,7 @@ private static Attachment GetThumbnailCard()
Subtitle = "Your bots — wherever your users are talking",
Text = "Build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Office 365 mail and other popular services.",
Images = new List<CardImage> { new CardImage("https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg") },
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.botframework.com/en-us/") }
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.microsoft.com/bot-framework") }
};

return heroCard.ToAttachment();
Expand Down Expand Up @@ -133,7 +133,7 @@ private static Attachment GetAnimationCard()
Subtitle = "Animation Card",
Image = new ThumbnailUrl
{
Url = "https://docs.botframework.com/en-us/images/faq-overview/botframework_overview_july.png"
Url = "https://docs.microsoft.com/en-us/bot-framework/media/how-it-works/architecture-resize.png"
},
Media = new List<MediaUrl>
{
Expand Down Expand Up @@ -278,14 +278,14 @@ You will see the following in the Bot Framework Emulator, Facebook Messenger and
### More Information

To get more information about how to get started in Bot Builder for .NET and Attachments please review the following resources:
* [Bot Builder for .NET](https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html)
* [Adding Attachments to a Message](https://docs.botframework.com/en-us/core-concepts/attachments)
* [Attachments Property](https://docs.botframework.com/en-us/csharp/builder/sdkreference/activities.html#attachmentsproperty)
* [Attachments, Cards and Actions](https://docs.botframework.com/en-us/csharp/builder/sdkreference/attachments.html)
* [Bot Builder for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/)
* [Message Attachments Property](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-create-messages#message-attachments)
* [Add media attachments to messages](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-media-attachments)
* [Add rich card attachments to messages](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-media-attachments)
* [Cards and buttons on Microsoft Teams](https://msdn.microsoft.com/en-us/microsoft-teams/bots#cards-and-buttons)

> **Limitations**
> The functionality provided by the Bot Framework Activity can be used across many channels. Moreover, some special channel features can be unleashed using the [ChannelData property](https://docs.botframework.com/en-us/csharp/builder/sdkreference/channels.html).
> The functionality provided by the Bot Framework Activity can be used across many channels. Moreover, some special channel features can be unleashed using the [ChannelData property](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-channeldata).
>
> The Bot Framework does its best to support the reuse of your Bot in as many channels as you want. However, due to the very nature of some of these channels, some features are not fully portable.
>
Expand Down
12 changes: 6 additions & 6 deletions CSharp/core-BasicMultiDialog/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Basic Multi-Dialog Sample

A sample that shows how to use the [Dialog](https://docs.botframework.com/en-us/csharp/builder/sdkreference/dialogs.html) system in the [Bot Builder for .NET SDK](https://dev.botframework.com/) to manage a bot's conversation with the user.
A sample that shows how to use the [Dialog](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-dialogs) system in the [Bot Builder for .NET SDK](https://dev.botframework.com/) to manage a bot's conversation with the user.

In this sample, we'll use the Dialog system to ask the user their name and age, and reply with their reponses.

### Prerequisites

To run this sample, install the prerequisites by following the steps in the [Getting Started in .NET](https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html) section of the documentation.
To run this sample, install the prerequisites by following the steps in the [Create a bot with the Bot Builder SDK for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart) section of the documentation.

### Overview

Expand All @@ -25,7 +25,7 @@ Let's look at how these concepts are used to manage a simple conversation in a b

When managing a conversation using the Dialog system, the conversation is rooted in a single dialog, often called the Root Dialog. The Root Dialog is the first dialog added to the dialog stack for the conversation. All other dialogs in the conversation are called from the Root Dialog, either directly or indirectly (in the case of a child dialog calling another dialog) and return to the Root Dialog (either directly or indirectly). The Root Dialog doesn't complete until your bot process ends.

To create the [`RootDialog`](Dialogs/RootDialog.cs) class, create a class that is marked with the `[Serializable]` attribute (so the dialog can be [serialized to state](https://docs.botframework.com/en-us/csharp/builder/sdkreference/dialogs.html#Serialization)) and implement the `IDialog` interface.
To create the [`RootDialog`](Dialogs/RootDialog.cs) class, create a class that is marked with the `[Serializable]` attribute (so the dialog can be [serialized to state](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-dialogs#serialization)) and implement the `IDialog` interface.

To implement the `IDialog` interface, you implement the `StartAsync()` methond. `StartAsync()` is called when the dialog becomes active. The method is passed the `IDialogContext` object, used to manage the conversation.

Expand Down Expand Up @@ -185,7 +185,7 @@ private async Task AgeDialogResumeAfter(IDialogContext context, IAwaitable<int>

### Outcome

Here's what the conversation looks like in the [Bot Framework Emulator](https://docs.botframework.com/en-us/tools/bot-framework-emulator/#navtitle) when supplying a valid name and age.
Here's what the conversation looks like in the [Bot Framework Emulator](https://docs.microsoft.com/en-us/bot-framework/debug-bots-emulator) when supplying a valid name and age.

![Done Outcome](images/doneoutcome.png)

Expand All @@ -196,7 +196,7 @@ And here's what the convesation looks like when providing invalid responses to t
### More Information

For more information on managing the conversation using Dialogs, check out the following resources:
* [Bot Builder for .NET](https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html)
* [Dialogs](https://docs.botframework.com/en-us/csharp/builder/sdkreference/dialogs.html)
* [Bot Builder for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/)
* [Dialogs](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-dialogs)
* [IDialogContext Interface](https://docs.botframework.com/en-us/csharp/builder/sdkreference/d1/dc6/interface_microsoft_1_1_bot_1_1_builder_1_1_dialogs_1_1_i_dialog_context.html)

Loading

0 comments on commit 6b3df2c

Please sign in to comment.