Embed twilio Studio Workflow (ChatBot) on Website (.Net or Javascript) - twilio

Based on some examples I found on Twilio, I installed and setup the #twilio/flex-webchat-ui example on Git. It works fine and I can develop the workflow using Studio.
Then I was told by Twilio Support that running an unattended ChatBot using Flex was a violation of usage policy. So Flex needs to be removed from the workflow.
The flex-webchat-ui example is Javascript and uses the following:
<FlexWebChat.ContextProvider manager={manager}>
<FlexWebChat.RootContainer />
</FlexWebChat.ContextProvider>
Now I've eliminated Flex and created a new workflow in Studio.
I found the following article on embedding a chat app in a website, but this doesn't appear to support the Studio workflow I've created.
https://www.twilio.com/blog/2017/06/complete-chat-application-javascript.html
Does anyone know where the documentation/sample code is to embed a Studio Workflow (SMS ChatBot) into an ASP.NET MVC C# web app?

Related

Is there a repository for Twilio Studio objects?

I'm very new to Twilio Studio. I'm converting an IVR from OpenVBX to Studio and have been trying to find examples of flows (can you even share flows?) or widgets other than the (very sparse) examples included in the on-line documentation. In OpenVBX, many plug-ins were shared by users, but I can't find anything similar. Does this exist?
It does not, however you can extend Studio Functionality using the Run Function Widget, which allows you to write custom code using Node.
There are many blog post and You Tube videos and tutorials using Studio that should get you started. You can also export the JSON of your Studio flow, if you want to share it with others. Studio provides starter templates as well, when you create a new flow, which are helpful with the initial layout structure.
Twilio Studio Tutorials
Twilio Studio You Tube Play List
Twilio Studio Widget Library

How to build aws lex bot via .NET SDK

I am searching for a solution to build and publish the AWS Lex bot via .NET SDK or via any other API.
Any help will be appreciated.
I just recently developed a working Amazon Lex Chatbot using .NET SDK and one of the tools that helped a lot was the GitHub Repo that AWS maintains for C#. Do note that they use .NET core and not .NET framework.
Alternatively, if you want to use the REST API (which is what I did), you can go to the .NET documentation guide that Amazon also maintains. These REST API can be accessed via the Nuget package that you can get inside Visual Studio itself.

How to add Azure AD Authentication to Existing ASP.NET MVC Application?

I have an existing ASP.NET MVC application using Visual Studio 2013. I followed this walk-through but it only concerns itself with a new greenfield project while selecting Change Authentication in project template: Developing ASP.NET Apps with Windows Azure Active Directory
I am not interested in using OWIN and OpenID Connect Katana modules as these components have lots of issues so I am waiting for that technology to mature and render out all the current problems.
I aim is understand how to manually add all the components and configuration to my existing ASP.NET MVC application to achieve the same Azure AD authentication model in Rick Anderson's article.
The tooling in VS 2013 doesn't support adding this to an existing project. At the bottom of the link you referenced in the More Information section is a deep dive article where I dissect the code and configuration that gets added. So, you could use that as a reference to find the deltas and apply them to your project.
Now, Visual Studio 2015 offers us some hope in this scenario. It's in preview of course, but you may give it a try. In Solution Explorer, right click on your existing project and select the Configure Azure AD Authentication option.
In Visual Studio 2017 the option to enable Authentication with Azure Active Directory is in Connected Services:

What would be the recommended way to integrate Microsoft Team Foundation Server into an iOS application

I am looking to create an application that allows a user to update Microsoft Team Foundation Server work items when performing certain things in the app.
Has anyone done anything similar themselves and if so what is the best way to make the updates to the TFS work items from within the app?
There is a Java API which is linked below:
http://www.microsoft.com/en-us/download/details.aspx?id=22616
Other than that a few google searches resulted in the following discoveries:
http://msdn.microsoft.com/en-us/library/bb130146.aspx
The link below tells you how you can create new work items via a URL:
http://msdn.microsoft.com/en-us/library/bb822136%28v=VS.90%29.aspx
** As per jessehouwing's comment below *
This only works on 2008 and 2010 I suspect. There migth be a similar Url for 2012 and 2013, but the whole WebAccess feature was rebuilt using ASP.NET MVC instead of WebForms, so the wi.aspx no longer exists. I'm not aware of an alternative.
Visual Studio Online an Team Foundation Server 2013 are gaining more and more json based REST Api's and have recently been upgraded to support OAuth for authentication. Some of these API's are still in preview, but they're a great resource for a mobile platform client.
For older versions of Team Foundation Server and the On-premise version you can either install the OData service, or build a custom webservice that employs the TFS Client Object Model internally to create the work items.
Should you want to build your webservice on top of a non-microsoft-platform, then you can employ the Java SDK for Team Foundation Server. This will allow you to communicate directly to TFS from a Linux or Mac server.
TFS 2013.4 will be able to show more pages in full screen mode without any chrome around it.

Multilingual App Toolkit for web applications

I have come across this very interesting tool for Visual Studio 2012 development of windows apps called Multilingual App Toolkit - further information here
This is very clever how it generates resources based on selected languages etc.
Being a web application developer who develops multi lingual applications, I would love something similar, with same functionality available. For example, I am currently developing an MVC4 application for a client who has a requirement to support multiple languages. Is such a tool available to assist me with this? Or is there away to use the Multilingual App Toolkit for such web sites? Any other similar tools available?
The Multilingual App Toolkit v3.0 now supports ASP.NET MVC projects. See the blog announcement: http://blogs.msdn.com/b/matdev/archive/2014/04/14/announcing-multilingual-app-toolkit-v3-0.aspx
You simply need to do what the Visual Studio extension would otherwise do for you in a Windows Phone / Windows Store project. The extension puts some MSBuild imports in your project file and sets-up your existing resource files so the are generated by the use of the XLIFF files.
For details, please see: http://damsteen.nl/blog/using-the-microsoft-multilingual-app-toolkit-with-asp.net-mvc-or-any-other-.net-project-type

Resources