{"id":31033343,"url":"https://github.com/steadybit/failure-azure-functions-net","last_synced_at":"2025-09-14T01:50:39.980Z","repository":{"id":303808167,"uuid":"1016080878","full_name":"steadybit/failure-azure-functions-net","owner":"steadybit","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T13:26:16.000Z","size":72,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T17:42:17.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steadybit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-08T13:10:19.000Z","updated_at":"2025-09-08T11:51:14.000Z","dependencies_parsed_at":"2025-07-09T14:53:42.235Z","dependency_job_id":"371e3eab-2dca-427d-a841-722dcb272480","html_url":"https://github.com/steadybit/failure-azure-functions-net","commit_stats":null,"previous_names":["steadybit/failure-azure-functions-net"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/steadybit/failure-azure-functions-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Ffailure-azure-functions-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Ffailure-azure-functions-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Ffailure-azure-functions-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Ffailure-azure-functions-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steadybit","download_url":"https://codeload.github.com/steadybit/failure-azure-functions-net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadybit%2Ffailure-azure-functions-net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275051642,"owners_count":25396978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-14T01:50:37.783Z","updated_at":"2025-09-14T01:50:39.955Z","avatar_url":"https://github.com/steadybit.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steadybit .NET Middleware for Azure Functions\n\n## Description\n\nSteadybit .NET Middleware for Azure Functions injects the faults during Azure Function execution.\nIt utilizes Azure App Configuration for managing the injection parameters.\n\n## Prerequisites\n\n- .NET 8+\n- Azure Functions use Isolated Worker model\n- No usage of ASP.NET abstractions in Azure Functions (required for status code injection)\n\n## Setup\n\nTo use Steadybit .NET Middleware for Azure Functions the following NuGet package is required:\n\n```\ndotnet add package Steadybit.FaultInjection\n```\n\n### Azure Functions\n\nIn ```Program.cs``` add the following configuration:\n\n```\nbuilder.Configuration.AddAzureAppConfiguration(options =\u003e\n{\n    options\n        .Connect(new Uri(endpoint), new DefaultAzureCredential())\n        .ConfigureSteadybitFaultInjection();\n});\n\nbuilder.Services.AddSteadybitFailureServices();\nbuilder.UseMiddleware\u003cSteadybitInjectionMiddleware\u003e();\n```\n\n### ASP.NET\n\nIn ```Program.cs``` add the following configuration:\n\n```\nbuilder.Configuration.AddAzureAppConfiguration(options =\u003e\n{\n    options\n        .Connect(new Uri(endpoint), new DefaultAzureCredential())\n        .ConfigureSteadybitFaultInjection();\n});\n\nbuilder.Services.AddSteadybitFailureServices();\nbuilder.Services.AddAzureAppConfiguration();\n\nvar app = builder.Build();\n\napp.UseAzureAppConfiguration();\napp.UseMiddleware\u003cSteadybitMiddleware\u003e();\n```\n\nThe middleware requires ```App Configuration Data Reader``` role to read the configuration entries from the Azure App Configuration.\n\n\n## Example\n\nCheck out the example in the ```SteadybitHttpTrigger``` folder inside of this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteadybit%2Ffailure-azure-functions-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteadybit%2Ffailure-azure-functions-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteadybit%2Ffailure-azure-functions-net/lists"}