azure-web-sites

Microsoft Azure website creation: 'Cannot modify this site because another operation is in progress'

时光毁灭记忆、已成空白 提交于 2020-01-05 03:54:26
问题 When publishing a new website through Visual Studio, Microsoft Azure blocks this stating I still have a pending delete operation. However, when I go to my Azure control panel, I can't find any operation still pending. The pending operation was also created about two months ago. Any ideas how to fix this? Thanks! 回答1: A day after this error, Microsoft seems to have resolved it. I can upload my website through the default procedure now. Closing this question. 来源: https://stackoverflow.com

Azure Long Response Time bottleneck?

那年仲夏 提交于 2020-01-04 09:04:21
问题 How does one diagnose performance (response time) bottlenecks in Azure? I've got a .NET Core website on Azure that consists of a web app service and one SQL database. I've set up load test and deployed it via the cloud to hit the website. Configuration properties for the load test agents are 4 cores start at 10 simultaneous users, + 10 every 20 seconds, up to 150 users 5 second think time between requests Web app resource allocation is as follows 2 instances of 4 Core, 7GB RAM (S3 Standard)

How to only deploy dist folder to azure web site?

蓝咒 提交于 2020-01-04 02:29:05
问题 I have src files and dist/ folder in my azure website project. project |- src/ |- dist/ The default behavior uploads all the files inside of the project, i.e. both src and dist. website |- src/ |- dist/ I want to keep the website clean, only with dist files in it. website |- dist/ It would be even better if I can map the dist folder to the website. website |- all the files |- in dist folder What should I do? I know I can only publish one specific folder by right-clicking on the folder and

Azure Website each page loading slow

南楼画角 提交于 2020-01-03 21:08:16
问题 I've hosted a website on azure and right now I am deploying on a test slot and I have a problem after each deployment and if I haven't accessed the pages in a long time. Each page loads like 15 seconds and if accessed again loads in normal time. I changed the settings in the portal to keep the site always alive, but that doesn't work as expected. Tried with ping to the website every few minutes, but did not work again. I thought the build is only once for the whole application, but it looks

VS Team Services and Azure Continuous delivery subdirectory

☆樱花仙子☆ 提交于 2020-01-03 09:04:34
问题 I have a project in VS Team Services git repository with the following structure (simplified): / scripts (for typescript) styles (for sass) wwwroot (public directory with images, css, js...) ... All typescript and sass files are built with gulp into appropriate directory inside wwwroot. What I'd like to do but can't find how, push only wwwroot directory to Azure Website instead of entire project. If not possible, what are alternatives? 回答1: There are two ways you could do this The Easier Way

Does the Azure Websites “*Always On” option have any implication on price?

三世轮回 提交于 2020-01-03 08:52:51
问题 Does the Azure Websites " Always On " option have any implication on price? Do I pay less if " Always On " is off and page is asleep as wrote here? I don't think so because you always paying for resources even if you don't use them, but please clarify. 回答1: No, it has no affect on the price. For basic and standard modes you're paying for the entire VM anyways. Keeping Always On helps conserve machine resources since sites that don't get much traffic (*1) get torn down, freeing up resources

Does the Azure Websites “*Always On” option have any implication on price?

自作多情 提交于 2020-01-03 08:52:42
问题 Does the Azure Websites " Always On " option have any implication on price? Do I pay less if " Always On " is off and page is asleep as wrote here? I don't think so because you always paying for resources even if you don't use them, but please clarify. 回答1: No, it has no affect on the price. For basic and standard modes you're paying for the entire VM anyways. Keeping Always On helps conserve machine resources since sites that don't get much traffic (*1) get torn down, freeing up resources

Can't deploy correct website from multi project solution using Git deployment to Azure

亡梦爱人 提交于 2020-01-03 08:14:11
问题 I have a solution that has a mvc website (WebApplication1) that is dependent on another project in the solution (WebAppCore). The source is hosted in git on Visual Studio Online. I configured a Continuous Integration. Everything builds fine but when the deployment occurs, it deploys WebAppCore. As I understand it, that's the expected behavior since that's the first project in the solution. I want it to deploy WebApplication1. My question appears to be identical to this one: Azure websites

Azure AD Easy Auth expires even when users are actively using application

夙愿已清 提交于 2020-01-03 05:07:28
问题 We have a Single Page App (SPA) that uses Azure Active Directory "Easy Auth", e.g., the code-less solution. This seems to work ok when users first open the the application. They are redirected to the Microsoft login page and they can authenticate and then access the application. Then, because its an SPA, users will navigate around and only fire Ajax requests. The problems come approximately 24 hours later when the session cookie expires. Users likely still have the same browser tab open and

Wht is the best solution for HTML to PDF (on Azure Web app) [closed]

帅比萌擦擦* 提交于 2020-01-03 04:51:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Actually I am trying to convert html content to pdf using NReco PDF converter, however, this line of code pdfDoc.GeneratePdf(HtmlContent); unable to get through on Azure web app, but it works normally on my dev environment. So my Question is which cloud service should i go for? 回答1: Azure Apps (former WebSites)