azure-web-sites

Azure Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server

落爺英雄遲暮 提交于 2019-12-20 01:47:11
问题 I have SQL server & web app hosted over Microsoft Azure platform. I am constantly getting above error when ever i run web application (and try to connect azure sql server) from my local network, however i never face issue on azure web app service (i.e. After hosting my web app on azure) I know that this error is very familiar. But in this case it seems weird. I have already checked below things, SQL connection is managed properly. (I am using ADO.Net) All gateway IPs are white listed against

Azure Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server

此生再无相见时 提交于 2019-12-20 01:46:56
问题 I have SQL server & web app hosted over Microsoft Azure platform. I am constantly getting above error when ever i run web application (and try to connect azure sql server) from my local network, however i never face issue on azure web app service (i.e. After hosting my web app on azure) I know that this error is very familiar. But in this case it seems weird. I have already checked below things, SQL connection is managed properly. (I am using ADO.Net) All gateway IPs are white listed against

ASP.NET 5 custom error page does not render on Azure Website

折月煮酒 提交于 2019-12-20 00:00:55
问题 I have a ASP.NET 5 site that I want to add custom error pages to. I'm used to adding entries in the web.config (from ASP.NET 4 days) but I want to use the new approach in ASP.NET 5. So I have the following in my Startup.cs class: if (env.IsEnvironment("Development")) { app.UseErrorPage(ErrorPageOptions.ShowAll); } else { app.UseStatusCodePagesWithReExecute("/Home/Error"); app.UseErrorHandler("/Home/Error"); } When I run locally using kestral my error page is displayed properly. However, when

Azure continuous deployment for multiple projects

天大地大妈咪最大 提交于 2019-12-19 19:57:31
问题 I have created an Azure Web Site and connected it to Visual Studio Online, and this automatically set up a continuous deployment build (as per this page). Initially this worked for a solution with one project, but now I have added a Web API project as a back end. This is named such that it is the first of the two projects alphabetically, and so now it is the only project that gets built and deployed whenever files are checked in. Which leads to my question: How can I modify the default

Azure continuous deployment for multiple projects

狂风中的少年 提交于 2019-12-19 19:57:22
问题 I have created an Azure Web Site and connected it to Visual Studio Online, and this automatically set up a continuous deployment build (as per this page). Initially this worked for a solution with one project, but now I have added a Web API project as a back end. This is named such that it is the first of the two projects alphabetically, and so now it is the only project that gets built and deployed whenever files are checked in. Which leads to my question: How can I modify the default

traffic manager + azure website : how do I configure custom dns ssl

南笙酒味 提交于 2019-12-19 19:56:28
问题 I have a custom dns entry mapped to my traffic manager setup via CNAME record. I also have traffic manager pointing to my azure website endpoint and I have a wildcard cert matching my custom dns uploaded on my website. I'm having trouble getting ssl to work. The documentation is not clear on how to set up SSL when using traffic manager. Any help is appreciated. Please note I had this working with cloud service "web role" but I'm wanting to migrate to azure websites. 回答1: Have you seen this

traffic manager + azure website : how do I configure custom dns ssl

蹲街弑〆低调 提交于 2019-12-19 19:56:23
问题 I have a custom dns entry mapped to my traffic manager setup via CNAME record. I also have traffic manager pointing to my azure website endpoint and I have a wildcard cert matching my custom dns uploaded on my website. I'm having trouble getting ssl to work. The documentation is not clear on how to set up SSL when using traffic manager. Any help is appreciated. Please note I had this working with cloud service "web role" but I'm wanting to migrate to azure websites. 回答1: Have you seen this

Asp.Net VNext App Settings on Azure

ぐ巨炮叔叔 提交于 2019-12-19 10:16:37
问题 I really enjoyed the new Configuration feature of Asp.Net vNext using de default appsettings.json But I would like to change the values of that file when I publish the website as a Azure Web App. The old web.config appsettings was easy to change and configure the properties on the environment. Do you know how to do this? I prefer to user the default provider instead of creating a custom configuration provider. Thank you! 回答1: If you set App Settings in the Azure Portal, they become

How to deploy a static website to Azure from Visual Studio Team Services

梦想的初衷 提交于 2019-12-19 09:50:02
问题 I have an existing website that I would like to deploy on Azure , using Visual Studio Team Services . The website is made up of static files, there's no ASP.NET or anything else involved. Within Visual Studio Team Services, I created a build which executes npm install and a gulp build. This results in a dist folder containing all the files for the website. In Azure, everything is set up correctly (subscription, web app,...). However, I'm unsure on how to push my code to Azure. Exploring the

HTTP Error 502.5 - Process Failure asp.net core 2.0

纵然是瞬间 提交于 2019-12-19 09:23:27
问题 Problem I already developed my web app and published it to azure with asp.net core 1.1 and it was working fine until I upgraded my web application to Core 2.0 final release and now the app working locally but when I deploy it to Azure It gives me this issue . <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" /> </ItemGroup> I just update .csproj file with this line of code HTTP Error 502.5 - Process Failure Common causes of this issue: The application process