nmrlqa4
nmrlqa4

Reputation: 679

What is the difference between creating a bot from the Azure portal, and from the Bot framework?

I can see that I can create a bot service and connect it with the Bot Framework right from the Azure portal? As far as I can see It creates a project, that is kind of different than the C# bot project in my Visual Studio.. then it gives me way to continuous integrate it with a remote repository, what exactly is this and how is this different from creating a project in the Studio, make a bot in the Bot framework website and just Publish it from VS? It says that it will create "some files to start with", but despite I select C# as a language I definitely don't see C# based project created.. test Microsoft's support on this topic is very very poor..

Upvotes: 2

Views: 658

Answers (1)

Eric Dahlvang
Eric Dahlvang

Reputation: 8292

It IS in fact a C# based project. Please see Debugging C# bots built using the Azure Bot Service on Windows

The C# environment in Azure Bot Service has more in common with Node.js than a typical C# app because it requires a runtime host, much like the Node engine. In Azure, the runtime is part of the hosting environment in the cloud, but you’ll need to replicate that environment locally on your desktop.

First, you need to set up your environment. You’ll need:

  1. A local copy of your Azure Bot Service code (see Setting up Continuous Integration )
  2. The Bot Framework Emulator
  3. The Azure Functions CLI
  4. DotNet CLI

and if you want breakpoint debugging in Visual Studio 15:

  1. Visual Studio 15—the Community Edition will work fine
  2. The Command Task Runner Visual Studio Extension

These are also requirements:

Azure 2.9.6 .NET SDK
Visual Studio Tools for Azure Functions

Upvotes: 1

Related Questions