azure-web-sites

Azure Web App for Containers networking VNET

故事扮演 提交于 2019-12-06 10:03:18
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 Network is disabled (don't know why) on my App service. Thanks VNET integration is not available yet for Web

Access security to an Azure App Service API App

ε祈祈猫儿з 提交于 2019-12-06 09:41:53
We have a system that is based on 2 tiers, a Backend tier and a Frontend tier, right now both are Azure WebSites communicating trough WebAPI. I wan't to move the backend WebAPI to API App - question is - if it's possible to configure the security of an API App in such way, that it is only accessible from the configured Frontend ASP.NET MVC 6 Web application (hosted in Azure WebSites). We planned to use Active Directory as an authentication method between the frontend Web App and the backend Web App, so that only the frontend can have access to the backend WebAPI. Is this the most secure way?

Azure websites with .NET 4.5.2

99封情书 提交于 2019-12-06 09:32:01
According to this semi-official answer here, Azure websites now supports .NET 4.5.2: https://stackoverflow.com/a/23554969/68231 However, when I visit the Kudu debug console, it doesn't show that .NET 4.5.2 is installed: And indeed, when I try to push out a website targeted to .NET 4.5.2, Kudu refuses to build and deploy the website in question, with errors like this: Areas\Integration\Controllers\TwitterController.cs(18,31): error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture

How to deploy ASP.NET MVC4 application with SQL Server CE to Azure website

一笑奈何 提交于 2019-12-06 08:16:46
I deployed a ASP.NET MVC4 app with SQL Server CE database, but I'm getting Sorry, an error occurred while processing your request I am using VS2012 to publish this app to azure website. How can I solve this issue? Thanks. To summarize and so an answer can get marked on this to help the next person that comes by. When running into issues on azure-web-sites FTP is a handy debugging tool which enables you to: Verify that the dll exists in your bin directory Sometimes the .gitignore file blocks directories from being checked in Verify that your web.config file has the proper version of the

Using python 3.6 on azure app services - not working despite it is installed as extension

落花浮王杯 提交于 2019-12-06 08:02:39
问题 I've got a challenge with deploying Django app (wagtail to be precise) to Azure Web Services using external Git repo (Bitbucket). I want to use Python 3.6.1, therefore I followed instructions at Managing Python on Azure App Service manual I have python 3.6.1 extension installed and in place I created web.config file in root directory of my app (I checked and it is uploaded to the server) However, deploy fails with message Detecting Python runtime from runtime.txt Unsupported runtime: python-3

Enable Azure Website Application Diagnostics

大兔子大兔子 提交于 2019-12-06 07:53:14
I have a Windows Azure Website (built with ASP.NET Web Pages), and in the configuration have enabled "Application Diagnostics" for both Blob storage and file storage: I've then added some Trace statements to a Razor page to test it out @{ System.Diagnostics.Trace.TraceInformation("INFORMATION"); System.Diagnostics.Trace.TraceWarning("WARNING"); System.Diagnostics.Trace.TraceError("ERROR"); } However, this results in no logs at all, either in the file system or the blob. For good measure I attempted to add various settings to my web.config file (shown below), although from the documentation I

How to deploy ASP.NET MVC site with existing database to Azure Web Apps?

不想你离开。 提交于 2019-12-06 07:18:09
Question structure: First I give structure and configs of my ASP-MVC-4 project, then describe how I deploy my site to Azure Web Apps and finally present my error and question. My problem is related to conflicts with EF Code-First Migrations during Azure Deploy. My ASP MVC 4 Project and configs: I'm using Visual Studio 2015-U3 . I've ASP.NET MVC 4 website. Target framework: .NET Framework 4.5 . The site have its own database and works locally and interacts with database ( (LocalDb)\v11.0 ). I was using Entity Framework Code-First approach to create and fill data. My DB connection string in Web

How do i deploy a java application on windows azure

泪湿孤枕 提交于 2019-12-06 06:27:11
问题 Hi I am a 3rd year computer science student and I have create a my 3rd year project in java on netbeans and I now want to deploy it onto a virtual machine with windows azure. The point of this is that I would like to be able to use this application as is on any computer connected to the internet simply by accessing the cloud and without having to install the program every time (something like how you can play any game on steam on any pc). The question now is, is it possible and if so how do I

How to stop running multiple application insights for Azure Web App?

て烟熏妆下的殇ゞ 提交于 2019-12-06 06:04:56
问题 We have enabled Application Insights for an Azure Web App. The following highlighted Application Insights automatically added to the app service even after deleted manually. Is there anyway to permanently disable/delete this? NOTE: We have configured Scale Out (Max: 10 instances) for the App Service. 回答1: It seems that the old extension was not properly removed when you enabled the new experience. Even though the App Service doesn't show the "Microsoft.ApplicationInsights.AzureWebSites"

Azure slow response time in Django web app

喜夏-厌秋 提交于 2019-12-06 04:23:18
For a long time I've been managing an Azure web site in testing, staging and production environments. Initially, all of them were free and I noticed the server sometimes was very slow to respond to async requests. Some requests took 15-30 seconds to complete on the Azure web site. A local copy running on IIS worked with no problem and request times ranged from 75ms to 400ms. At first I thought the problem with the Azure websites was the 'Always on' feature but after upgrading the production server to a Standard 2 level the exact same problems still exist. Recently I ran a profile with