HomeHomeDiscussionsDiscussionsGeneralGeneralUsing The Direct Line APIUsing The Direct Line API
Previous
 
Next
New Post
11/17/2016 1:58 PM
 

Having a litte issue with the chat object in the homecontroller even when logged in:

 Chat objChat = new Chat();
            //Only call Bot if logged in
            if (User.Identity.IsAuthenticated)
            {
                // Pass the message to the Bot 
                // and get the response
                objChat = await TalkToTheBot("Hello");
            }
            else

seems to thrown and exception as such:

Line 71:             // Post the message to the Bot
Line 72:             await client.Conversations.PostMessageAsync(conversation.ConversationId, message);

This may be my fault because I passed  text into the textbox rather than a number. . now I can't get out of the loop and back to the index page.

 
New Post
11/17/2016 9:54 PM
 

The problem is the Bot service is broken when calling a Bot that has a LUIS Dialog class.

Microsoft has an open issue:

https://github.com/Microsoft/BotBuilder/issues/1549

I just tested it, and it works fine if I call a Bot that does not use a LUIS Dialog.

 
Previous
 
Next
HomeHomeDiscussionsDiscussionsGeneralGeneralUsing The Direct Line APIUsing The Direct Line API