A Blog full of Web Projects

A Blog full of Web Projects

.NET 8 REST API Membership system + Email verification - Azure and GH Pages

25-November-2024

.NET 8 REST API at Azure with C# using Entity Framework Core + MS SQL consuming an Angular 14 Client at GH Pages - serving as a Membership System

Unit Testing:

  • Karma + Jasmine - Used with the Angular Client

Try the demo...

The Web API was made without the ASP.NET Core Identity using custom JWT middleware

Functionality of the Web App

  • JWT authentication with Refresh Tokens
  • Refresh token rotation
  • Revoked token reuse detection
  • Email sign up and verification
  • Forgot password and reset password functionality
  • Role based authorization with two roles "User" and "Admin"
  • CRUD Account management routes with role based access control

Tech used for building the Web App

  • C#
  • The .NET 8 Web API is hosted at Azure App Service
  • DevOps by Azure App Service + Repos for the .NET 8 Web API
  • The Angular Client is hosted at GH Pages
  • DevOps by GitHub Actions + Pages for the Angular Client
  • MS SQL as the Database for both Dev + Prod
  • CORS Policy implemented by .NET
  • JWT Token for access secure routes
  • Refresh Token by HTTP only Cookie to generate new JWT Tokens
  • Swagger API documentation with routes
A Blog made with Gatsby React and GraphQL