Questions tagged [azure-sdk-.net]

Enables to build and debug hosted services in .NET and to deploy them to Azure

Windows Azure SDK for .NET is a set of tools that enable the development and deployment of hosted services in .NET . In particular:

  • it provides the libraries needed to write web and worker roles;
  • it provides a development environment that emulates Compute and Storage in order to debug locally the service;
  • it provides the tools needed to package the roles into a file that can be deployed on Azure;
  • it provides integration with Visual Studio 2010/2012 that assists the developer in the programming, the debugging, the deployment and the monitoring of hosted services.
542 questions
0
votes
1 answer

Azure Service Bus with message that have abstract body

I'm using Azure Topics and Subscriptions as a message bus. But when I do message.GetBody() I got a SerializationException. That I want to achieve is to have ONE subscriber that reads all events of type BaseEvent, and also each event has their own…
Rikard
  • 3,828
  • 1
  • 24
  • 39
0
votes
1 answer

Configuring Azure Website "Always On" Mode using Management API

It is possible to set an Azure Website to "Always On" using the Azure Portal. I'm trying to achieve the same using the Azure SDK var config = new WebSiteUpdateConfigurationParameters { WebSocketsEnabled = true, AppSettings = appSettings, …
Oliver Weichhold
  • 10,259
  • 5
  • 45
  • 87
0
votes
1 answer

Shut down windows azure role instance via SDK

I want to shut down a specified cloud service role instance. Microsoft provides API VirtualMachineOperations.beginShutdown(serviceName, deploymentName, virtualMachineName, parameters, callback). I know the serviceName and deploymentName, and the…
Jason Li
  • 1,528
  • 1
  • 12
  • 20
0
votes
2 answers

Windows Azure Storage: What SDK version uses? (4.0.1 vs 2.3 Azure SDK)

I am a little confused with the (1)Azure SDK and the (2)Windows Azure Storage nu-get package versions. Can someone explain what version of the SDK (latest 2.3) uses the latest nu-get package (4.0.1 is the latest currently). In the MSDN(1) says the…
d.popov
  • 4,175
  • 1
  • 36
  • 47
0
votes
2 answers

Migrating from Azure SDK 2.0 to Azure SDK 2.3

We have critical project partly deployed in azure that uses queues, blobs and table storage. Now we using SDK 2.0 and thinking about moving to latest SDK 2.3 but it will cost us some resources especially for load testing with a new Azure SDK. Is…
Denis Agarev
  • 1,531
  • 4
  • 17
  • 34
0
votes
1 answer

Why is TemplateName property on MpnsTemplateRegistrationDescription undocumented on MSDN?

I'm using Notification Hubs with the Windows Azure Service Bus .NET SDK version 2.2.4. I'm creating a templated MPNS registration like this: var reg = await _hub.CreateMpnsTemplateRegistrationAsync(deviceToken, MPNS_TILE_TEMPLATE); reg.TemplateName…
krisdyson
  • 3,217
  • 7
  • 43
  • 86
0
votes
2 answers

TableOperation exists in two DLLs

I am developing an app for Windows Azure and just started using azure table storage using version 2.1.0.4 (the newest version is not supported by the storage simualtor yet) of the storage API. When I now try to execute a TableOperation…
Christoph Fink
  • 22,727
  • 9
  • 68
  • 113
0
votes
2 answers

Azure .NET SDK - List all virtual machines, failed to authenticate

Using the new Windows Azure SDK for .NET, I want to get a list of all virtual machines. Piecing together the early documentation, here's what I came up with: // This is a custom cert I made locally. I uploaded it to Azure's Management Certificates…
Judah Gabriel Himango
  • 58,906
  • 38
  • 158
  • 212
0
votes
0 answers

Installing Windows Azure SDK for .NET 2.2 VS2012 failed

I have VS2012 Ultimate Update 4 installed. I need to installed Windows Azure SDK for .NET 2.2. I install it from Web Platform Installer. When i try to create project using window azure cloud service project template. I get the error "Creating…
sumitup
  • 61
  • 7
0
votes
0 answers

Azure CloudBlobClient.ListContainers() returns 400 for DevelopmentStorage

Am just running some experiments with CloudBlobStorage using the Development Storage Account, and while VS2013 Server Explorer can enumerate Blob containers just fine, my code returns a 400 error. Not sure what I'm doing wrong here, and I've…
0
votes
1 answer

StorageCredentials NeedsTransformUri property removed in Azure SDK v2

I'm upgrading a project from the Windows Azure SDK version 1.7 to 2.1. I've got some code that uses the NeedsTransformUri property of the StorageCredentials class: StorageCredentials credentials; // .... if (credentials.NeedsTransformUri) { …
jcarpenter2
  • 5,312
  • 4
  • 22
  • 49
0
votes
1 answer

Error indicator on role in cloud project

I recently updated a client project to use Azure SDK 2.1 from 1.8. (Storage Client was updated a while ago). This was done on a feature branch. During this process one of the roles in the cloud project started showing an error indicator. Since…
Dennis Burton
  • 3,282
  • 3
  • 23
  • 30
0
votes
1 answer

Windows Azure project not working

I am using Visual Studio 2012 using C#. I am getting error while opening the project at my PC, this project is working fine on another system. Very frequently I am also getting this error too.
Ajendra Prasad
  • 299
  • 1
  • 8
  • 22
0
votes
2 answers

Determine if other role instances are busy and/or healing?

Building off of this question/answer on StackOverflow, I'm looking to make a single Azure instance run certain code at one time rather than have every instance run the code. However, what I can't seem to find is how to determine if roles that are…
David Pfeffer
  • 38,869
  • 30
  • 127
  • 202
0
votes
1 answer

Azure SDK 2.0 installation on VS 2012

I have tried to install the Windows Azure SDK 2.0 on the VS 2012 ultimate. I have both the VS 2010 and VS 2012 on Widows 7 machine . i am getting below error Web plat form log DownloadManager Information: 0 : Moving downloaded file…