Get Started with ASP.NET Core: Security and Identity Management
Published on November 19, 2021New to ASP.NET Core and Auth0 by Okta?
ASP.NET Core is an open-source web framework for building many types of applications, including web APIs. ASP.NET Core helps developers build applications that are secure by design. The web framework offers developers many useful classes and services that enable them to write secure code, use cryptography correctly, and implement role-based security. You can integrate the Auth0 Identity Platform with ASP.NET Core's security features to deliver a balance between security, privacy, and convenience to your users.
Auth0 handles billions of login transactions each month. That's only possible because Auth0 is committed to solving complex identity problems by empowering developers with tools that meet their unique security needs and requirements.
Quickstarts
ASP.NET Core Interactive Quickstart
This interactive guide demonstrates how to integrate Auth0 with any new or existing ASP.NET Web API application using the Microsoft.AspNetCore.Authentication.JwtBearer package.ASP.NET Core API: Authorization
This document demonstrates how to add authorization to an ASP.NET Core Web API application using the standard JWT middleware.ASP.NET Core API: Using your API
This document shows you how to use a secured ASP.NET Core.ASP.NET Core API: Troubleshooting
This document will help you troubleshoot your Auth0 configuration if you get unexpected responses from your secured ASP.NET Core API.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.Developer Guides
Blog Posts
Role-Based Authorization for ASP.NET Web APIs
What is the best way to apply Role-Based Access Control (RBAC) to your ASP.NET Web API? Let's find out together.Permission-Based Security for ASP.NET Web APIs
Checking user permissions allows you to have more control over access to your ASP.NET Web API.Securing Razor Pages Applications with Auth0
Learn how to add authentication to your ASP.NET Razor Pages application using Auth0.Securing gRPC-based Microservices in .NET Core
Learn how to add authentication and authorization to gRPC for microservices in .NET Core.Secrets Access with Managed Identities in .NET Applications
How to securely access secrets stored in the Azure Key Vault service using the new Azure SDK and managed identities.