Hosting Bot(Microsoft Bot Framework) in public domain [duplicate] - azure

This question already has answers here:
Bot Framework without Azure possible?
(5 answers)
Closed 5 years ago.
I have made a Bot using Microsoft Bot Framework and I want to host it in some other server than azure. I want to connect it to Microsoft BotFramework Webchat .
So please help me to connect the the three things
1-Bot Code running on server
2-Microsoft BotFramework Webchat
3 dev.botframework.com : where my bot is registered

Yes it is possible to host your bot on any server other than azure. It is fairly simple if you are using the node.js sdk of microsoft bot framework. You deploy it like any normal node.js service. Here are the links to some of the services and documentation on how to deploy node.js applications on them.
Heroku - Free Tier | No credit card needed - https://devcenter.heroku.com/articles/deploying-nodejs
AWS - Free Tier | Credit card needed - http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_nodejs.html
Digital Ocean - https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
However if you are using the C# SDK then you will have to host it on a server which has IIS. Instructions in the link below
Digital Ocean - https://www.digitalocean.com/community/questions/hosting-a-asp-net-website
AWS - http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.quickstart.html
Once you deploy the next step would be to set up SSL for the server. Services like heroku offer a free SSL if you use their subdomain. Once you set up the server, you can connect it to the Microsoft Bot Framework Web Platform (dev.botframework.com) by using this url in the settings page of your bot.

Related

Deploying Telegram bot service to a shared host environment

I want to run a Telegram bot service in a shared ASP.NET MVC host (Plesk). There is no access to the server.
Is there any way to use bot service on a shared ASP.NET host, without buying a dedicated server or VPS, or we have to use webhooks like ASP.NET webhook?
If so, is that the only possible way to deploy an ASP.NET bot service to a shared host environment?
You can deploy to Google's AppEngine Flexible that supports .NET and has free quotas.

Hosting Microsoft BOT on Enterprise Cloud?

We are trying to host the BOT on the Enterprise server IIS server which is an internet server visible to Microsoft and other outside public domains.
So, after hosting the BOT on the enterprise cloud server we would get an endpoint ex: https://myenterpriseserver.com/api/messages.
Can I use the above endpoint to register the bot in the microsoft's dev.botframework.com?
Please help, as we are planning for a large scale implementation of the BOT.
Thanks,
Mahesh
As long as the server has a SSL Certificate it should work assuming you deploy the bot correctly. Test it out first by using the Bot Emulator to see if you can send a receive messages from a computer in your system's network. Next try registering the bot on Microsoft's Bot Framework and seeing whether Microsoft's Bot Connector service can connect to the bot successfully.
Your system/intranet may block outside messages from Microsoft in which case you will have to change some settings, etc. with your firewall. This GitHub Issue follows an issue with white-listing Microsoft's Bot Connector service.

Hosting azure app api on custom server

I am working on xamarin android. I want to connect my local DB to my mobile app. For this i have created a azure app api with swagger. Now i want it to use it locally i.e. i don't want it to host on azure portal all i want is to host it on my static IP on which I have bought. I have searched for this question but can't find any thing related to it. Is there a way to host my azure app api on custom server?
Any help would be highly appreciated

Running Mongodb CRUD API on azure (for Ionic)

I'm trying to run a MongoDB (using NodeJS and Express) on the Azure Server as a server side part of my ionic app.
Once placed on Azure I'd like to access it with my Ionic App using CRUD operations.
What steps do I go through after acquiring a Azure Portal account? Do I take Mobile Services or a simple Web Api?
Is there something specific that I need to add to the NodeJS server?
Generally, the app using Node and MongoDB as the backend for mobile client hosted on Azure App Service, such as WebApps, Mobile Apps (recommended).
Based on my understanding, I think there are some documents that may be helpful for you, please see them below.
For Web Apps, you can refer to the tutorial Get started with Node.js web apps in Azure App Service.
For Mobile Apps, I think your ionic app was based on cordova, there is a tutorial for getting started with cordova Create an Apache Cordova app. And Two related blogs shown a sample of Node + MongoDB on Azure for mobile, please see below.
Exposing MongoDB collections on the node.js backend
Querying MongoDB collections via the Azure Mobile Service node.js backend
To deploy the app to Azure App Service, you can try to publish it via FTP, git, or IDE like VS, please see https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/.
Hope it helps. Any concern, please feel free to let me know.

Game matchmaking using Azure cloud

I am in the process of building a basic windows phone 8 game with an Azure back-end. I am looking into solutions to implement some form of matchmaking for my game through Azure. I would like to run some form of "game master" in the cloud rather than in the app so if two individuals connect to each other, I can manage the whole game flow using Azure back-end.
I have looked at Azure Mobile Services, but it would seem that it only provides databasing functionality for your app. I think Azure Cloud Service provides such functionality, but I am unclear as to how I connect to Azure Cloud Service from my Windows phone app.
You can expose a regular web service in Azure WebSites or Cloud Service (MVC / Web API) which you could then consume from your WP app:
http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-rest-service-aspnet-api-sql-database/
http://www.asp.net/web-api/overview/web-api-clients/calling-web-api-from-a-windows-phone-8-application

Resources