I created a MVC4 application connected accessing a Couchbase 2.0 server (installed on a virtual machine somewhere else). From my dev environment, it is working correctly but when the site is published on an Azure website, it cannot access Couchbase anymore. Couchbase 2.0 is accessed on a rest interface on the port 8091.
The answer is :
It doesn't work when the application is deployed as an Azure Website.
Accessing a external Couchbase server works with an application deployed as a webrole is working.
Thanks for your helps.
Related
I have a windows server running on-premises and .NET Core microservice deployment running in AWS EKS.
Is it possible to access the files via a network file-share or similar, for CRUD operations, from the app in Kubernetes? If so, how?
A fellow developer created a Web API .NET Core 2.2 solution that is being hosted on Azure. He is able to run it fine locally on his machine (the machine it was created on). We are using https for the web api calls. I am also using Visual Studio 2019 Community Edition.
The web api work when we publish to Azure.
The problem is when I try to run it locally on my machine the web apis do not work. Looking at it with Postman I get this:
Error: unable to verify first certificate.
So it is obviously a certification error. I have done a few searches and found a few pages that walked you through creating a certificate but I haven't had any success so far with them.
So I am stuck and help would be most appreciated.
Some of the sites I have gone to are:
https://medium.com/#the.green.man/set-up-https-on-local-with-net-core-and-docker-7a41f030fc76
https://www.hanselman.com/blog/DevelopingLocallyWithASPNETCoreUnderHTTPSSSLAndSelfSignedCerts.aspx
ASP.NET Core + IIS Express how to setup SSL Certificate
Can not connect to localhost after deploying an ASP.Net 4.5 web application using Azure Active Directory to IIS 8.5 on a VM running on Windows Server 2012 r2
When I attempt to connect to 'http://localhost/', it sends me to authenticate via microsoftonline, but afterwards it redirects back to 'https://localhost:44326' and firefox tells me it can't establish a connection (no error pages).
The webapp was published as a folder on a separate machine. Am I missing server features/roles? Am I missing feature delegations? Any guidance would be immensely appreciated. Thank you.
I have a selenium C# project build using Chrome driver that scrapes 5 different websites for prices and adds the data into SQL. They project works pretty fine on local machine. I want to deploy it on Azure server.
Which Azure service to be used for this?
Is there any code sample availabe?
Host Selenium C# project on Azure
This SO thread discussed "Running Selenium on Azure Web App", and we can find Selenium project seems can not run in the sandbox that Azure Web Apps run under.
Azure Virtual Machines is another hosting option, if possible, you can create a Azure Virtual Machine and migrate your project to that VM.
I have a asp.net website that's in asp.net 2.0. How to deploye in azure?
You question is very vague due to the fact that now there are three way you can deploy your ASP.NET website to Windows Azure. :
Windows Azure Web Sites:
This is in preview phase and released very recently. You can create a free website by signing up to Windows Azure Preview and create upto 10 free shared websites using the information provided below:
Deploying an ASP.NET Web Application to a Windows Azure Web Site and SQL Database
Windows Azure Virtual Machine:
In this method you create your own Virtual Machine with IIS and then deploy your ASP.NET application directly to it. The Virtual Machine is persisted so anything you will deploy to your virtual machine will persist.
Create a Virtual Machine Running Windows Server 2008 R2
Windows Azure Web Role
This is the PaaS based Windows Azure Cloud service where you can deploy to your application directly to Windows Azure cloud using Windows Azure SDK as described below:
Deploying an ASP.NET Web Application to a Windows Azure Cloud Service and SQL Database
As there is lot of information above and you might be overwhelm, I would suggest just stick with the option #1. Signup for Windows Azure Preview and create your "Windows Azure Website" and start from there.