azure-web-roles

assembly is not compatible with the 64-bit processor architecture used by IIS on Windows Azure

安稳与你 提交于 2019-12-21 19:27:15
问题 I am getting a warning message when I try to run my asp.net application on my devmachine appfabric .and I am getting error message when I upload my application to azure cloud project contains the following assembly: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll. This assembly is not compatible with the 64-bit processor architecture used by IIS on Windows Azure. To make sure that the

Deploying Multiple Web Roles and Worker Roles on a Single Azure Cloud Service

旧时模样 提交于 2019-12-21 17:42:51
问题 This may not be new, but I hope some one can put me on right track as its bit confusing during azure deployment. I'm in the process of planning for deployment on Azure. This is what I have A Public facing ASP.Net MVC app (web-role) + WCF Service (web-role) to be accessible only to this asp.net app + WCF Service (worker-role) again accessible to 1. over message-queue An Custom STS i.e. ASP.NET MVC app (web-role) acting as Id-Provider (for 1. which is a Relying Party) + WCF Service (web-role)

Compile MVC and Pre-Compile Views And Deploy Into Azure WebRole

限于喜欢 提交于 2019-12-21 04:59:38
问题 So I have the following requirements: 1. Compile a large MVC app and pre-compile all of its views. 2. Run transforms for web.config 3. Package and publish for deployment into Azure Web Role I can do 1 with a modified proj file, 2 works if I us msdeploy, and 3 works fine when I use the VS 2012 Azure tools. Now I want to put these all together into a scripted process. Has anyone already done the leg work to get this running? 回答1: 1) /p:PrecompileBeforePublish=true 2 + 3) You need to add the

Environment.GetEnvironmentVariable(“RoleRoot”) returning null when called in a WebRole

狂风中的少年 提交于 2019-12-21 04:33:09
问题 I have a method (in a separated class library) which is called by a WebRole and a WorkerRole. This method contains the path of a file, which is returned using Environment.GetEnvironmentVariable("RoleRoot") , as follows: private string FooPath() { string appRoot = Environment.GetEnvironmentVariable("RoleRoot"); return Path.Combine(appRoot + @"\", @"approot\file.foo"); } When I call this method from a WorkerRole the path is returned normally. But when I call it from a WebRole I get null . Any

Azure CDN - Enabling HTTP 304 Caching with ETag - Hosted Web Role

雨燕双飞 提交于 2019-12-21 04:29:11
问题 We are trying to enable HTTP compression (gzip) and HTTP 304 Caching via ETags on Azure CDN. We already discovered an issue with enabling Azure CDN Compression, but now we can't get compression and ETag caching (304s) working simultaneously. This issue has been posted to Azure forums here. Here is an example of the compressed, but not HTTP cacheable (304) link: https://xxxx.vo.msecnd.net/resourceManager.axd?token=HL80vX5hf3lIAAA&group=core.js Here is an example of the cacheable (304), but not

Windows Azure Project web role entry point host stopped error

主宰稳场 提交于 2019-12-19 10:44:11
问题 I have just started development for Azure. I have created an Azure project with Asp.net role, but when I try to debug it without making any changes it gives the following error: "windows azure web role entry point host has stopped working". 回答1: Check your %UserProfile%\AppData\Local\Temp directory. You should see a couple files there including IISConfigurator.log For me on SDK v1.6 the path was %UserProfile%\AppData\Local\dftmp\IISConfiguratorLogs\IISConfigurator.log (be careful with the

Orchard Performance on Azure

假装没事ソ 提交于 2019-12-18 13:24:48
问题 Using http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure I've successfully deployed Orchard into Azure. After every 20mins or so without activity (app pool recycle?) it takes minutes to render a page. I'm running on an Extra Small instance in Azure. Webinstance, Storage and SQL Database are all in the same datacentre - SE Asia. There is a module called keepalive, which does a regular ping. or http://blog.smarx.com/posts/controlling-application-pool-idle-timeouts

Role in Azure Compute Emulator stuck cycling between Unknown and Destroyed states

*爱你&永不变心* 提交于 2019-12-17 17:16:43
问题 My Azure Cloud Service's Web Role works fine when deployed to Azure but can't get it running with the Emulator. When starting the role from within Visual Studio (2015) the window just displays "Starting the roles for the application in the Microsoft Azure compute emulator...". When starting with the debugger OnStart() doesn't seem to be hit at all, so something before that gets stuck. The role doesn't seem to be started because the app's custom logs are not created either. Looking at the

What is the difference between an Azure Web Site and an Azure Web Role

◇◆丶佛笑我妖孽 提交于 2019-12-16 20:01:11
问题 What are the material differences between the new Azure Web Sites and the traditional Azure Web Roles for an ASP.NET MVC application? What reason would I choose a "web site" over a "web role" or vice versa? Let's assume that I would need equal capacity in either case (e.g. 2 small instances). The prices seem comparable other than the fact that there is a 33% temporary discount for web sites while they are in their preview period. Are there things that I can do with a "web site" that are

Can't get azure web role to run locally using the emulator

☆樱花仙子☆ 提交于 2019-12-13 12:26:27
问题 I have a web role that I'm trying to run locally using the emulator. I have it working on another computer, but I cannot get it working on a different one, and have gone as far as to reformat it and start from scratch. When I launch the site from Visual Studio, Chrome shows the following message: This webpage is not available The connection to 127.0.0.1 was interrupted. There is also an error code listed at the bottom: Error 101 (net::ERR_CONNECTION_RESET): The connection was reset. One