tagged [azure]

How to get current user identity in Azure Function with Azure Authentication?

How to get current user identity in Azure Function with Azure Authentication? I have created a new Function App, enabled App Service Authentication / Authorization for it ("") and disabled non-authent...

How to download a file to browser from Azure Blob Storage

How to download a file to browser from Azure Blob Storage I'm already successfully listing available files, but I needed to know how I could pass that file down to the browser for a user to download w...

What are the ways to secure Azure functions

What are the ways to secure Azure functions I have written 5 Azure functions in Azure Portal using c#. Below are the steps to install my application:- - - - - - Above process will be executed on the C...

Azure Function should log or throw exception on error?

Azure Function should log or throw exception on error? I have Azure Function (Http trigger) that can fail. I also have Application Insights configured for it. In case of error (Which is better): 1. Ca...

How to check if Azure Blob file Exists or Not

How to check if Azure Blob file Exists or Not I want to check a particular file exist in Azure Blob Storage. Is it possible to check by specifying it's file name? Each time i got File Not Found Error.

12 Jul at 19:46

Use connectionstring in WebJob on Azure

Use connectionstring in WebJob on Azure Is there an easy way to share connection string between website and WebJob on Azure? The only way I found already is to read web.config from console application...

21 May at 18:44

Create a blob storage container programmatically

Create a blob storage container programmatically I have a requirement whereby on creation of a company an associated blob storage container is created in my storageaccount with the container name set ...

Using authentication token in azure sdk fluent

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

Disable IIS Idle Timeouts in Azure Web Role

Disable IIS Idle Timeouts in Azure Web Role To prevent AppPool recycling every 20 minutes, I'd like to remove IIS AppPool Idle Timeouts when my Azure Web Role starts. My website is a Web Application P...

Azure File Storage: Create nested directories

Azure File Storage: Create nested directories My code looks like this This errors if directories one or two don't exist. Is there a way to create these nested directories with a single call?

31 Dec at 08:0

TableQuery<T> from Azure TableStorage that filters on PartitionKey

TableQuery from Azure TableStorage that filters on PartitionKey I'm trying to abstract geting all entities from a Table by partitionKey, like so: ``` public List GetEntities(string partitionKey, T ent...

How to execute an Azure table storage query async? client version 4.0.1

How to execute an Azure table storage query async? client version 4.0.1 Want to execute queries Async on Azure Storage Client Version 4.0.1 There is NO method ExecuteQueryAsync().. I am missing someth...

Azure Functions - Shared classes

Azure Functions - Shared classes I want to use some shared classes on my Azure Functions to not duplicate code. I have tried to create a empty C# function and create the classes inside the function an...

27 Jul at 08:48

Azure Function Http Trigger validating body data

Azure Function Http Trigger validating body data Is there a way currently to validate objects in Azure functions using something similar to Data Annotations and Model State in the MVC framework? Or wh...

How do I have an Async function that writes out to a service bus queue?

How do I have an Async function that writes out to a service bus queue? Using the Azure WebJobs SDK, I want to create an async function that will receive ServiceBus queue input and write to a ServiceB...

Azure Storage Blob Rename

Azure Storage Blob Rename Is is possible to rename an Azure Storage Blob using the Azure Storage API from a Web Role? The only solution I have at the moment is to copy the blob to a new blob with the ...

14 Jul at 16:52

Service Fabric Reliable Services Pipeline design

Service Fabric Reliable Services Pipeline design I need to implement pipeline if Service Fabric's Reliable Services, and I need some guidelines about what of these approaches is preferable from the vi...

ASP.NET Core + ApplicationInsights Logging Errors as Trace

ASP.NET Core + ApplicationInsights Logging Errors as Trace I am using Microsoft.ApplicationInsights.AspNetCore ([https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore](https://www.nu...

Azure MVC Web Role does not use CSS when run under development fabric

Azure MVC Web Role does not use CSS when run under development fabric When I run either application itself or Azure deployment from Web, my pages are rendered using CSS, but when running the Web role ...

27 Feb at 11:46

How can I create an X509Certificate2 object from an Azure Key Vault KeyBundle

How can I create an X509Certificate2 object from an Azure Key Vault KeyBundle I am using Azure Key Vault to protect our keys and secrets, but I am unsure how I can use the KeyBundle I retrieve using t...

4 May at 16:17

Azure WebJob ServiceBusTrigger for Sessions

Azure WebJob ServiceBusTrigger for Sessions I know it's possible to recieve messages from a service bus queue like: But is there also a way to to receive a session via a trigger attribute? Something l...

How to debug Azure Cosmos DB Stored Procedures?

How to debug Azure Cosmos DB Stored Procedures? I am working with Azure Cosmos DB, I am programming the client side in C# (web service) and I'm writing some server side Stored Procedures with java-scr...

Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet

Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet I was trying to install Azure using `Install-Module Azure` in PowerShell. I got the following error: ``` PS C:\Wind...

Error when connect database continuously

Error when connect database continuously When I am querying from database in continuous looping, after some time I get an error : > An exception has been raised that is likely due to a transient fail...

7 Aug at 22:20

How read all files from azure blob storage in C# Core

How read all files from azure blob storage in C# Core I want to read files from an azure blob storage (the files inside the folder), the blob storage contains many folders. I want to read my folder 'b...