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.
427 questions
68
votes
9 answers

Where is the NuGet package for Microsoft.WindowsAzure.ServiceRuntime?

We had previously been referring to our Windows Azure libraries via the SDK and I noticed that they have NuGet packages for them now. This is obviously way better, so I'm swapping out all of those references for the NuGet packages. However, I…
Allen Rice
  • 18,062
  • 13
  • 77
  • 111
61
votes
2 answers

Azure SDK 2.5.1 fails to Publish cloudService

After successfully upgrading my cloud service to the new "Azure SDK for .NET 2.5.1" I got the following error when trying packaging/publishing. Could not load file or assembly 'Microsoft.WindowsAzure.Packaging, Version=1.0.0.0, Culture=neutral,…
31
votes
1 answer

Microsoft.WindowsAzure.Storage vs Microsoft.WindowsAzure.StorageClient

What's the difference between these two assemblies and when should I use each? I find that there are class name collisions between them so I imagine that I should only use one. Example Microsoft.WindowsAzure.Storage has…
Matt Ruwe
  • 3,086
  • 1
  • 36
  • 70
28
votes
7 answers

How to query Cloud Blobs on Windows Azure Storage

I am using Microsoft.WindowsAzure.StorageClient to manipulate blobs on Azure storage. I have come to the point where the user needs to list the uploaded files and modify/delete them. Since there are many files in one container, what is the best way…
Gorgi Rankovski
  • 2,223
  • 1
  • 20
  • 30
21
votes
7 answers

Getting the latest file modified from Azure Blob

Say I am generating a couple of json files each day in my blob storage. What I want to do is to get the latest file modified in any of my directories. So I'd have something like this in my…
Yar
  • 5,724
  • 9
  • 39
  • 57
21
votes
0 answers

Azure SDK Upgrade from 2.2 to 2.6

MS Build crashed once I have upgraded Azure SDK from 2.2 to 2.6 SDK. I get following error during MS build.... can anyone help me what is actual issue in 2.6 Click here to enlarge image
SOF User
  • 6,887
  • 21
  • 66
  • 117
19
votes
5 answers

Could not load file or assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.0.0.0

We are using Azure SDK 1.8 and it working fine on local. we are using TFS hosted build controller to deploy on azure. It was working fine before but sudden today we getting this error although we have no azure sdk dll version changed but online we…
SOF User
  • 6,887
  • 21
  • 66
  • 117
18
votes
2 answers

Azure Table Storage CreateQuery in .NET Core

I'm porting my existing class library that targets .NET Framework 4.6.2 to .NET Core 1.1. Looks like some of the methods that are available in .NET Framework version are not there in .NET Core. Two such methods are table.CreateQuery and…
Sam
  • 19,814
  • 35
  • 141
  • 272
18
votes
6 answers

How do I uninstall Azure SDK for .NET 2.5?

I downloaded pieces of Azure SDK for .NET 2.5 from here, - "authoring tools", "Azure tools" and "libs for .net" packages and installed them one after another. Installation went successfully and Visual Studio 2012 even offered to migrate my .ccproj…
sharptooth
  • 159,303
  • 82
  • 478
  • 911
17
votes
4 answers

How to create ServiceClientCredential to be used with Microsoft.Azure.Management.Compute

I am trying to programmatically retrieve the HostedServices from Microsoft.Azure.Management.Compute using C#. This requires ServiceClientCredential and I do not know how to get it. How can I instantiate this class? I am able to get them using…
user5748653
  • 171
  • 1
  • 1
  • 5
16
votes
3 answers

Using authentication token in azure sdk fluent

To authenticate with Azure in azure sdk fluent nuget, there is a method that uses client id and secret as below var azureCredentials = new AzureCredentials(new ServicePrincipalLoginInformation { ClientId = "ClientId", …
Saravanan
  • 792
  • 8
  • 22
15
votes
3 answers

How to remove a users manager in AzureAD using Microsoft.Azure.ActiveDirectory.GraphClient

I'm using the Microsoft.Azure.ActiveDirectory.GraphClient (Version 2.1.0) to write an app for Azure AD user management. I'm able to set the Manager of a user but have no idea how to clear the field. Unfortunately the sample project provided on…
stefboe
  • 491
  • 4
  • 21
15
votes
9 answers

Azure: How to move messages from poison queue to back to main queue?

I'm wondering if there is a tool or lib that can move messages between queues? Currently, i'm doing something like below public static void ProcessQueueMessage([QueueTrigger("myqueue-poison")] string message, TextWriter log) { …
vbn
  • 769
  • 1
  • 6
  • 15
14
votes
5 answers

Azure 2.5 SDK Upgrade Causes CSPack Fail

I just upgraded to Azure SDK Tools 2.5 in Visual Studio 2012 and when I try to publish via the GUI to Azure I am getting the following error during the final CSPack step. ERROR MESSAGE: The "CSPack" task failed…
13
votes
1 answer

Shutting down VM returns all VM states as unknown

When using the methods below to shutdown and query the role instances. When I shutdown a VM all other role instances are returned with a status of ready state unknown. After about a couple of minutes I can query again and get the actual status. …
Sorceri
  • 7,482
  • 1
  • 23
  • 37
1
2 3
28 29