How to add C# waterfall dialog to Bot Composer - c#

I have created the chatbot with bot framework composer, now as there are some limitations in the composer data manipulation gathered from adaptive cards I would like to create one dialog in bot framework C# version as a waterfall dialog. Is there a way to add waterfall dialog to the composer project with VS and then somehow invoke it. I have found the blog post about doing it the opposite way link but although I searched trough the internet I cannot find any help. Is there anyone who did it before? Is it possibly?

Related

Does the Bot Framework support Facebook Messenger's Button Template?

Facebook messenger's APIs support a message type called the "Button Template". This card type allows sending a message with text, then a list of buttons with different actions, as in the image below (from Facebook's documentation):
This template similar to the Generic template, which is what is produced by the Bot Framework's Hero cards, but is distinct in that it does not require a "Header" on the card, which is required by the Generic template.
I'm trying to figure out how to render this template using the Bot Framework -- we've gotten it to work in Facebook messenger by populating the MessageActivity.ChannelData with a custom model we created based on the JSON in Facebook's documentation, but this causes the message to fail to appear in the Bot Framework Emulator. Is there any way to render this template using official Bot Framework methods/classes?
Short answer: No. The Emulator is not designed to test channel-specific functionality in this way.
You are on the right track using the channelData to store your custom message definition. But, as you already discovered, since you are wanting to test a FB-specific feature, the only way is to test on FB Messenger directly.

Dynamic IVR menu application in MVC using twilio API

I am trying to develop an application in MVC4 where client can configure Dynamic menu for Incoming Calls from user Interface using Twilio API. Is there any opensource project exist or any voice model for dynamic IVR menu from where i can get an idea and application flow for GUI design. Your help in this regard will be highly appreciated.
Twilio developer evangelist here.
To my knowledge there isn't a .Net project that demonstrates how to build an IVR using Twilio. however, there are a few tutorials showing how to do it, and because most of it uses TwiMl, you should just be able to generate that using the libraries, or by simply making your requests return such verbs when necessary.
I would definitely stat off by looking at the following:
Project: Build a Simple IVR The example is in PHP, but you should very easily be able to translate that into C#
IVR: The Basics A good resource that tells you how IVR's actually work
Build an IVR system with Twilio and Django Another tutorial showing how to build an IVR using Django
With the URLs above you should be ale to get your IVR up and running in no time, but by all means feel free to reach out to me if you need any help. I'm a C# developer myself, so will be able to assist you if you get stuck with anything.

Nuance naturally speaking SDK WPF

I am developing a wpf app and i want to add speech to text functionality. I want to achieve this using nuance naturally speaking SDK. Below is my requirement explained briefly, 1) User speak out text and this should be typed on the screen in a rich text box control. 2) User speak out command and program should execute the command logic, for example i have a list whose items are apple, mango, grape. Select an item from list using command 'list item mango'. My questions are, a) Do i have to use Dragon SDK Client (DSC) Edition to fulfill my requirement or is there any other SDK or API form nuance for this requirement. b) Can anyone please suggest a basic tutorial for me to start on this, like how to setup SDK and a sample application in wpf will be great.I have no clue from where to start and how to implement this.

Taskmanager Icon Options

When you right-click the Skype icon in the taskbar while Skype is running, it has a little group in the "CloseWindow" popup thing titled Tasks, which contains options to sign out or quit Skype.
How would I go about doing this in C#? Thanks.
You need to use Microsofts Windows API Code Pack. For an example on the exact way to implement it in your case, this tutorial will guide you through all the steps!
The tutorial will show you how to do make the same thing Skype and windows media player use very quickly.
Hope this helps!
I answered a similar question here:
This feature is called a JumpList and is for Windows 7. It is part of the Microsoft API. How to use this with C# has been documented thoroughly here and here.
In order to be able to deal with Jumplist classes in Windows Forms, you'd have to include these DLLs (Microsoft.WindowsAPICodePack.dll and Microsoft.WindowsAPICodePack.Shell.dll) in your project. You can get them from this CodeProject project or you can download the Open source library from WindowsAPICodePack which includes the source code that can be used to access Windows 7 and Windows Vista features. You will need to add two usings at the top of your code:
using Microsoft.WindowsAPICodePack.Taskbar;
using Microsoft.WindowsAPICodePack.Shell;
Any Jumplist consists of categories and each category has its own Jumptasks. There are two types of Jumptasks supported till now by WindowsAPICodePack; the JumplistLink and JumplistSeperator. A Jumptask represents an action to be performed by the user like openning a new instance of the application or launching another program. These Jumptasks are grouped in categories called JumplistCustomCategories.

How do I implement the Facebook SDK for .NET into a Windows Mobile 6.5 application?

Basically what I want to do is use the SDK available here, to post specific status-updates to a profile which has been logged into.
Now it seems to me that the project has been on a standstill for some days and the documentation is REALLY lacking.
My current setup is as stated below:
Visual Studio 2008
Windows Mobile 6 Classic Emulator
.Net 3.5 (Compact I believe)
So far I've been able to get the emulator running and get some GPS stats from a fake GSP generator.
What I've not been able to do however is figuring out the Facebook SDK. It seems that most of the examples (or atleast the ones I actually need, such as Authentication) are based on .Net 4.0 and I can't find any .Net 3.5 examples on authentication or how to log-in using the SDK.
There are examples that point out how to post updates etc. for 3.5 but there aren't any for authentication/login etc.
So does anyone know how to use the SDK with the setup I described above? When I figure it all out I'll make a blog post on my blig explaining all the steps I took to get it all working together and will post a link here for others.
But until I know how to get the SDK working for 3.5 I can do nothing.
So please help me find the answer. I'll try looking through the source some more. However since I don't have VS2010 I can't look at the .sln files they used for the source... So will try, but can't promise anything
Thanks in advance.
The SDK isn't supported on WinMo 6.5 with the compact framework. However, interacting with facebook is really easy, provided the framework provide you with some required capabilities:
1) You must be able to leverage a WebBrowser control to manage user authentification, as demonstrated here .
2) You then will be able to interact with Facebook through simple POST and GET request. Demonstrated here for a Wall post request.

Categories

Resources