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 Machine Learning to predict global temperature

20-November-2024

.NET 8 Console App to predict the global temperature using ML.NET with C#

Explore Artificial Intelligence and Machine Learning

This is a console application using Microsoft’s Machine Learning framework ML.NET to predict the global temperatures

Singular Spectrum Analysis (SSA) model for univariate time-series forecasting using the method "ForecastBySsa" of the class "TimeSeriesCatalog" for training the Model

The code at GitHub

.NET 8 Web API with Dapper SQLite and xUnit

11-November-2024

.NET 8 Web 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 Web API Membership system + Email verification - Azure and GH Pages

04-November-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 Core 2.2 Web API with JWT Authentication - Azure and GH Pages

21-October-2024

ASP.NET Core 2.2 Web API with C# consuming from a Vue 3 client using JWT Authentication for Login

The Vue 3 Client is hosted at GitHub Pages

The API is hosted at Microsoft Azure App Service

For the Web API a CI / CD Pipeline was implemented by Azure DevOps and deployed to Azure App Service

A Login system by a Vue 3 and a Angular client / ASP.NET Core 2.2 Web API with C# secured by HTTPS and Authentication by a JWT with the Baerer schema in the Authorization Header


.NET Core 2.2 Web API with Basic Authentication - Azure and GH Pages

21-October-2024

ASP.NET Core 2.2 Web API with C# consuming from a Vue 3 client using Basic Authentication for Login

The API is hosted at Microsoft Azure App Service and the Vue 3 Client at GitHub Pages

For the Web API a CI / CD Pipeline was implemented by Azure DevOps and deployed to Azure App Service

A Login system by a Vue client / ASP.NET Core 2.2 Web API with C# secured by HTTPS and a Basic Authorization Header





A Blog made with Gatsby React and GraphQL