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
7
votes
1 answer

Azure Resource Manager - Get all the resources of a resource group

Yesterday, I was using this line of code with the version 1.5.0-preview of Microsoft.Azure.Management.ResourceManager : var listResources = ResourceManagementClient.ResourceGroups.ListResources(resourceGroup.Name); Today, I have updated to version…
Elodie
  • 103
  • 1
  • 9
7
votes
1 answer

Azure Publish Error - Could not copy the file obj\Debug\build.force

I tried to publish my Azure Cloud project, and I am getting the following error message Could not copy the file obj\Debug\build.force because it was not found C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure…
roney
  • 964
  • 3
  • 15
  • 37
7
votes
2 answers

Azure WebJobs: Is it possible to retrieve the Host Url programmatically in the console app?

I would like to invoke a REST call from my WebJob, I am wondering if it is possible to programmatically retrieve the Host Url (http://.azurewebsites.net) from inside my WebJob, instead of hard-coding the URL.
icube
  • 2,578
  • 1
  • 30
  • 63
7
votes
1 answer

Azure SDK for .NET (VS2013) 2.5 requires Visual Studio 2013 update 3 or later

I wanted to install Azure 2.5 SDK for VS 2013 and that required updating VS 2013 to Update 3 or later. Update 4 was the recommended one so I installed it. Azure 2.5 SDK installation still broke at the same spot. When I checked about dialog in VS…
Mladen Korica
  • 73
  • 1
  • 5
7
votes
2 answers

How to turn existing class library into worker role

Is there a way to turn an existing class library into a worker role? I don't want to add more projects to the solution especially when this project will only call MyLibrary.Class.Run().
Uri Abramson
  • 6,005
  • 6
  • 40
  • 62
7
votes
1 answer

Azure Service Bus Relay Occasional FaultException

We can't determine why the Azure BasicHttpRelay is throwing an occasional FaultException without any details. We've enabled WCF diagnostic tracing, but the available stack trace information is still the same. It seems like the WCF client channel…
7
votes
1 answer

In Visual Studio, using Windows Azure Storage, where does "Remember Account Key" get saved?

Recently I reformatted my PC, which previously had Visual Studio installed on it. In Visual Studio, under Server Explorer -> Windows Azure Storage, before reformatting, I had a storage account configured for one of my hosted services in Azure. …
6
votes
3 answers

How to resolve Could not load file or assembly 'Azure.Core'

Could any one explain why we are getting such errors like Could not load file or assembly. Whenever I update nuget references specially in azure sdk I end up with this error and because of lack of knowledge I was struggling to fix them very weirdly.…
Pramod Lawate
  • 615
  • 1
  • 7
  • 21
6
votes
1 answer

Significant performance degration on ExecuteQuerySegmentedAsync between Microsoft.Azure.Cosmos.Table and Microsoft.WindowsAzure.Storage

I've been researching moving from Storage Account table storage to CosmosDB table storage. Currently I am using the WindowsAzure.Storage (9.3.3) library to query data in a .net core 3.1 application. As part of this migration I have switched to the…
Blaine
  • 126
  • 6
6
votes
2 answers

Azure blob storage exception "An existing connection was forcibly closed by the remote host"

I'm trying to use azure blob storage. I uploaded some images successfully, but all the sudden I get the error: An existing connection was forcibly closed by the remote host I looked into it and the exception is thrown whenever I try to check if a…
J. Doe
  • 677
  • 7
  • 20
6
votes
5 answers

Azure ExpiredAuthenticationToken during New-AzureRmResourceGroupDeployment when deploying resources via Visual Studio

I'm trying to deploy an HDInsight cluster using an ARM template via Visual Studio. I've created an Azure Resource Group project in Visual Studio 2015, and added my resource definitions to the template JSON files. However when I've gone to deploy it…
6
votes
1 answer

Azure Debugging Environment in VS2015 crashes on start

This just started happening out of the blue recently. I tried all the solutions I can find on Stack and other forums but nothing so far has worked. When I try to start debugging on an Azure worker role, this is as far as I get: The Debug window…
GFoley83
  • 3,439
  • 2
  • 33
  • 46
6
votes
5 answers

Failed to debug the Windows Azure Cloud Service Project. The output directory does not exist. / Azure SDK 2.3 / VS 2013

I have Azure SDK 2.3 installed on my Windows 7 machine. The target .Net framework is set to 4.0. I'm able to upgrade my solution to Azure SDK 2.3 and build with no problems. However, when I try to run the solution, I get the following error: Failed…
6
votes
4 answers

How to automatically detect the version of installed Azure SDK?

Is there a simple (documented?) way to detect the actually installed version of Azure SDK in automation script? I am going to define conditional behavior depending on this version. Currently, I just look into the C:\Program Files\Microsoft…
moudrick
  • 2,148
  • 1
  • 22
  • 34
5
votes
1 answer

Document DB SDK with ORDER BY caused ServiceUnvailableException

I'm using DocumentDB. Given index policy: messageType: string - precision -1 deviceId: string - precision -1 Query 1: SELECT * FROM c WHERE c._ts >= 1563721200 AND c._ts < 1563807600 AND c.messageType = 'attack' AND c.deviceId >= 'A' AND c.deviceId…
duy
  • 579
  • 5
  • 16
1 2
3
36 37