Skip to content
Duende Software

Duende Software

Duende builds IdentityServer — production-grade OpenID Connect, OAuth 2.0, and SAML identity security for .NET applications.

duendesoftware.com
Duende SoftwareDuende Software
CYBERSECURITY AND PRIVACY
OAuth 2.0 Device Flow for Headless and IoT Devices in .NET
When you need a user to sign in on a device that has no browser, or even no keyboard, you use the OAuth 2.0 Device Flow in Duende IdentityServer. The specification calls it the Device Authorization Grant (RFC 8628).
HANDHELD SCANNERSDUENDE IDENTITY SERVER
Duende SoftwareDuende Software
SOFTWARE AND DATA ENGINEERING
All the Ways to Do String Interpolation in C#
C# string interpolation is the cleanest way to build a string from values. You prefix a string with $, drop your expressions inside {}, and the compiler stitches the result together. It reads better than concatenation and runs faster than you might expect. This guide walks through every variant, from the basic $"" to interpolated string handlers, and points out the two places where interpolation will hurt you if you reach for it by habit.
EN USDE DEEF COREADA
Duende SoftwareDuende Software
SOFTWARE AND DATA ENGINEERING
Verifying a Certificate from C#
How do I verify a certificate in C#? If you've ever typed return true; inside a certificate validation callback to get past a local TLS error, you've turned off the thing that made the connection trustworthy in the first place.
NETX 509 CERTIFICATE 2X 509 CERTIFICATE LOADER
Duende SoftwareDuende Software
SOFTWARE AND DATA ENGINEERING
Build and Secure a C# MCP Server with .NET 11 and Duende IdentityServer
For me, the Model Context Protocol (MCP) is a must-have for anyone building applications. MCP lets users access any feature you painstakingly built, whether explicitly or implicitly. Once my imagination comes back to earth, I ask the obvious question: who, exactly, is allowed to call this thing? On my laptop, where the AI harness launches the MCP server as a local subprocess, the answer is the machine boundary. The moment I host the same server over HTTP so that others can reach it, that answer becomes more complicated, and anyone can call my tools, ANYONE (yikes).
MICROSOFTDOTNET
ToolDirectory.AIFello AICYBR.SEC.Media
Duende SoftwareDuende Software
CYBERSECURITY AND PRIVACY
How to Validate JWT Tokens in ASP.NET Core in Offline and Air-Gapped APIs
In a normal ASP.NET Core API, the AddJwtBearer extension method points the Authority property at your Duende IdentityServer instance. On startup, the handler fetches the discovery document at /.well-known/openid-configuration and the JSON Web Key Set (JWKS), caches the validation keys in memory, and from then on validates every incoming token against them. You never think about offline authentication because connectivity and the keys are simply there.
ASPNET CORE