This repo shows how to integrate Bot Framework with Xamarin.Forms
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LUIS
images
src
.gitignore
LICENSE
README.md Update README.md May 11, 2018
appveyor.yml
build.cake
build.ps1
build.sh
install-android-sdk.ps1

README.md

Integrating Bot Framework with Xamarin.Form

This is a small sample application showing how to integrate Bot Framework with Xamarin.Forms via Direct Line. This is sample explained in a post for my Spanish blog:

Built with C# 6 features, you must be running VS 2015 or VS 2017 to compile.

Built with Xamarin.Forms with support for:

iOS
Android

Build status Donate

image

Available content:

You can find the following content related to this sample:

Some content is available in Spanish.

Setup

For security reasons I use a file called AppSettings.cs.dist you must change their name to AppSettings.cs and complete with your credentials obtained in your azure account:

Server project

public static class AppSettings
{
    public static readonly string TranslatorUriBase = "https://api.microsofttranslator.com/V2/Http.svc/";
    public static readonly string TranslatorKey = "";
    public static readonly string DefaultLanguage = "en";
    public static readonly string UserLanguageKey = "LanguageCode";
    public static readonly string OcpApimSubscriptionKeyHeader = "Ocp-Apim-Subscription-Key";
}

Client project

AppSettings.cs.dist

public static class AppSettings
{
    public static readonly string DirectLineKey = "";
    public static readonly string BaseBotEndPointAddress = "https://directline.botframework.com/v3/directline/conversations/";
}