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 with Dapper SQLite and xUnit

11-November-2024

.NET 8 REST API with C# and Dapper ORM + SQLite DB consuming an Angular 14 Client + Unit Testing

Unit Testing:

  • xUnit - Used with one of the .NET Web API
  • Karma + Jasmine - Used with the Angular Client

Coverage Reports are generated for visualize the result of Unit Testing ( .NET based xUnit )

Try the demo...

Dapper is a lightweight Micro-ORM which can be an alternative to Entity Framework Core ORM

SQLite is local DB and fine for testing and small applications

Traditional webhosting is used for this Application


.NET 8 REST API Membership system + Email verification

13-October-2024

.NET 8 REST 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 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 using MSSQL

15-March-2024

.NET 6 REST API with C# using Entity Framework Core + Remote MSSQL 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

MSSQL 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





A Blog made with Gatsby React and GraphQL