active-directory-dotnet-native-aspnetcore-v2
Build a protected ASP.NET Core API called from a WPF client.
Build a protected ASP.NET Core API called from a WPF client.
This progressive sample shows how to protect an ASP.NET Core Web API with the Microsoft identity platform and call it from a WPF desktop application after user sign-in. Later chapters add on-behalf-of access to Microsoft Graph, personal Microsoft accounts, and proof-of-possession tokens. Running the examples requires .NET and Visual Studio on Windows, a Microsoft Entra tenant, and an eligible user account, so it is intended as learning material rather than a finished application.
Resource types
Use cases
Protocols & integrations
Add sign-in, API calls, and authorization to ASP.NET Core web apps.
Make coding agents consult live Tensorlake documentation before writing SDK code.
Audience
Public GitHub facts last synced Jul 14, 2026.
Learn how a WPF app signs in users and calls Microsoft Graph.
Guide Claude Code through modern Solana dApp and on-chain program development.