![]() |
VOOZH | about |
dotnet add package Duende.BFF.Yarp --version 4.2.0
NuGet\Install-Package Duende.BFF.Yarp -Version 4.2.0
<PackageReference Include="Duende.BFF.Yarp" Version="4.2.0" />
<PackageVersion Include="Duende.BFF.Yarp" Version="4.2.0" />Directory.Packages.props
<PackageReference Include="Duende.BFF.Yarp" />Project file
paket add Duende.BFF.Yarp --version 4.2.0
#r "nuget: Duende.BFF.Yarp, 4.2.0"
#:package Duende.BFF.Yarp@4.2.0
#addin nuget:?package=Duende.BFF.Yarp&version=4.2.0Install as a Cake Addin
#tool nuget:?package=Duende.BFF.Yarp&version=4.2.0Install as a Cake Tool
Securing SPAs and Blazor WASM applications once and for all.
Welcome to the official GitHub repository for the Duende Backend for Frontend (BFF) Security Framework!
Duende.BFF is a framework for building services that solve security and identity problems in browser based applications such as SPAs and Blazor WASM applications. It is used to create a backend host that is paired with a frontend application. This backend is called the Backend For Frontend (BFF) host, and is responsible for all of the OAuth and OIDC protocol interactions. Moving the protocol handling out of JavaScript provides important security benefits and works around changes in browser privacy rules that increasingly disrupt OAuth and OIDC protocol flows in browser based applications. The Duende.BFF library makes it easy to build and secure BFF hosts by providing session and token management, API endpoint protection, and logout notifications.
Duende.BFF can be extended with:
Duende.BFF supports a wide range of security scenarios for modern applications:
If you're ready to dive into development, check out our Quickstart Tutorial for step-by-step guidance.
For more in-depth documentation, visit our documentation portal.
The Hosts.AppHost project is an Aspnet Aspire project that launches all dependencies. For example, it starts an identity server and various ways that the BFF can be configured. Use this to test if the functionality is still working.
There's also an integration test project covering this. This project can run in 3 modes:
Starting the host can be done via the UI (set as startup project using 'HTTPS' as the launch profile). It can also be started from the command line (which makes iterating over the tests faster) Running it with configuration release means you can compile / modify the tests while keeping the dev server running.
dotnet run -p samples/Hosts.AppHost --Configuration Release
Duende.BFF is source-available, but requires a paid license for production use.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Duende.BFF.Yarp:
| Package | Downloads |
|---|---|
|
Elvia.Elvid.Bff.UserClient
Package Description |
|
|
Vertiq.Features.Duende
A highly modular framework for writing Blazor applications with a hassle-free, vertical-sliced architecture - Easy. Flexible. Focused. |
|
|
Vertiq.Hosting.BlazorServerSecurity
A highly modular framework for writing Blazor applications with a hassle-free, vertical-sliced architecture - Easy. Flexible. Focused. |
Showing the top 4 popular GitHub repositories that depend on Duende.BFF.Yarp:
| Repository | Stars |
|---|---|
|
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
|
damikun/trouble-training
FullStack DDD/CQRS with GraphQL workshop including distributed tracing and monitoring. This shows the configuration from React frontend to .Net backend.
|
|
|
ardalis/WebApiBestPractices
Resources related to my Pluralsight course on this topic.
|
|
|
youssefbennour/AspNetCore.Starter
A modular-monolith ASP.NET Core starter inspired by Evolutionary-architecture
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.2.0 | 2,866 | 6/10/2026 |
| 4.2.0-preview.1 | 59 | 5/28/2026 |
| 4.1.2 | 81,615 | 3/13/2026 |
| 4.1.1 | 94,449 | 2/18/2026 |
| 4.1.1-rc.1 | 82 | 2/9/2026 |
| 4.1.0 | 13,905 | 1/29/2026 |
| 4.0.3 | 647 | 1/29/2026 |
| 4.0.2 | 35,637 | 1/13/2026 |
| 4.0.1 | 14,483 | 12/12/2025 |
| 4.0.0 | 25,298 | 12/2/2025 |
| 4.0.0-rc.4 | 956 | 11/12/2025 |
| 4.0.0-rc.3 | 1,948 | 10/17/2025 |
| 4.0.0-rc.2 | 3,860 | 9/26/2025 |
| 4.0.0-rc.1 | 3,479 | 7/24/2025 |
| 4.0.0-preview3 | 627 | 7/16/2025 |
| 4.0.0-preview2 | 1,200 | 6/13/2025 |
| 3.1.0 | 100,281 | 12/2/2025 |
| 3.1.0-rc.1 | 315 | 11/12/2025 |
| 3.1.0-preview.2 | 145 | 10/17/2025 |
| 3.1.0-preview.1 | 170 | 10/16/2025 |