tagged [azure]

Azure Functions how to add application settings to bindings

Azure Functions how to add application settings to bindings I'm trying to add some custom binding using my app settings for my Azure Function. I need to receive only string a string from my settings. ...

Azure Storage Table Paging

Azure Storage Table Paging To implement paging in Azure Storage in relatively straight forward: [Paging with Windows Azure Table Storage](http://scottdensmore.typepad.com/blog/2010/04/paging-with-wind...

Add Cache-Control and Expires headers to Azure Storage Blobs

Add Cache-Control and Expires headers to Azure Storage Blobs I'm using Azure Storage to serve up static file blobs but I'd like to add a Cache-Control and Expires header to the files/blobs when served...

How do you update sub-document in cosmos db

How do you update sub-document in cosmos db I am new to Cosmos Db and want to understand how to delete/upsert sub-documents within a document collection. If i have a document: `{ "Id": "1234", "Name":...

9 May at 02:13

Unexpected response code from CloudTable.ExecuteBatch(..)

Unexpected response code from CloudTable.ExecuteBatch(..) When trying to do a batch insert to Azure Table Storage, I am getting a `StorageException` on `CloudTable.ExecuteBatch()`: > Microsoft.Windows...

How do I save byte arrays i.e. byte[] to Azure Blob Storage?

How do I save byte arrays i.e. byte[] to Azure Blob Storage? I know how to save Streams, but I want to take that stream and create thumbnails and other sized images, but I don't know how to save a byt...

27 Feb at 14:56

Run triggered Azure WebJob from Code

Run triggered Azure WebJob from Code I created a console application upload as Azure trigger Webjob. It is working fine when I run it from Azure Portal. I want to run this from my C# code. I don't wan...

13 Jul at 08:11

Uploading blockblob and setting contenttype

Uploading blockblob and setting contenttype I'm using `Microsoft.WindowsAzure.Storage.*` library from C#. This is how I'm uploading things to storage: ``` // Store in storage CloudStorageAccount stora...

Dependency injection using Azure WebJobs SDK?

Dependency injection using Azure WebJobs SDK? The problem is that the Azure WebJobs SDK supports only public static methods as job entry-points which means there is no way of implementing constructor/...

Authorize By Group in Azure Active Directory B2C

Authorize By Group in Azure Active Directory B2C I am trying to figure out how to authorize using groups in Azure Active Directory B2C. I can Authorize via User, for example: However, this is not very...

24 Jan at 21:13

Checking if a blob exists in Azure Storage

Checking if a blob exists in Azure Storage I've got a very simple question (I hope!) - I just want to find out if a blob (with a name I've defined) exists in a particular container. I'll be downloadin...

21 Sep at 05:29

Replace the Contents inside Azure Storage

Replace the Contents inside Azure Storage Is there are any way to replace a file if the same name exists? I can't see any replace method in Azure Storage. Here is my code: ``` var client = new CloudBl...

26 Feb at 15:17

Copy blob between storage accounts

Copy blob between storage accounts I'm trying to copy a blob from one storage account to another (In a different location). I'm using the following code: ``` var sourceContainer = sourceClient.GetCont...

13 Apr at 13:21

Azure Table Storage CreateQuery in .NET Core

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 Framewo...

Run .exe executable file in Azure Function

Run .exe executable file in Azure Function I have executable abcd.exe (it contains/merged with many .dll). Is it possible to create Azure Function for abcd.exe and run it in Azure Cloud Functions? The...

29 Sep at 16:17

Where can I get a list of Unicode chars by class?

Where can I get a list of Unicode chars by class? I'm new to learning Unicode, and not sure how much I have to learn based on my ASCII background, but I'm reading [the C# spec on rules for identifiers...

18 Sep at 17:22

How to achive more 10 inserts per second with azure storage tables

How to achive more 10 inserts per second with azure storage tables I write simple WorkerRole that add test data in to table. The code of inserts is like this.

22 Jul at 05:15

CloudConfigurationManager.GetSetting returning null

CloudConfigurationManager.GetSetting returning null Following instructions [here](http://www.windowsazure.com/en-us/develop/net/how-to-guides/table-services/) I have: But `connectionString` is `null`,...

20 Oct at 18:46

How can I do ModelBinding with HttpTrigger in Azure Functions?

How can I do ModelBinding with HttpTrigger in Azure Functions? I need to create an Azure Function that responds to a HTTP POST, and leverages the integrated model binding. How can I modify this ``` [F...

How to cast Azure DocumentDB Document class to my POCO class?

How to cast Azure DocumentDB Document class to my POCO class? Is there a way to cast the `Microsoft.Azure.Documents.Document` object to my class type? I've written an Azure Function class, with a `Cos...

18 Jul at 21:14

Azure Durable function - InvalidOperationException when CallActivityAsync

Azure Durable function - InvalidOperationException when CallActivityAsync I'm playing around with the [Azure Durable functions](https://learn.microsoft.com/en-us/azure/azure-functions/durable-function...

How do I use Microsoft Application Insights with NLog (Target cannot be found: 'ApplicationInsights')

How do I use Microsoft Application Insights with NLog (Target cannot be found: 'ApplicationInsights') I am using `Microsoft Application Insights` for my Web Application. I used the Application Insight...

Azure ServiceBus Message Serialization/Deserialization

Azure ServiceBus Message Serialization/Deserialization I am using a .NET Core application to send an object through an Azure Service Bus Queue and have it received by a Web Job (.NET Core as well.) My...

Razor Service Stack on Azure

Razor Service Stack on Azure I'm liking a lot what I see about Service Stack, and want to use it with Azure. I found the following project and it compiles ok, but there is either something not mention...

Blob metadata is not saved even though I call CloudBlob.SetMetadata

Blob metadata is not saved even though I call CloudBlob.SetMetadata For a few hours I've been trying to set some metadata on the blob I create using the Azure SDK. I upload the data asynchronously usi...