azure-web-sites

Can I Pass MSDeploy Parameters to Azure Web App MSDeploy Extension?

半世苍凉 提交于 2019-12-10 19:48:46
问题 There is an MSDeploy extension available for Azure Web Apps; this can be used with Azure Resource Manager (ARM) Templates as well (example). I'd like to pass additional command-line arguments to MSDeploy, such as -enableRule:AppOffline (example). Is there documentation for the MSDeploy Web App extension for passing additional arguments, etc.? 回答1: Based on the latest schema definition for Azure Web App MSDeploy extension as below, it does not support the passing of MSDeploy command line

“Data connections” in azure

蓝咒 提交于 2019-12-10 19:41:58
问题 I have a question about "Data connections" in azure. I have an App Service. I published my API app there. In my app I have connection strings (I need to work with databases). Among numerous settings for my app I saw a "Data connections" item: There you can add new connection (server, login, password). After creation you can look at connection string for this connection: My questions are: 1. what does it do? (I mean in my app I already have a connection string in Web.config and is there any

Web app service in Azure restarts many times a day without error in logs

霸气de小男生 提交于 2019-12-10 19:18:41
问题 I am running an ASP .Net Web API 2 application in an Azure Web App Service. Many times a day (5-6 times), the Web Service restarts without any earlier notice or error message. I scaled to two instances (always, does not depend on load) and both get restarted simultaneously. I did set the "Always-On" (keep-alive) setting and I can see successful requests being performed a few seconds or minutes before the Web Service restarts. When it does restart it always restarts twice, the second time I

Default username and password of tomcat 7 in azure wbsites

百般思念 提交于 2019-12-10 18:49:18
问题 What is the Default username and password of tomcat 7 when we create azure website with tomcat 7 from gallery. i have tried admin,root, etc nit working :( if there is no default username and password. is there any way to access the tomcat manager?? is there any way to access catalina config to change the user configration in azure websites?? please help.. thanks in advance :) 回答1: I think there is no default user. You can define your a user in manager-gui role to be able to use it with

Azure “Enable AD Authentication” with deployment slots

馋奶兔 提交于 2019-12-10 18:40:45
问题 I have an Azure WebApp and have activated the "Active Directory Authentication" in the Azure Preview Potal. Let's call it https://mysite.azurewebsites.net (not a real URL) Whis works as expected. However, when we add a deployment slot, we can't get authentication to work properly. When accessing the staged WebApp, e.g. https://mysite-staging.azurewebsites.net (not a real URL), we get redirected to https://login.microsoftonline.com/<our-directory-guid>/oauth2/authorize?response_type=id_token

Can't deploy precompiled, merged webapp to Azure

房东的猫 提交于 2019-12-10 18:32:11
问题 I'm trying to deploy an ASP.NET web application to Azure. It's hybrid Web Forms, MVC, and WebAPI, and there are a TON of aspx/ascx files, such that they really need to be precompiled or every deploy will render the site sluggish for awhile. I am trying to deploy via SCM integration with GitHub via kudu, with precompiled views, all merged to a single assembly. Note that: Deploy works fine with precompilation disabled. Deploy works fine from Visual Studio Build works fine if I copy the msbuild

Version 4 of Azure App Service Deploy - *.deploy.cmd not found

流过昼夜 提交于 2019-12-10 18:07:54
问题 I am trying to release my application to Azure using Version 4 of Azure App Service Deploy and using publish profile for the connection. Unfortunately, the release always gets stopped at deployment stage with the following log: 2018-06-05T13:46:47.1570167Z ##[section]Starting: Deploy to Azure 2018-06-05T13:46:47.1577464Z Task : Azure App Service Deploy 2018-06-05T13:46:47.1577875Z Description : Update Azure WebApp Services On Windows, Web App On Linux with built-in images or docker containers

Making a Webjob a singleton using multiple deployments using Web Apps in Azure

泪湿孤枕 提交于 2019-12-10 17:39:32
问题 With Azure WebApps I know I can make a WebJob a singleton by adding the "is_singleton": true to the WebJob settings.job file, and this works great if I have for example, 3 instances in a single WebApp deployment. However - how can I publish to two WebApps (use case, two different regions) and make the WebJob run as a singleton and only on one of the deployments. Example of desired behavior: Sydney Deployment My Singleton Webjob (Running) My other WebJobs that process a queue (Running)

Recommended way to read data from an Excel file using an Azure App Service?

ε祈祈猫儿з 提交于 2019-12-10 17:04:34
问题 Background I have a legacy site that allows authorised users to upload an Excel spreadsheet of product data etc. The site then reads the Excel worksheets and unpacks the data into SQL server. It's an old site and it uses OLE. Old but it works. The problem I've recently published the site to an Azure App Service but the existing section of my code that reads from Excel doesn't work (as Azure doesn't have the right driver). The question I'm happy to rewrite this section of code but what is the

Vnet between Virtual Machine and App Service in Azure

我怕爱的太早我们不能终老 提交于 2019-12-10 15:59:15
问题 I cannot figure out how to connect a Web App ( App Service ) to a Virtual Machine in Azure. I've create a VNet from the Web App configuration panel. All items are created using the Resource Management model, are in the same subscription and are at least of the Standard pricing tier. Apparently a Web App cannot be connected to a V2 VNet. (Looks like these terms are used interchangeably, or is it something different). I've create a classic Vnet (V1?). But I cannot seem to find out how to