azure-web-sites

HTTPs Client to connect to server without trusted chain (non trusted CA) on Azure Web App

微笑、不失礼 提交于 2019-12-02 03:54:50
问题 I have been stuck for around 3 days trying to connect to a server that has a certificate which hasn't been signed by a trusted CA - you can add the CA's certificate through Azure Portal - but to no affect. apparently everything HTTP uses a kernel module (!) HTTP.SYS. All of the suggestions I have seen to override this either use: ServicePointManager.ServerCertificateValidationCallback = Communicator.CustomServiceCertificateValidation; (or its less global counterpart on the request itself) or

How to connect Azure Web Sites to a Worker Role (TCP) through a (regional) vnet? Is it possible?

三世轮回 提交于 2019-12-02 03:31:29
How would one make a TCP connection from an Azure PaaS hosted Web Sites to a Worker Role ? That's deployed in one virtual network. Can this be done without opening an Input Endpoints , Internet facing port on the worker role? It looks like WebSites cannot currently be part of virtual network deployments as per Azure Virtual Network FAQ : Can I use Windows Azure websites with Virtual Network? No. We do not support websites with virtual networks. I'm new to Azure and playing with various configurations and it looks like this is something that could perhaps be done with the new regional vnets

How can I get the PublishUrl via Azure PowerShell?

岁酱吖の 提交于 2019-12-02 03:08:00
问题 My goal is to be able to pass in a site name and location and have a new site created, retrieve the appropriate credentials/URLs and deploy my site with WebDeploy. I'm using the Azure Powershell Tools from here: http://www.windowsazure.com/en-us/downloads/ I am able to create a new website with New-AzureWebsite -Name site-name -Location "West US" In response to this I get details about the created site, including the publishing username and password (PublishingUsername and PublishingPassword)

Intermittent crashes in Azure Web Application

江枫思渺然 提交于 2019-12-02 02:58:15
问题 Our Web Application has begun crashing of no reason, and I have no clue at the moment to what it can be. We are running Basic Authentication for SOAP services and ADFS for the main web application. The crashes can occur at any time during the day. It is a test environment, and has fairly low traffic. I have extracted some logs below when the crash was detected. <Event> <System> <Provider Name="ASP.NET 4.0.30319.0"/> <EventID>1309</EventID> <Level>2</Level> <Task>0</Task> <Keywords>Keywords<

How can I get the PublishUrl via Azure PowerShell?

拟墨画扇 提交于 2019-12-02 02:41:01
My goal is to be able to pass in a site name and location and have a new site created, retrieve the appropriate credentials/URLs and deploy my site with WebDeploy. I'm using the Azure Powershell Tools from here: http://www.windowsazure.com/en-us/downloads/ I am able to create a new website with New-AzureWebsite -Name site-name -Location "West US" In response to this I get details about the created site, including the publishing username and password (PublishingUsername and PublishingPassword), the one piece of information I do not get that I need is the publishing URL (which I can retrieve

Azure SSL Certificate

拜拜、爱过 提交于 2019-12-02 01:05:58
I am running into an issue when uploading my SSL certificate to Azure. I have a premium certificate from GoDaddy that has been running in IIS for the past year. As we are migrating to Azure, I exported it to a PFX, went to Azure to add it to my Web App, and received the following error message: Failed to update web app settings Failed to update web app settings for [APP_NAME]: The password is incorrect, or the certificate is not valid I have tried the following: Ensure password is correct Export from IIS as pfx Export from MMC as pfx with full paths available They all have the same results

How to run a .EXE in an Azure App Service

故事扮演 提交于 2019-12-02 00:37:20
问题 I have an MVC .NET application, and I want to run some .exes on the server. The exes are jarsigner.exe and zipalign.exe, used to modify and re-sign an android APK. I want to run them from the Controller. It works locally, using a Process to launch the application, but I have cheated and used hardcoded paths to the .exe and to the folder with the stuff to be used by the exe. I've added the .exes to the top-level of my project in visual studio, and added a folder containing the files to be

API to add properties to Azure Webapp Application settings

半世苍凉 提交于 2019-12-02 00:24:34
问题 I have one web app running on a Azure appservice plan. The web app has a lot of settings defined in Application settings of the Web App. Now I want to replicate that web app with all its Application settings. I got the REST API to list down all the settings available for any web app (/api/settings). Although there is a POST call to add/update the settings , But it is not updating Application settings. Is there any REST API to add/update the Application settings of Azure web app ? Thanks,

API to add properties to Azure Webapp Application settings

[亡魂溺海] 提交于 2019-12-02 00:13:39
I have one web app running on a Azure appservice plan. The web app has a lot of settings defined in Application settings of the Web App. Now I want to replicate that web app with all its Application settings. I got the REST API to list down all the settings available for any web app (/api/settings). Although there is a POST call to add/update the settings , But it is not updating Application settings. Is there any REST API to add/update the Application settings of Azure web app ? Thanks, Abhiram Is there any REST API to add/update the Application settings of Azure web app ? Yes, we could

How to refresh an ID Token from Azure AD in a Web App?

旧巷老猫 提交于 2019-12-01 23:50:31
I'm trying to set up an Azure Web App to to authenticate with Azure AD and refresh ID Token behind the scenes automatically. A great blog post helped me understand how the whole thing works: https://cgillum.tech/2016/03/07/app-service-token-store/ And this guide linked from it helped me set it up: http://cgillum.tech/2016/03/25/app-service-auth-aad-graph-api/ It seems enabling refresh tokens for Azure AD authentication isn't that simple so as recommended I used the aforementioned guide to set it up as if it were for GraphApi. The problem I'm having is even after calling the ".auth/refresh"