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 REST API doing Authentication by JWT and Refresh Tokens

05-May-2024

Angular client towards a REST 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 Hello World REST API

17-March-2024

A Hello World REST API in .NET 8 with C#

Traditional webhosting is used for this Application

Try the demo...

A Hello World Web API created by VS Code using .NET 8

The Web API at GitHub

.NET 6 REST API Membership system - MS SQL

15-March-2024

.NET 6 REST API with C# using Entity Framework Core + Remote MS SQL for Prod + local SQLite DB for Dev consumed by a Blazor Client serving as a Membership System

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

Try the demo...

- C#
- Registration of Users
- JWT authentication
- CRUD Account management

MS SQL Server is fine for Production

SQLite is local DB and fine for testing locally and small applications

Traditional webhosting is used for this Application


.NET 6 REST API Membership system - SQLite

12-March-2024

.NET 6 REST API with C# using Entity Framework Core + SQLite DB consumed by a Blazor Client serving as a Membership System

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

Try the demo...

- C#
- Registration of Users
- JWT authentication
- CRUD Account management

SQLite is local DB and fine for testing and small applications

Traditional webhosting is used for this Application


Blazor App in .NET 6 + WebAssembly - Display a List

09-March-2024

Blazor App in .NET 6 with C# and WebAssembly - Displays a List

Try the demo...

A Single Page Blazor App developed in .NET 6 with C# and WebAssembly - Displays a List

Traditional webhosting is used for this Application





A Blog made with Gatsby React and GraphQL