View the Projects by pagnition

A Blog full of Web Projects

View the Projects by the navigation at the bottom of the Page sorted by Date...


.NET 8 Web API doing Authentication by JWT and Refresh Tokens

05-May-2024

Angular client towards a Web API by .NET 8 with C# using JWT and Refresh Tokens for Authentication

Traditional webhosting is used for this Application

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

Tech used for building the Web App

  • C#
  • The .NET 8 Web API is hosted at a traditional Webhotel
  • The Angular Client is hosted at a traditional Webhotel
  • SQLite 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

By using JWT + Refresh Tokens the security will be improved. The JWT can have a reduced time to live and therefor less likely to be stolen


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

03-May-2024

.NET 8 Web 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

.NET 8 Web API Membership system + Email verification

02-May-2024

.NET 8 Web API with C# using Entity Framework Core + SQLite consuming an Angular 14 Client - 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 a traditional Webhotel
  • The Angular Client is hosted at a traditional Webhotel
  • SQLite 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

.NET 8 Web API with Basic Authentication

23-April-2024

Blazor ( .NET 6 ) and Vue 3 clients towards a Web API by .NET 8 with C# using Basic Authentication

Traditional webhosting is used for this Application

A Basic Auth Web API created by VS Code using .NET 8 with Blazor and Vue 3 Clients + Pinia + Vite


.NET 8 Web API with JWT Authentication

23-April-2024

Blazor ( .NET 6 ) and Vue 3 clients towards a Web API by .NET 8 with C# using JWT Authentication

Traditional webhosting is used for this Application

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

A JWT Auth Web API created by VS Code using .NET 8 with C# with Blazor and Vue 3 Clients + Pinia + Vite





A Blog made with Gatsby React and GraphQL