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
4
votes
2 answers

Simplest way to access azure programmatically

I have the following code: var client = new WebSiteManagementClient(creds); var data = client.WebSites.Get("eastuswebspace", "some-site", new WebSiteGetParameters()); I need to generate credentials, I am an admin with full access. Only one App…
4
votes
1 answer

transient fault handling with azure in a sustainable way

Azure documentation lacks and articles are often obsolete. I've read that "Transient Fault Handling" (TFH) for Azure services (ServiceBus, FileStorage...) is now fully managed. It seems now there is nothing to implement on the client side. In the…
Rénald
  • 1,412
  • 12
  • 29
4
votes
1 answer

Azure Generate Resource Group C#

I hope you can help me in the code, i have a trouble to generate the code to create a Resource Group, but for some reason i can't understand what is the error... i use the code of the github:…
AnubisVolga
  • 311
  • 3
  • 18
4
votes
3 answers

What causes ModuleLoadException in RoleEnvironment initializer?

I'm debugging a class library with the WCF service, which uses installed Azure SDK 2.4 on Windows 8.1 using WCF Test Client and Visual Studio 2013 Ultimate debugger. The library was compiled using AnyCPU. An exception occurs when…
Leonid Vasilev
  • 11,910
  • 4
  • 36
  • 50
4
votes
2 answers

Intermittent SSL/TLS error using Azure SDK in Azure Website

I have an ASP.NET MVC website running .NET 4.5 in an Azure Website and I keep getting this error trying to retrieve or upload assets into Azure Blob Storage using the Azure SDK (version 4.3.0). The request was aborted: Could not create SSL/TLS…
Austin
  • 4,638
  • 7
  • 41
  • 60
4
votes
1 answer

Android azure mobile services __includeDeleted in pull?

Is there a built-in way to request the Deleted entities on Pull in the Android and iOS version of Azure Mobile Services? In the Rest API its clear that you must specify the parameter __includeDeleted=true in order for them to be returned. Edit:…
4
votes
1 answer

When does Azure's EventProcessorHost call IEventProcessor.ProcessEventsAsync?

I'm writing a worker for Azure EventHub and I expect to be building on top of EventProcessorHost; however, I couldn't find some potentially relevant details either in the general documentation or the API documentation. When is IEventProcessor…
cacsar
  • 2,098
  • 1
  • 14
  • 27
4
votes
1 answer

What Azure .NET SDK EventHubClient instance methods are threadsafe?

I'm writing code that will be publishing messages from multiple threads to an Azure Event Hub in C# using the EventHubClient. The documentation for EventHubClient contains the fairly standard boiler plate. "Any public static (Shared in Visual…
cacsar
  • 2,098
  • 1
  • 14
  • 27
4
votes
2 answers

Azure Queue Peek All Messages

I understand that Azure Queue is not strict FIFO. And Visual Studio Server Explorer shows only 32 messages. I have some 88 messages in the queue. Is it possible to peek through all the messages in an Azure queue with out dequeing any of it?
Srinivas
  • 2,479
  • 8
  • 47
  • 69
4
votes
1 answer

Scale Cloud Service Instance Count via .NET Azure SDK?

I want to scale the instance count of a cloud service worker role up and down programmatically via the .NET Azure SDK. How do I do this? All I have found up to this point is doing this via PowerShell.
kspearrin
  • 10,238
  • 9
  • 53
  • 82
4
votes
1 answer

Connect to Azure to create an Application registration

I'm trying to write a C# console app that will register an application in Azure Active Directory. It should work just as the web application project creation wizard in VS 2013 when you Change Authentication and select Organizational Accounts in…
4
votes
2 answers

Azure SDK 1.8 binds several web roles to the same port on local emulator

After updating azure SDK to 1.8 I'm not able to run our project properly anymore. Looks like local emulator creates IIS application in a wrong way using the same port numbers. The problem can be reproduced if I just create a new Cloud project with…
Vladimir Sachek
  • 1,126
  • 1
  • 7
  • 20
4
votes
2 answers

Upload File with brackets ([ & ]) in the name

I'm moving a ClickOnce install from a regular web server to Azure Blob storage and have a problem with some of the files. The filenames contains [ ] and CloudBlob.UploadFile fails with an exception:…
3
votes
1 answer

Azure : Permission for Service Principal to get list of Service Principals

I am using the Fluent Azure SDK for .NET to try fetching the list of all service principals in the tenant. var authenticatedContext = Azure.Authenticate( await SdkContext.AzureCredentialsFactory.FromServicePrincipal(aadClientId,…
Kiran Ramesh
  • 345
  • 3
  • 15
3
votes
2 answers

How to upload a large file in chunks with parallelism in Azure SDK v12?

In Azure SDK v11, we had the option to specify the ParallelOperationThreadCount through the BlobRequestOptions. In Azure SDK v12, I see that the BlobClientOptions does not have this, and the BlockBlobClient (previously CloudBlockBlob in Azure SDK…
user13308826