tagged [azure-functions]
Im not able to mock ServiceBusReceivedMessage and ServiceBusMessageActions
Im not able to mock ServiceBusReceivedMessage and ServiceBusMessageActions we want to write unit-test for servicebus message trigger. we are using [Azure.Messaging.ServiceBus](https://www.nuget.org/pa...
- Modified
- 28 Feb at 09:35
Azure functions - should functions be written inside static classes
Azure functions - should functions be written inside static classes I'm starting to try out Azure functions. I'm using Visual Studio 2017 Preview version 15.3. When I right click on the Azure Function...
- Modified
- 3 Sep at 13:51
Clearing history while debugging azure durable functions
Clearing history while debugging azure durable functions Durable functions keep a state in storage, this is what makes them work, but it is very troublesome while debugging and developing. I have a la...
- Modified
- 8 Dec at 07:50
Read custom settings from local.settings.json in Azure functions
Read custom settings from local.settings.json in Azure functions I am trying to retrieve a custom setting from local.settings.json file. Example I am trying to read tables list present in the below lo...
- Modified
- 10 Aug at 07:37
Reference c# class library in my Azure Function
Reference c# class library in my Azure Function Is it possible to reference a c# class library in an Azure Function visual studio project? I am aware of the possibilities to reference external librari...
- Modified
- 13 Dec at 07:22
Azure functions local.settings.json represented in appsettings.json for a ServiceBusTrigger
Azure functions local.settings.json represented in appsettings.json for a ServiceBusTrigger I currently have an azure function using the ServiceBusTrigger binding which uses this local.settings.json f...
- Modified
- 14 Nov at 11:31
Including a file when I publish my Azure function in Visual Studio
Including a file when I publish my Azure function in Visual Studio I know this seems like a simple thing but I can't find any help online. I want to include a file (.html) along with my Azure function...
- Modified
- 6 Jul at 20:52
Is it possible to read File from same folder where Azure function exists
Is it possible to read File from same folder where Azure function exists In my Azure C# function I need to read a .txt file. I make the .txt file in Visual studio and set it to "copy Always". Now I am...
- Modified
- 2 Apr at 02:28
Azure Functions - using appsettings.json
Azure Functions - using appsettings.json Is it possible to use an appsettings.json file in Azure Functions? There is documentation for environment variables here.. [https://learn.microsoft.com/en-us/a...
- Modified
- 24 Sep at 11:46
Availability of HttpClientFactory for Azure Functions v2
Availability of HttpClientFactory for Azure Functions v2 I want to know if HttpClientFactory or similar is available for Azure Functions v2. Below is what is recommended, but HttpClientFactory or simi...
- Modified
- 6 Mar at 13:35
Consuming Server Sent Events in .NET
Consuming Server Sent Events in .NET I am working on a service which consumes SSE from the Validic Inform platform to handle wearable device data, and process it for our other various services. Curren...
- Modified
- 15 Sep at 17:48
How to configure a default JsonSerializerOptions (System.Text.Json) to be used by Azure Function v3?
How to configure a default JsonSerializerOptions (System.Text.Json) to be used by Azure Function v3? I have a set of Azure Functions v3 running on .net core 3.1. I have a custom configuration of `Json...
- Modified
- 7 Mar at 16:56
Generating names for output blobs for an Azure Function
Generating names for output blobs for an Azure Function Using the binding options for an Azure Function one can specify the name of a Blob to be written based on parameters derived from the trigger (e...
- Modified
- 14 Dec at 07:11
Azure Functions and Caching
Azure Functions and Caching We are planning to develop an Azure function for which the input trigger is a service bus message and the output will be blob storage. The service bus message will contain ...
- Modified
- 8 Dec at 22:1
Get root directory of Azure Function App v2
Get root directory of Azure Function App v2 I build an Azure Function App (v2). Configuration tasks necessary for all functions are done in a Setup class that is structured like the following: ``` [as...
- Modified
- 6 Nov at 09:22
Azure Function, EF Core, Can't load ComponentModel.Annotations 4.2.0.0
Azure Function, EF Core, Can't load ComponentModel.Annotations 4.2.0.0 I have created several .Net Standard 2.0 libraries, tested the execution via a console application, as well as several tests - al...
- Modified
- 14 Jan at 17:40
Complex object app settings in Azure Function
Complex object app settings in Azure Function I have these entries in my local.settings.json ``` { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "whateverstorageaccountconnectionstr...
- Modified
- 5 Sep at 01:7
How to get a Shared Access Signature on a Blob using the latest Azure SDK .NET API v12?
How to get a Shared Access Signature on a Blob using the latest Azure SDK .NET API v12? I used to be able to create a shared access signature on a Blob using the v11 Azure SDK API, like this: ``` var ...
- Modified
- 15 Nov at 12:10
Async programming and Azure functions
Async programming and Azure functions In the Azure functions "Performance considerations" part, [Functions Best Practices](https://learn.microsoft.com/en-us/azure/azure-functions/functions-best-practi...
- Modified
- 8 Apr at 22:24
Getting error when upgrading from Serilog.Sinks.ApplicationInsights v3.1 to v4.0
Getting error when upgrading from Serilog.Sinks.ApplicationInsights v3.1 to v4.0 I have an Azure Function that uses Serilog to write to AppInsights with [Serilog AppInsights sink v3.1](https://github....
- Modified
- 22 Jun at 23:22
Accessing Certificate from within a C# Azure function
Accessing Certificate from within a C# Azure function I need to access a certificate from my Azure Function. I followed the steps outlined in [Runtime error loading certificate in Azure Functions](htt...
- Modified
- 23 May at 12:33
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...
- Modified
- 2 Dec at 06:24
HttpClient best practices in Azure Functions
HttpClient best practices in Azure Functions I need to build an Azure Function that: - `HTTP POST`- `HTTP HEAD` I've found some guidance [here](https://github.com/Azure/azure-functions-host/issues/180...
- Modified
- 11 Jul at 02:59
What is the point of writing REST APIs but in Azure Functions?
What is the point of writing REST APIs but in Azure Functions? I've just started following some Azure Function tutorials and digging into this more so I'm quite New to this and my question may seem ve...
- Modified
- 6 Feb at 10:57
Can't get query parameter from HttpRequestData
Can't get query parameter from HttpRequestData I'm upgrading my code from .NET 3.0 to .NET 5.0, this changes the sintaxis quite a bit. In my previous code, which is a http request build in AZURE FUNCT...
- Modified
- 22 Jun at 17:24