ASP.NET

Learn how to integrate Wristband with your ASP.NET application.

This quickstart guide will walk you through how to integrate your ASP.NET application with Wristband using the Backend Server Integration Pattern.


Goals

After completing this guide, you will have learned to do the following:

  • Integrate your C# backend with Wristband utilizing Wristband's ASP.NET Auth SDK.
  • Implement basic session management with your C# backend.
  • Connect a React frontend to your C# backend utilizing Wristband's React Client Auth SDK.
  • Implement Cross-Site Request Forgery (CSRF) protection.
  • Handle refreshing expired access tokens.

Prerequisites

  • .NET SDK (6.0 or later)
  • ASP.NET Core (6.0 or later)
  • A package manager such as NuGet
  • React (vanilla or NextJS)

Set Up ASP.NET Core

If you are starting your app from scratch, you will need to set up an ASP.NET Core project by following the official documentation.


What’s Next

After your ASP.NET project is set up, you'll need to install the Wristband Auth SDK.