azure-functions-host
azure-functions-host | Azure-Functions | |
---|---|---|
13 | 4 | |
1,901 | 1,096 | |
0.3% | 0.3% | |
9.4 | 0.0 | |
3 days ago | 9 days ago | |
C# | PowerShell | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
azure-functions-host
- Default function key changes every month
-
Serilog in ASP.NET Core 7.0 – Structured Logging using Serilog in ASP.NET Core 7.0
True but I was baffled to find out that structured logging simply doesn't work in Azure Functions in Isolated Mode! The solution is to use Serilog.
-
Monitoring App Service certificate expiration dates using Azure Functions
Investigating and reporting issues with timer triggered functions not firing
-
Discovering Azure's unannounced breaking change with Cosmos DB
As someone whose job involves maintaining uptime of a critical system that's dependent on Cosmos DB this sort of thing is scary. Where there's been other reliability issues with Cosmos before we've not had an understanding customer base, and it feels very out of my control.
I'm finding a lot of the reliability guarantees of Azure PaaS services are overblown or come with big caveats when you start to work with them in a serious way. For example I've had some bad reliability issues with Azure Functions not firing, or the hosts becoming unresponsive. And it seems like there's a large set of outstanding issues with them beyond that https://github.com/Azure/azure-functions-host/issues
I think people need to look more carefully at these PaaS guarantees and look at what that 99.999% reliability Microsoft are claiming actually means.
-
C# : System.OperationCanceledException: The operation was canceled
See the answers of this issue on GitHub.
-
Serverless Go with Azure Functions and GitHub Actions
Before we move on, so what really is a custom handler and how does it work? Custom handlers let your Function app to accept events (eg. HTTP requests) from the Global host (aka Function host - that powers your Function apps) - as long as your chosen language supports HTTP primitives.
-
The problem(s) with Azure Functions
Functions can be triggered in multiple ways: HTTP, Queue, Db, Blob Storage Change and many more. More on this can be found here. This was one of the major reasons why I thought Azure Functions are great. I mostly needed the HTTP and Queue trigger. With HTTP functions comes also the requirement for Authentication and Authorization. I'm using Auth0 as an authentication provider. The implementation is usually straightforward. The frontend obtains an access token and the API validates the token and authenticates the request. OpenID connect is well documented and somewhat easy to use in asp.net core for example. Not with Azure Functions I googled for days, opened an issue and tried everything I could think of and came to the conclusion: Microsoft doesn’t provide you with proper SDKs to handle authentication adequately.
-
Should I use odbc lib or azure sql binding to query azure sql in a python azure function?
ODBC drivers in most (if not all) cases are slower than native libraries. I didn't check what does binding for python uses, you can check their repo if you want to https://github.com/Azure/azure-functions-host
- FAQ for ARM beginners
-
Bind Azure Functions to SAP Event Mesh … What?
Technically the Azure Function host reaches out to a CDN and installs the function based on some constants hidden in the Azure Functions Host (see https://github.com/Azure/azure-functions-host/blob/9bdb40b2d517f32c5052956ba8c9cf662ea36a9e/src/WebJobs.Script/ScriptConstants.cs => search for ExtensionBundleDefaultSourceUri)
Azure-Functions
-
Running Powershell Scripts on Azure
Also found a table comparing the two. It's from a few years back though, so double check the figures inside: https://github.com/Azure/Azure-Functions/issues/193
-
F# App Stub for AKS hosting (with WebJobs but without Azure Functions fluff)
With greater control comes bigger responsibility, however you can see from the above that the required code is not only relatively easy to grasp and maintain, but it offers much more! For example, background services can be injected nicely, and a lot of additional HostBuilder functionality can be used - there are tons of Q&As and documentations online. Last but not least, after migrating from Azure Functions v3 to the above "custom .NET host" we experienced a 50% drop in memory consumption of the AKS pods which I believe is attributable to the removed Azure Functions bloat, so that was another bonus for us.
-
Use Azure Kubernetes Service (AKS) + Traefik instead of Azure Functions hosting + Azure API Management
Network security for the underlying Storage Account - some people are still not able in 2021 to secure the required by Azure Functions runtime storage account ... this has been a major oustanding issue for the past several years, and even though MS have finally fixed that I am not 100% sure if it has been rolled out everywhere ...
-
Setting up the Azure Environment
Note: There are limitations with Linux App Service plans when using consumption based Function Apps (as we will later in this tutorial), so we are using Windows. If we were to use two Resource Groups to separate this App Service plan from the Function App then we could use Linux for our hosting. For more information see this wiki
What are some alternatives?
azure-functions-extension-bundles - Azure Functions Extension Bundles
azure-functions-nodejs-worker - The Node.js worker for the Azure Functions runtime - https://functions.azure.com
letsencrypt-siteextension - Azure Web App Site Extension for easy installation and configuration of Let's Encrypt issued SSL certifcates for custom domain names.
azure-webjobs-sdk - Azure WebJobs SDK
app-service-announcements-discussions - Discussions for announcements from https://github.com/Azure/app-service-announcements/
azure-keyvault-secret-expirationdate-checker - Azure Function/KeyVault sample code: certificate expiration date checker
SAPEventMeshCustomBinding - Custom Output Binding of Azure Functions to SAP Event Mesh
app-service-announcements - Subscribe to this repo to be notified about major changes in App Service
SAPEventMeshCustomBindingSampleFunction - Sample Function to demo Custom Output Binding of Azure Functions to SAP Event Mesh
azure-functions-proxy - A simple dynamic http proxy built using azure functions
azure-functions-set-nodejs-version - Test lab consisting of 4 function apps to test switching of Node.js version in Azure Functions