azure-functions

20 items tagged with "azure-functions"

19 Articles
1 Diagram

Articles

Mount Azure File Share to Azure App Service or Azure Functions Linux Container Apps

This code snippet shows you how to mount Azure Storage file share as a local drive in a Linux container app hosted in Azure App Service or Azure Functions. Outline of the code The code snippet does the following: Create a storage account Create file service Create a file share Create an App Service resource with Linux container Mount the file share to the app For .NET 8 containers If you use .NET 8 images that runs without root permissions, please mount the file share to path under /home. Otherwise, you may encounter errors like the following when deploying to Azure: "message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/\\\/resourceGroups/\\\/providers/Microsoft.Resources/deployments/kontext-web","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InternalServerError","message":"There was an unexpected InternalServerError. Please try again later. x-ms-correlation-request-id: \\\*"}

2023-12-26
Microsoft Azure

Azure Function App - Failed to start a new language worker for runtime: dotnet-isolated

2023-09-27
Microsoft Azure

Deploy Azure Function App with .NET 8 to Azure Container Apps via Bicep

Azure Function App can now be deployed into Azure Container Apps managed environment. This code snippet shows you how to deploy an Azure Function App created with .NET 8 (dotnet-isolated as runtime) into a managed environment of Azure Container Apps. The container source image is from GitHub (ghcr.io). You can also use any other container registry. Resources created This Bicep template creates the following resources: Blob Storage account Azure Log Analytics workspace Azure Application Insights Azure Container Apps managed environment Azure Function App Required credential You need to provide a container registry user name and password if you are using private registry. This template uses GitHub Packages.

2023-09-16
Microsoft Azure

Creating Azure Function App with .NET 8 - Bicep Example

.NET 8 preview 7 is now supported for Azure Functions Linux consumption plan when creating dotnet-isolated function app. This code snippet shows you how to create a Function App using .NET 8. The key part is to change linuxFxVersion to 'DOTNET-ISOLATED|8.0'.

2023-09-04
Microsoft Azure

Azure.RequestFailedException: The value for one of the HTTP headers is not in the correct format

2022-07-01
Microsoft Azure

.NET 6 Azure Functions Isolated: An error occurred while loading required library hostpolicy.dll

2021-11-15
Microsoft Azure

Azure Functions Error - 'System.OutOfMemoryException' was thrown

2021-10-15
Cloud Computing Forum

APPLICATIONINSIGHTS_CONNECTION_STRING or APPINSIGHTS_INSTRUMENTATIONKEY is defined but the Application Insights Extension is not installed

2021-10-15
Cloud Computing Forum

Azure DevOps - Configure Web or Function App Settings

2021-09-25
Microsoft Azure

Azure Functions: Timeout value of 00:05:00 exceeded by function

2021-09-17
Microsoft Azure

Build Azure Functions V4 with .NET 6

2021-09-11
Microsoft Azure

Port 7071 is unavailable. Close the process using that port, or specify another port using --port [-p]

2021-09-10
Microsoft Azure

Azure DevOps - Configure Connection Strings for Azure Function App

2021-09-05
Microsoft Azure

Use Entity Framework in .NET 5 Azure Functions

2021-08-24
Microsoft Azure

Read Environment Variables in .NET Azure Functions

2021-08-24
Code Snippets & Tips

Dependency Injection and Use appsettings.json in .NET 5 Azure Functions

2021-08-24
Microsoft Azure

Create Blob Triggered Azure Functions using .NET 5

2021-08-24
Microsoft Azure

Fix .NET 5 Azure Functions Build Error on Azure DevOps

2021-08-21
Microsoft Azure

Resolve - Azure Function App Publish Specific Target Not Existing in VS2019

2021-08-21
Microsoft Azure

Diagrams