azure-worker-roles

How do I do per-instance Azure Worker-Role configuration?

£可爱£侵袭症+ 提交于 2019-12-25 04:01:42
问题 In need to deploy 3 different worker roles but each needs it's own configuration (user name, password, etc.) to connect to a trading server. I can't share the credentials across the instances. If anyone knows how to accomplish this I would be very appreciative! Thanks... 回答1: Do you mean you have 1 Worker Role with 3 instances? You should switch to 3 Worker Roles instead (different projects in Visual Studio). This allows you to configure each Worker Role independently (double click each

How do I do per-instance Azure Worker-Role configuration?

醉酒当歌 提交于 2019-12-25 04:01:06
问题 In need to deploy 3 different worker roles but each needs it's own configuration (user name, password, etc.) to connect to a trading server. I can't share the credentials across the instances. If anyone knows how to accomplish this I would be very appreciative! Thanks... 回答1: Do you mean you have 1 Worker Role with 3 instances? You should switch to 3 Worker Roles instead (different projects in Visual Studio). This allows you to configure each Worker Role independently (double click each

Using kernel32 CreateThread/TerminateThread inside Azure Worker Role

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 17:25:11
问题 I have this code that I need to use, but what holds me back is that here it says that TerminateThread Applies to: desktop apps only . I wonder if I can use this code inside azure Worker role, specifically inside waiishost.exe process that I use to run the Worker thread in? [DllImport("Library.dll")] public static extern void InfiniteLoop(); [DllImport("kernel32")] private static extern int CreateThread( IntPtr lpThreadAttributes, UInt32 dwStackSize, IntPtr lpStartAddress, IntPtr param, UInt32

Access Sharepoint from a Worker role service running on Azure

本秂侑毒 提交于 2019-12-24 16:03:38
问题 I need to update some information on Sharepoint when some information changes in another system. The way I'm doing this (I didn't get to choose, but rather the company) is: 1. When the event occurs in the other system, I send a message to an Azure ServiceBus queue: QueueClient queueClient = QueueClient.CreateFromConnectionString(connectionString, "authors"); BrokeredMessage message = new BrokeredMessage(); message.ContentType = "Authors"; message.Properties["FirstName"] = FirstName; // set

Azure Storage Queue - long time to process

て烟熏妆下的殇ゞ 提交于 2019-12-24 15:27:49
问题 I need to generate quite a number of reports and a report can take about 5 minutes to be generated, large amount of data, many different sources. The client will post messages to an Azure Storage Queue. There is a worker roles that processes the messages and generates the reports. If I want to scale this up let's say I end up with 10 worker roles that will process the messages from the queue and generate the reports. Then I will add messages into the queue like this: message 1: process

“The underlying provider failed on Open” Error when using EF5 Code First with Unity IoC in Azure Worker Role against SQL Azure

回眸只為那壹抹淺笑 提交于 2019-12-24 09:36:10
问题 I am using Entity Framework 5 Code First, I use the repository and unit of work pattern, and have my domain models, repositories, and service layer working fine within an MVC app running in a Windows Azure cloud service. I'm using Unity for IoC and inject repositories, controllers, and service classes as required, and use a per-request lifetime. It has been working great. However, when I use the same code/class libraries for the domain, repository, and the EF5 DbContext, in an Azure Worker

Azure cloud service network bandwith

天涯浪子 提交于 2019-12-24 07:37:09
问题 I have an Azure web role on 3 Standard_A3s. The web api has a heavy load and it transfers lot of large objects. I am trying to find out at what RPS we might hit network bandwith limit. Is there a way to find this out. 回答1: Maximum network bandwidth is the maximum aggregated bandwidth allocated and assigned per VM type. The maximum bandwidth provides guidance for selecting the right VM type to ensure adequate network capacity is available. When moving between Low, Moderate, High and Very High,

Web role / worker role / VM role?

北战南征 提交于 2019-12-24 06:48:20
问题 Sorry for ambiguous question title! I have an asp.net app which works with an additional third party software(burning glass- connects to web app via tcp/ip, requires - properly configured dns entry, fixed ip and minimum of 8gb ram and it is completely managed via command prompt) in a single dedicated server. I want to convert my web form app to MVC and deploy it in azure and also move the third party software I use( with above requirements). Is it possible to achieve the above requirements in

how to write azure web role - worker role schedule task?

耗尽温柔 提交于 2019-12-24 02:55:13
问题 I am reaching a conflict in my azure project, I'm trying to seclude task : on every 16th of the month of .xml file form individual web site. In my project I have one web role and one worker role, I trying to seclude on every 16th of the month that the web role will create a message(connect to the site and download the .xml file), insert it to the queue storage, the worker role gets the message process it and delete the message. Suggestion anyone?? 回答1: Have you taken a look at this post -

Window Azure Deploying Cloud Services with A6 vmsize

亡梦爱人 提交于 2019-12-23 09:47:42
问题 In my cloud service I have one web role and worker role. I changed my web role VM size from medium to A6 . When I tried to deploy to Windows Azure, I get the following error message:s seem prompt me error The VM size (or combination of VM sizes) required by this deployment cannot be provisioned due to deployment request constraints. If possible, try relaxing constraints such as virtual network bindings, deploying to a hosted service with no other deployment in it and to a different affinity