azure-cloud-services

Deployment of ASP.NET vNext Application to Azure Cloud Services

我怕爱的太早我们不能终老 提交于 2019-12-04 05:24:39
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. 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/331425/Running-an-EXE-in-a-WebRole-on-Windows-Azure to run it and bootstrap your aspnetcore50 app. It's not

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

本小妞迷上赌 提交于 2019-12-03 21:11: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: 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>";RemoteDebuggerConnectorCertificateThumbprint="<thumbprint-of-ceritificate-that-is-added-to-the-cloud-service>"

Azure Cloud Service : Scaled in web site (web role) instance recieves requests before iis is ready

杀马特。学长 韩版系。学妹 提交于 2019-12-03 20:35:30
问题 Description I got a web role hosted in a cloud service that is a web site. There are predictible load spikes that we handle with a custom monitoring (a worker role) that will periodically scale in or scale out depending on the predicted load profile. That part is working. Issue After a new instance of the web site is mounted by the monitoring, we just had a case of a user whose request reach that new instance before the new instance was fully load. It resulted in an unaccessible web site

Azure Cloud Services and Git continuous deployment?

时光怂恿深爱的人放手 提交于 2019-12-03 11:45:27
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. Update : This is now possible http://www.windowsazure.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/#step6 Working like charm with both git and tfs. There is

How to reference x.509 certificates on a cloud service deployed on azure?

╄→尐↘猪︶ㄣ 提交于 2019-12-02 20:57:15
问题 I am having trouble referencing x.509 certificates once a web service is deployed on azure. The error I get is: Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindByThumbprint', FindValue 'd50d00762ab0b5bfa2ccd51122360e89ff5db55e' I have tried various StoreName and Location permutations and no success. Part of my config is as follows: <behaviors> <endpointBehaviors> <behavior name="ClientCredentialsBehavior">

How to reference x.509 certificates on a cloud service deployed on azure?

核能气质少年 提交于 2019-12-02 09:57:09
I am having trouble referencing x.509 certificates once a web service is deployed on azure. The error I get is: Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindByThumbprint', FindValue 'd50d00762ab0b5bfa2ccd51122360e89ff5db55e' I have tried various StoreName and Location permutations and no success. Part of my config is as follows: <behaviors> <endpointBehaviors> <behavior name="ClientCredentialsBehavior"> <clientCredentials> <clientCertificate findValue="D50D00762AB0B5BFA2CCD51122360E89FF5DB55E" storeLocation=

FileLoadException: Could not load file or assembly in WebRole (recycling instance)

与世无争的帅哥 提交于 2019-12-01 14:29:31
My WebRole won't start but keeps restarting and throws this exception: Application: WaIISHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileLoadException: Could not load file or assembly 'Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da' at MyDomain

FileLoadException: Could not load file or assembly in WebRole (recycling instance)

雨燕双飞 提交于 2019-12-01 12:53:15
问题 My WebRole won't start but keeps restarting and throws this exception: Application: WaIISHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileLoadException: Could not load file or assembly 'Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:

Could not load file or assembly '' or one of its dependencies. The process cannot access the file because it is being used by another process

▼魔方 西西 提交于 2019-12-01 02:36:10
问题 I have just bought a new development machine and have taken the latest version of the source code of a project we are working on but when I try to debug it I get the following error: Could not load file or assembly 'Business' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) "Business" is a class library project in the solution so it's unusual that it cannot load this assembly. I've spent quite a

Advantages of Service Fabric Microservices vs Collection of Azure Cloud services/web apps

久未见 提交于 2019-11-30 20:55:44
I have a application that can be broken down into multiple communicating services. My current implementation is monolithic and I want to reorganize it so that individual components can be deployed,iterated upon, scaled independently. I see two ways to do this with Azure: Service Fabric service composed of set of communicating micro-services (stateless, web-api etc.) A collection of individual Azure Web Apps/ Cloud Services that call each other at the http end points. Are there any obvious advantages of 1 over 2? Any rule of thumb to chose one over the other would also be very helpful. Peter