azure-web-sites

How can I modify the Location of my web site in Windows azure?

穿精又带淫゛_ 提交于 2019-12-18 08:01:06
问题 When configured my website on windows azure, I chose Est of USA for the Web site, and North Europe for database. As you can guess, the performances are very bad, most of my users are in Europe. Looking on msdn, they said it is not possible to change database of location. So how can I change the location of my web site? 回答1: You need to redeploy your website code to a new Web Site, located in Europe. If you're using git, this should be as simple as setting up a new remote location to the new

How to check Azure Network Security Group outbound IP Allowed or not?

。_饼干妹妹 提交于 2019-12-18 07:19:49
问题 I have few problems regarding Azure Network Security Group. Currently I'm using Azure App Services to publish my website and in Azure, App Services, Network Side Controlled By NSG such as inbound and outbound security and other things. I'm working with sagepay payment gateway.they asked me to do following steps in order to success my sagepay integration. Please ensure that all of the following IP addresses are allowed within your Server or Firewall: For outbound traffic to our gateway: 195

How to check Azure Network Security Group outbound IP Allowed or not?

痴心易碎 提交于 2019-12-18 07:19:05
问题 I have few problems regarding Azure Network Security Group. Currently I'm using Azure App Services to publish my website and in Azure, App Services, Network Side Controlled By NSG such as inbound and outbound security and other things. I'm working with sagepay payment gateway.they asked me to do following steps in order to success my sagepay integration. Please ensure that all of the following IP addresses are allowed within your Server or Firewall: For outbound traffic to our gateway: 195

Azure Websites AppDomain many restarts

允我心安 提交于 2019-12-18 06:48:17
问题 I've a group of asp.net 4.0 Websites runing in Azure Websites Compute mode: Standard Location: North Europe Capacity autoscale: Off Instance size: Large Instance Count: 1 The response time is very slow, the trafic is normal, but my log show many AppDomain shutdowns (more than 3 in one minute) . My websites load data in cache during de Application_Start to give a rapid response to all subsequents requests but if the Appdomains restarts every time is impossible to give acceptable response times

MVC4 API on Azure WebSites or Azure Cloud Services [Error] : 'System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption'

孤街浪徒 提交于 2019-12-18 05:57:25
问题 I am getting this error when I try to deploy my Web API project to both Cloud WebSites and Cloud Hosted Services on Azure: "{"ExceptionType":"System.TypeLoadException","Message":"Could not load type 'System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption' from assembly 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.","StackTrace":"\r\nServer stack trace: \r\n at System.Reflection.RuntimeAssembly.GetExportedTypes

Publish simple Asp.Net Core App (.Net Framework) with WebJob

无人久伴 提交于 2019-12-18 04:19:17
问题 I would like to create a simple ASP.NET Core Web Application (.NET Framework) and publish a WebJob alongside it to Azure. I'm using Visual Studio 2017, but the result seems to be the same in VS2015. To start, I create the corresponding project in VS2017: I select the basic web application template: At this point I get a bit lost. In the older Asp.Net MVC 5 approach, I used to be able to click on the Asp.Net project and find "Add => New Azure Webjobs Project". The WebJob would then always be

Deploy website to azure with bower dependencies

我们两清 提交于 2019-12-18 04:12:43
问题 I have an ASPNET mvc project using both Nuget and Bower for dependencies. Now I need to either trigger bower to install components upon deployment or as fallback include the packages by allowing them in my .gitignore. Of course I would like to not include those in the repo and just have them installed while deploying, just like with nuget packages. I tried to follow this guide http://gregtrowbridge.com/deploying-a-bower-dependent-node-app-on-windows-azure/ but still nothing seems to happen.

The configuration file 'appsettings.json' was not found and is not optional

心已入冬 提交于 2019-12-18 03:02:23
问题 The Azure error is: .Net Core: Application startup exception: System.IO.FileNotFoundException: The configuration file 'appsettings.json' was not found and is not optional. So this is a bit vague. I can't seem to nail this down. I'm trying to deploy a .Net Core Web API project to Azure, and I'm getting this error: :( Oops. 500 Internal Server Error An error occurred while starting the application. I've deployed plain old .Net WebAPI's and they have worked. I've followed online tutorials and

How to secure access from App Service To Azure Sql Database using virtual network?

偶尔善良 提交于 2019-12-18 02:57:28
问题 Scenario I want to use virtual network in order to limit access to Azure Database only from my App Service, so that I can turn of "Allow access to App Services" in firewall settings What I have done: I went to App Service -> Networking -> VNET Integration -> Setup -> Create New Virtual Network I've created new VNET with default settings. When VNET was created I went to App Service -> Networking -> VNET Integration and ensured that the VNET is connected I went to SQL Firewall settigs ->

Show ASP.NET 5 error page in Azure web app

时光毁灭记忆、已成空白 提交于 2019-12-17 22:58:35
问题 I am getting a 500 Internal Server Error when deploying our ASP.NET 5 web application to an Azure Web App. How do I get the details and stacktrace for this exception? I have done the following but with no luck: Using the diagnostics error page on startup: app.UseErrorPage(); Setting ASPNET_ENV in Azure portal: Using DNX beta 6. 回答1: In case this helps someone, I've found out that if you're using ASP.NET RC1 and you're using Azure WebApps and add an App setting called Hosting:Environment with