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

Azure Search: Group By or Distinct in OData context / Query?

Using Azure Search service I need to be able to group by or use distinct by a field in the query. Use case: My business model has the concept of "resources" which have >=1 revisions. 1 revision is 1 document in an Azure index. I need to simulate…
5
votes
1 answer

Azure WebJobs SDK and Emulator - Triggers not working

I'm attempting to update azure SDK from v1 to v3, and hook it up to the Azure Storage Emulator for testing; using console application and .NET Framework. It doesn't appear to like any of the triggers that worked previously, the 'SomeFunction' in…
Chris
  • 170
  • 1
  • 12
5
votes
2 answers

Create LogicApp and API Connections ARM Template using DotNet SDK

I have created Azure Logic App using Dot.Net SDK. Logic App created successfully but for Trigger and Action i want to use existing Connector. I have manually created connector to Azur Portal. I am passing that Connector's APIConnection or Id to…
5
votes
1 answer

CloudBlockBlob.DownloadToStream vs DownloadRangeToStream

Trying to use the ASP.NET azure SDK for downloading images from blob storage.. I read in another post that DownloadToStream does break blobs up into smaller pieces and downloads them in parallel in order to increase performance. I believe this is…
JakeD
  • 407
  • 2
  • 7
  • 19
5
votes
2 answers

Unable to add "WindowsAzure.Storage" dependency to .Net Core (ASP.NET 5) class library

My project solution is set up this way contains the following projects MyProjectSolution.sln MyProject.WebPI(Asp.net 5 WebAPI) MyProject.Data(Asp.net 5 class libray) MyProject.Domain(Asp.net 5 class libray) I followed the steps listed…
Jaya
  • 3,721
  • 4
  • 32
  • 48
5
votes
2 answers

Hosted build on VSO with Azure SDK 2.8 fails

We recently updated our Azure SDK to 2.8. Now when building our solution on VSO hosted build we get build errors. The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\ …
honk
  • 581
  • 4
  • 19
5
votes
2 answers

Azure SDK, Trace.Information and WADLogsTable

I am writing a new Cloud Service in .NET using Azure SDK 2.5. I'm aware that there have been some significant changes to diagnostics with the 2.5 SDK rekesae. Where I am getting conflicting information is whether or not I can still use Azure…
Gavin Osborn
  • 2,593
  • 3
  • 27
  • 42
5
votes
1 answer

Azure SDK 1.8 Kills VS2010 Configuration Switching

Ever since upgrading to Azure SDK 1.8 we have been consistently having extremely long delays when switching between build configurations in VS2010. It can take several minutes to switch between a debug and release build. We also see the VS window…
evoskuil
  • 1,011
  • 1
  • 7
  • 13
4
votes
1 answer

Azure.Identity.AuthenticationFailedException: Response was not set, make sure SendAsync was called

I'm trying to connect to an Azure Service Bus and I'm facing an issue. It seems impossible to connect as I always get this error: Azure.Identity.AuthenticationFailedException: ClientSecretCredential authentication failed: Response was not set, make…
4
votes
1 answer

What is the difference between a BlobClient and a BlobItem and BlobHierarchyItem.Blob in version 12 of Azure SDK?

I am trying to figure out the difference between when to use a BlobClient vs a BlobItem vs BlobHierarchyItem.Blob?
Mike Lenart
  • 767
  • 1
  • 5
  • 19
4
votes
1 answer

Azure Search v11: Indexing nullable Collection of Complex Type

I'm updating the SDK for the Azure Cognitive Search service, from v10 to v11. I have followed all the steps in the guide in order to upgrade, however I have noticed a strange behavior about the indexing (merge or upload) operation: the…
MFF
  • 137
  • 8
4
votes
0 answers

Cosmos DB - While updating items getting error "Self referencing loop detected for property 'task'"

I am getting below error while updating items in cosmos db. Newtonsoft.Json: Self referencing loop detected for property 'task' with…
Rakesh Kumar
  • 2,701
  • 9
  • 38
  • 66
4
votes
1 answer

Creating Azure BlobClient from Uri and connection string

I want to create a Azure SDK BlobClient knowing the blob Uri. I can do it like that : StorageSharedKeyCredential storageCredential = new StorageSharedKeyCredential("devstoreaccount1", "account key"); BlobClient bl = new BlobClient(new…
Sam
  • 13,934
  • 26
  • 108
  • 194
4
votes
1 answer

What's the difference between AccountId, AuthenticatedUserId and Id of the UserContext class?

The UserContext class provides 3 properties to identify the user. They are: AccountId, AuthenticatedUserId and Id. What's the difference between them?
hendoe
  • 153
  • 12
4
votes
4 answers

Azure compute emulator is not starting and getting stuck at starting roles for the application after windows update

I am developing a WCF application and it is working fine in hosting environment. Now I am facing an issue after applying latest windows updates. Azure computer emulator is not starting, it is getting stuck at starting roles. So it is not possible to…
Prasanth
  • 3,029
  • 31
  • 44