Can We deploy Microsoft bot Application in IIS without Azure? - azure

Is it possible to deploy Microsoft bot Application in IIS without Azure.
We have created a sample bot Application and running fine with the Emulator in local environment.
We would like to move the application to the Production and don't have Azure account and details.
Can we deploy bot application in the IIS in Windows server 2012 R2 as how we deploy Webservices or WCF Services ? Is it Possible without Azure.

If you are not using Azure Bot Service (i.e. Azure Functions), you can host your bot anywhere. You simply need to provide the endpoint for your bot during registration:

I had this issue too. And the answer is: Sure you can! But the bad new is, that you have to publish in a valid HTTPS. So I think in this case is more simple publish on Azure.

Yes i you use azure you can use you application anywhere and make sure credentials while configuring bot.
Dont forget to configure webhooks or endpoint url

Related

Push Notification in .Net core 2.1 MVC hosted in WebApp

I am creating my website application in .net core 2.1. I have to deploy it in WebApp of Azure.
I am bit new to WebApp so not sure if I need to enable any service or any port on WebApp so Notfication works.
Otherwise normal way to show Notification is SignalR implemented.
1) Will SignalR will work for website hosted in WebApp?
If any Azure service that will do same please suggest
SignalR uses web sockets to connect with clients, so you will need to go into app settings and enable them for SignalR to work.
Here is a tutorial to help you set up your WebApp with SignalR:
https://learn.microsoft.com/en-us/aspnet/core/signalr/publish-to-azure-web-app?view=aspnetcore-2.2
Based on your scenario, Azure SignalR Service or Azure Notification Hub may be an option for you.
There is notification service in Azure Web Apps around sending push notification to Mobile Devices that are integrated with Azure.
In your case i assume you are talking about sending real time notifications within the web app ? Yes SignalR works great for that scenario , and you can look into dedicated SignalR service from Azure for this.
https://azure.microsoft.com/en-au/services/signalr-service/

Azure : Deploy Angular(Front-End) & Node (Back-End) app without VM

I am new to Azure. I have never used azure. So don't mind if this is some silly question.
I have a client who also doesn't know much about deploying.
I have angular/node apps. He wants to host on Azure WITHOUT using a VM.
I am not sure about azure. So i don't know how to deploy without VM.
I know to deploy with RDP(Remote Desktop).
Can anyone help me with this. Is there a way to deploy angular & node app without VM?
Is there any specific documentation for it? Which services will i need in Azure?
Thanks in advance!
Except Azure VM, there are normally two ways to deploy Node.js app on Azure which include App Service - Web Apps and Web Apps for Containers, please see the links below to know these guides.
For deploying Node.js app on Azure Web Apps.
Create a Node.js web app in Azure
Tutorial: Build a Node.js and MongoDB web app in Azure
To deploy the app with a ZIP file, or via FTP, cloud sync, or deploy continuously, or from local Git, etc. You can see more at the left sidebar of these pages.
For deploying Node.js app on Azure Web App for Containers, it's a simple way to deploy the app on Azure as similiar as on local docker.
Create a Node.js web app in Azure App Service on Linux
Build a Node.js and MongoDB web app in Azure App Service on Linux
To deploy via FTP, cloud sync, or deploy continuously, or from local git, etc. Also, you can see more at the left sidebar of these pages.
Some important tools will help deploying easier.
Deploy via VSCode, you can refer to these offical documents for WebApp(App Services) or Container(Docker Images).
To deploy on WebApp not Container, Kudu is a common tool for debuging and deployment. Meanwhile, for Node.js app, we need to use iisnode to connect IIS as revese proxy for your app, and configure the web.config file via follow the kudu wiki document. The Kudu wiki is very useful and valuable for new to Azure.
There are more details for this topic which can not be listed one by one at here, but the above these are necessary. The offical guide for Javascript developers is helpful for new to Azure.
Jay Gong posted a great answer for hosting on Azure. However, you might want to ask your client if s/he means s/he wants a micro services architecture. For more information on micro services, check out this link.
The other viable option would be an App Service (which is an Azure service that manages deployment and abstracts a lot away, but there's a VM under the hood)? Without a VM for hosting, it would be rather difficult to do anything in the cloud on Azure - the only other option is local hosting, which would be without Azure. I would argue that it ruins the purpose of using cloud services, as it seems your client is confused.

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.

SignalR chat on azure

I have created a small and simple chat with signalr on a azure website. That doesn't work as expected.
After some hours on Google I found out, that signalr should be implemented different on Azure.
What is best practise?
Any good examples?
It should work on both mobile and in normal browsers.
Per the docs at: http://www.asp.net/signalr/overview/deployment/using-signalr-with-azure-web-sites
Deploying a SignalR Web App to Azure App Service
SignalR doesn't add any particular complications to deploying an
application to Azure versus deploying to an on-premises server. An
application that uses SignalR can be hosted in Azure without any
changes in configuration or other settings (though for WebSockets
support, see Enabling WebSockets on Azure App Service below.)...
To get signalr working when deploying to azure, I had to use
appBuilder.SetDataProtectionProvider(new MachineKeyProtectionProvider());
inside my Startup.cs Configure() method.
link to MachineKeyProtectionProvider gist
This is actually a workaround to this problem but it seems to work.
Follow this link : ASP.NET 5 app in Azure doesn't work with SignalR

Resources