azure-web-app-service

Application Insights configuration web API

寵の児 提交于 2020-03-25 18:57:49
问题 I have created a library project for writing logs into ApplicationInsights as well as table storage and is being consumed my different other WebAPI projects. But due to some reason the logs are not getting logged in Application Insights but it works with table storage. private void AddTelemetryTarget(string instrumentationKey, LoggerEnumerations.LogLevel minLogLevel, LoggingConfiguration config) { try { ConfigurationItemFactory.Default.Targets.RegisterDefinition("ApplicationInsightsTarget",

Can't create new .NET Core 3.1 web app in Azure under Windows operating system

旧街凉风 提交于 2020-03-23 15:41:14
问题 I spent many hours trying to find some way to create a new .NET Core 3.1 web app under Windows subscription. I found that if you pick up the Runtime stack as .Net Core 3.1 (LTS) the only option is to create an app under the Linux. I tried to play with different regions and Sku and sizes as well but for all cases, it's just the same. There is no option to configure App Insight during the creation time either when using the Linux. The interesting thing is that when I created the Web App under

Can't create new .NET Core 3.1 web app in Azure under Windows operating system

一世执手 提交于 2020-03-23 15:39:08
问题 I spent many hours trying to find some way to create a new .NET Core 3.1 web app under Windows subscription. I found that if you pick up the Runtime stack as .Net Core 3.1 (LTS) the only option is to create an app under the Linux. I tried to play with different regions and Sku and sizes as well but for all cases, it's just the same. There is no option to configure App Insight during the creation time either when using the Linux. The interesting thing is that when I created the Web App under

How to check the availability for the internal app services hosted inside internal App Service Environment

南楼画角 提交于 2020-03-23 08:14:39
问题 I am trying to setup the availability test (URL-Ping test) in Azure Application Insights, but the endpoint that requires the basic authentication. And the endpoint(Azure App Services) resides in internal App Service Environment (ASE). So, can anyone suggest me how to check the availability for the internal azure app services hosted inside internal App Service Environment. 回答1: A bit late the response, but here it goes. Please have a look at this article that explains how to do it. Basically

Open additional ports on Azure Web App

你离开我真会死。 提交于 2020-03-13 13:39:06
问题 I have recently moved a .NET Web API 2 app from an Azure Cloud Service to an Azure Web App. However, we have a legacy application that needs to communicate with the API on ports 8080 and 444. Is there a way of opening additional ports on a web app? 回答1: No, you cannot. Only ports 80 and 443 are open. Check this answer on Server Fault: https://serverfault.com/a/751548/394375. If you need that control, you can use Cloud Services or Virtual Machines. 回答2: No, As junnas mentioned that only 80 or

Open additional ports on Azure Web App

无人久伴 提交于 2020-03-13 13:37:54
问题 I have recently moved a .NET Web API 2 app from an Azure Cloud Service to an Azure Web App. However, we have a legacy application that needs to communicate with the API on ports 8080 and 444. Is there a way of opening additional ports on a web app? 回答1: No, you cannot. Only ports 80 and 443 are open. Check this answer on Server Fault: https://serverfault.com/a/751548/394375. If you need that control, you can use Cloud Services or Virtual Machines. 回答2: No, As junnas mentioned that only 80 or

Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295

徘徊边缘 提交于 2020-02-23 10:06:31
问题 I have setup the VSTS release definition with Dev and Test environments, those environments successfully deployed without any issue from last 2 months but suddenly today I faced some issue in Test environment even Dev environment succeeded. The issue like “Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295”, if you want more information see the below screenshot. Before posting question I read so many answers and tried with some options like

Azure Web App for Containers networking VNET

怎甘沉沦 提交于 2020-02-23 03:24:50
问题 I'm exploring Azure but unable to figure out how to allow my App service to connect to the VNET I created so it can access the HDInsight cluster. My scenario is this, I'm running a Kafka HDInsight cluster deployed in the VNET I created and I need to also deploy my Azure Web App for Container in the same VNET so it can connect to the Kafka brokers. I haven't seen a good documentation on this, need help on how to set the Azure app service to connect to my VNET over a private network? The

How to automatically restart an app service after certain time?

那年仲夏 提交于 2020-02-15 10:53:42
问题 How to automatically restart an app service after 24 hours? How to schedule the app service to restart automatically at a specific time through the use of web jobs? 回答1: You can achieve this by creating a web job and placing a PowerShell script to stop and start the web app. To perform start/stop operation of Azure App Service, the web job should have access to your subscription. It also requires your Azure profile. Login-AzureRmAccount Save-AzureRmProfile -Path "E:\azureprofile.json" To

Deploy to Azure marks (Release Annotation) from desktop

喜欢而已 提交于 2020-02-06 08:20:10
问题 Is there any way to look for deployment event from Visual Studio in Azure? I would like to see when we deployed. Previously, we had that option in Application Insight, now that they removed that feature I don't know where to look. 回答1: I would've expected to find that information, i.e., deployment/publish history in Azure Activity Logs or Deployments under the corresponding Resource group, but couldn't, and began digging further. AFAIK, there isn't a straightforward way of tracking manual