New to .NET and Auth0?
The Auth0 .NET Code Samples can help you learn by example how Auth0 integrates with .NET web APIs. However, if you want to learn by doing, you can follow any of the Auth0 .NET Developer Guides from the ".NET Web API: Security and Identity Management" section.
The Developer Guides give detailed instructions on how to integrate Auth0 with .NET Web APIs written in C# to cover a wide array of use cases, such as using access tokens to protect API endpoints.
.NET Authorization Code Samples
.NET/C# Web API: Authorization Code Sample
Code sample of a simple .NET server that implements token-based authorization using Auth0..NET/C# Web API: Role-Based Access Control Code Sample
Code sample of a simple .NET server that implements Role-Based Access Control (RBAC) using Auth0.Additional Resources
If you are new to identity and security, check out any of the following resources to get started:
Ready to secure your apps?
Get Auth0 for free with up to 7,000 active users and unlimited logins.