azure-cloud-services

Azure Cloud Service CDN font CORS error

北城余情 提交于 2019-12-06 06:17:19
问题 I've been following this tutorial for enabling Azure CDN for Cloud Services: link. And I integrated my bundling and minification with CDN and everything works fine except my site cannot fetch fonts, I'm getting this error: Font from origin 'http://azurecdn.vo.msecnd.net' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http:// mysite.com' is therefore not allowed access. I tired to find

Azure Compute Service worker becomes “busy” following scale-up

懵懂的女人 提交于 2019-12-06 06:03:41
I'm running one service in Azure with 4 worker instances. When I scale up to 5 worker instances the first instance that had started goes into the "busy" state. Why is that? What happens during scale up? Does azure re-run all the startup tasks? I'm very confused and can't seem to find any documentation on this. After scaling up to 5 instances the first instance changes its status to: Busy (Waiting for role to start... Application startup tasks are running. [2014-08-12T18:36:52Z]) And the java process that was running there stops. Why would this happen?! Any help would be appreciated. Startup

Azure WebRole CloudConfigurationManager.GetSetting returns null

僤鯓⒐⒋嵵緔 提交于 2019-12-06 02:35:22
I have an Azure Cloud solution with a WebRole project. Windows Azure Tools version: 2.2 packages.config in the WebRole project contains this: <package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.2.0" targetFramework="net45" /> I've "Nuget Enable Package Restore" and therefore assume the right packages are linked and referenced during build. The following line works fine on my dev-box Azure Compute emulator, however, when I deploy (check in to TFS online, which builds the solution and kicks off deployment to Azure), this line returns null: CloudConfigurationManager.GetSetting(

Deployment of ASP.NET vNext Application to Azure Cloud Services

不问归期 提交于 2019-12-05 23:27:56
问题 Is it possible to deploy an ASP.NET vNext web application to Azure Cloud Services? And if yes, does it matter if it's build on the aspnet50 or the aspnetcore50 framework? The Azure Cloud Service Visual Studio template, even in 2015 CTP seems to support only .NET Framework 4.x. 回答1: It's not supported yet but if you really want to you can do something like create a worker role setup script (which installs the kvm, kre etc.), then follow steps like this http://www.codeproject.com/Articles

Supporting .net version 4.6 or higher in azure cloud service

痴心易碎 提交于 2019-12-05 13:47:24
I have my cloud service for which i am using azure sdk 2.9. It contains multiple csproj files. One of the projects, i want to migrate to .net version 4.6 When i upgrade the project and try to deploy the service, i get the error as "Microsoft Azure Cloud Service projects only support roles that run on .NET Framework versions 4.0 and 4.5" I read on on internet that if the service uses Azure sdk 2.9, this error should not come but i am unable to find any help online, hence i am posting this issue here. To use .NET 4.6, you need to ensure that your cloud service is using the most recent osFamily .

Reserved IP for Azure Cloud Service doesn't persist

痞子三分冷 提交于 2019-12-05 10:01:41
I'm struggling to get to grips with Reserved IP addresses in an Azure Cloud Service. I have a Cloud Service with Staging and Productions deployments and I need at least the Production deployment to have a stable IP address. I set up 2 Reserved IP addresses as described here then assigned my reserved IPs to the Production and Staging deployments with Power Shell: Set-AzureReservedIPAssociation -ReservedIPName MyReservedIP1 -ServiceName mycloudservice -Slot “Production” Set-AzureReservedIPAssociation -ReservedIPName MyReservedIP2 -ServiceName mycloudservice -Slot “Staging” All well and good the

How to enable remote debugging in Azure Cloud Service package built by MSBuild

ε祈祈猫儿з 提交于 2019-12-05 08:34:31
问题 I'm building ccproj project directly by MSBuild (within TeamCity): msbuild Project.Azure.ccproj /p:Configuration=Debug /t:Publish How to enable remote debugger? Like in the UI: 回答1: This is explained in the Azure documentation. Basically you should get the remote tools for visual studio 2013 and then add the following properties to the msbuild command: msbuild /TARGET:PUBLISH /PROPERTY:Configuration=Debug;EnableRemoteDebugger=true;VSX64RemoteDebuggerPath="<path-to-remote-tools>"

Azure Cloud Services and Git continuous deployment?

拈花ヽ惹草 提交于 2019-12-04 17:49:48
问题 Is there a way by which I can use Git not only as a code repository but also for a build and continuous deployment to Azure (Cloud service, NOT web site)? I suspect not given the missing build environment unless but want to confirm this before writing it off. In theory I can see having Git hosted on a Windows server that also does the build and deployment - not sure if anyone has reduced this to practice. 回答1: Update : This is now possible http://www.windowsazure.com/en-us/documentation

Why does New-AzureReservedIP return ResourceNotFound: No deployments were found?

假如想象 提交于 2019-12-04 07:59:32
I have a cloud service that has two VMs in it. I'm trying to follow the steps listed in this article to reserve my cloud service's IP address. Login-AzureRmAccount -TenantId <my tenant id> Set-AzureRmContext -SubscriptionId <my subscription id> New-AzureReservedIP -ReservedIPName myname -Location "Central US" -ServiceName mycloudservicename I always get this error: New-AzureReservedIP : ResourceNotFound: No deployments were found. The VMs were created in the new portal but are classic mode. I'm not sure if that is somehow my problem. I've tried other combinations of cmdlets to add accounts or