Pages

Showing posts with label Bot. Show all posts
Showing posts with label Bot. Show all posts

Thursday, June 1, 2017

Expression Solver Bot on C# using Python engine (Bots 101)

This sample will serve as an introduction to Microsoft Bots and Dialogs, and also to show you that we can use python's capabilities from within C#.


Prerequisites

The first step is to get all the prerequisites to create a Bot project based on the Microsoft Bot Framework on Visual Studio.
You can also see those steps here:

https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart

- Install Visual Studio 2017 for Windows (If you don't have it you can install the VS 2017 community version for free).

- Download the Bot Application template from here: 

http://aka.ms/bf-bc-vstemplate 

and install the template by saving the .zip file to your Visual Studio 2017 project templates directory.The Visual Studio 2017 project templates directory is typically located here:

%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#\


BOT para resolver expresiones en C# usando el engine de Python (Bots 101)

Este ejemplo sirve como una introduccion a el uso de Microsoft Bots y su manejo de dialogos, y tambien para mostrar que podemos usar funcionalidades de Python desde C#.


Pre-requisitos

El primer paso es obtener todos los prerequisitos para crear un proyecto de tipo BOT usando el Microsoft Bot Framework en Visual Studio.
Estos pasos tambien se pueden ver en este link:

https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart

- Instala Visual Studio 2017 para Windows (Si no lo tienes puedes bajar e instalar la version community de VS 2017 gratis).

- Baja la plantilla de una aplicacion tipo Bot (Bot Application template) de aqui: 

http://aka.ms/bf-bc-vstemplate 

e instala la plantilla grabando el archivo .zip en el directorio de plantillas de  proyectos de Visual Studio 2017.Este folder esta generalmente ubicado aqui:

%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#\