The ASP.NET Core Code Samples can help you learn by example how Auth0 by Okta integrates with the ASP.NET Core Web API. However, if you want to learn by doing, you can follow any of the Auth0 ASP.NET Core Developer Guides.
The Developer Guides give detailed instructions on how to integrate Auth0 with ASP.NET Core Web APIs written in C# to cover a wide array of use cases, such as using access tokens to protect API endpoints.
You may also visit "Get Started with ASP.NET Core" to explore other developer resources that can get you up and running with using Auth0 in ASP.NET Core, such as quickstarts, SDK libraries, blog posts, and videos.
ASP.NET Core Authorization Code Samples
ASP.NET Core Code Sample:Web API Authorization
Code sample of a simple ASP.NET Core server that implements token-based authorization using Auth0.ASP.NET Core v5 Code Sample:Web API Authorization
Code sample of a simple ASP.NET Core v5.0 server that implements token-based authorization using Auth0.ASP.NET Core Code Sample:Web API Role-Based Access Control
Code sample of a simple ASP.NET Core server that implements Role-Based Access Control (RBAC) using Auth0.ASP.NET Core v5 Code Sample:Web API Role-Based Access Control
Code sample of a simple ASP.NET Core v5.0 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: