azure-web-sites

How to install composer on app service?

穿精又带淫゛_ 提交于 2019-12-17 07:50:38
问题 I am new to using Microsoft Azure. My application requires composer to be installed on the server, how can I have it installed on the system of App services service? Application is in PHP. 回答1: You can install composer extension in the manage portal of your App Services. Login on your Azure Account at https://portal.azure.com Click the "tools" button, select "extensions" bar in the list on the right. Click "Add" button, open the extension list allowed to install in App Services. You can

How to install composer on app service?

余生颓废 提交于 2019-12-17 07:50:10
问题 I am new to using Microsoft Azure. My application requires composer to be installed on the server, how can I have it installed on the system of App services service? Application is in PHP. 回答1: You can install composer extension in the manage portal of your App Services. Login on your Azure Account at https://portal.azure.com Click the "tools" button, select "extensions" bar in the list on the right. Click "Add" button, open the extension list allowed to install in App Services. You can

HTTP OPTIONS request on Azure Websites fails due to CORS

冷暖自知 提交于 2019-12-17 05:11:28
问题 I've recently moved our servers from Rackspace CloudSites (running on Apache/Linux) to Windows Azure Websites. Since the migration, all the jQuery AJAX requests on our REST API have started failing due to CORS. We use custom headers, so jQuery makes a Pre-flight HTTP OPTIONS request before running the actual API calls. The problem is that the OPTIONS request doesn't seem to reach my PHP code and is instead returned by some other entity (obviously the Web Server) which I seem to have no

What is the difference between an Azure Web Site and an Azure Web Role

◇◆丶佛笑我妖孽 提交于 2019-12-16 20:01:11
问题 What are the material differences between the new Azure Web Sites and the traditional Azure Web Roles for an ASP.NET MVC application? What reason would I choose a "web site" over a "web role" or vice versa? Let's assume that I would need equal capacity in either case (e.g. 2 small instances). The prices seem comparable other than the fact that there is a 33% temporary discount for web sites while they are in their preview period. Are there things that I can do with a "web site" that are

Hosting SQLite DB on Azure Storage?

耗尽温柔 提交于 2019-12-14 03:48:56
问题 I need to host an SQLite database on Azure that will be shared among several web apps. My only options seem to be Azure Blob or File Storage (since they got rid of the "Azure Websites" that provided dedicated storage shared among web instances). However, there does not appear to be any way to map an Azure Storage share to a drive that the Web App will recognize, and thus no way to generate a path that SQLite can use. And obviously, SQLite can't use REST APIs to access the DB without

Access connection strings in ASP.NET 5 on Azure

醉酒当歌 提交于 2019-12-14 03:43:57
问题 In ASP.NET 5, how do we programmatically access an Azure Web App's connection strings? I've been able to retrieve the TEST_APP_SETTINGS value but not the TestConnString one. Here is what I have tried: services.Configure<AppSettings>(Configuration.GetSubKey("AppSettings")); I'm afraid that AppSettings doesn't exist. I've also done this and the app settings show up but the connection strings do not. Startup.cs // Setup configuration sources. Configuration = new Configuration() .AddJsonFile(

Unable to start debugging in VS2015 for Azure web app

戏子无情 提交于 2019-12-14 03:43:03
问题 I'm using VS2015 Update 1 to try and debug my site which I've uploaded in Debug mode to an Azure web app (NOT a vm). I am working from my work domain. I've been following instructions similar to found here https://samlman.wordpress.com/2015/02/27/another-cool-way-to-remotely-debug-azure-web-sites/ I have: Published my website in Debug configuration Enabled Remote Debugging from the management console Made sure my VS edition is set to 2015 Enabled Websockets (from trying to connect via

DNN 8 scheduler errros on azure web app

眉间皱痕 提交于 2019-12-14 02:37:17
问题 I remember reading that the DNN platform edition struggles with the MS Azure web app environment in regards to the scheduler tasks. this quote comes for this DNN connect blog The DNN Platform / Community scheduler does not support Azure Web Sites as the server names running the web site are ever changing as Azure scales up and down, or upgrades underlying machines. There is a solution for Evoq. I am getting the following scheduler errors in my DNN instances on Azure: THREAD ID:59 TYPE

Opening a TCP socket from an Azure Website to an external server

若如初见. 提交于 2019-12-14 02:17:32
问题 Is it possible to open a TCP socket programmatically in C# from an Azure Website to an external server? I have a need to check if another server is online - as ping cannot be used on Azure I was going to use TCP socket that the external server is configured to accept. The code I have used locally works perfectly when pinging a public web server, however on Azure it doesn't work. I'm aware that you can't ping due to the load balancer on Azure - but are opening TCP sockets out of the question

Azure WAF infront of Web App changes HostName

ぃ、小莉子 提交于 2019-12-14 02:14:40
问题 I have configured an Azure Web Application Firewall in-front of my App Service and it is successfully passing requests through. I have followed the instructions a the following microsoft docs. I have the following configuration: Custom domain: test.[customdomain].com the DNS records points to the public IP configured against the WAF. The custom domain is also configured on the Web App. The WAF has a backendpool which is configured to use "IP Address or FQDN" with the following record: