Skip to content

Blazor, ASP.Net Core & Framework and Other Dotnet Projects

Notifications You must be signed in to change notification settings

Koushikon/Apps.Dotnet

Repository files navigation

ASP.Net Projects

Visual Studio CodeVisual StudioLines Of Code

Read Through

ASP.Net Web App Razor Pages Sequence:

  1. RazorWeb_I
  2. RazorWeb_II
  3. RazorWeb_III
  4. RazorWeb_IV
  5. RazorWeb_V
  6. RazorWeb_VI

ASP.Net API Sequence:

  1. WebApi_I
  2. TodoApp
  3. TodoApp_Client
  4. WebApi_II
  5. MinimalApi_I

Authentication

BasicAuthentication

  • Server: This Web Api project demonstrate Basic Authentication technique using Http Authorization header.
  • Client: This Web Project Connect to the Server Api Project, Authenticate and retrive the data.

Benchmark_Test

  • The main purpose of this project is to Benchmark some methods and see which one is faster and takes less memory.
  • This Projct implements different ways we can get the Year from a string date.

DI_Demo_2

  • Blazor with Dependency Injection with Different Types and Classes

DI_IDemo_2

  • BlazorWeb: Blazor with Dependency Injection with Different Types and Interfaces
  • MVCWeb: Setp Generic class Services with Dependency Injection and Interfaces
  • BlazorTest: Test the BlazorWeb Code with xUnit.

DI_MVC_Demo

  • Dependency Injection MVC Demo

EditorConfig_Setup

  • Setup a .editorconfig file to Reorganize the Text, Indentation, Naming convention etc.

FileUploading

  • WebApi: This web api project implements large file uploading using Stream instead of bye[] or MemoryStream which take lot of resources on the server.
  • WebMVC:

FluentValidationApp

  • User Input Validation using Nuget Package Fluent Validation.
  • Use Fluent Validation for different Project types Console, WebApp etc.

GCaptcha

  • CaptchaV2: Google Recaptcha v3 use ASP.Net
  • CaptchaV2_AsService: Google Recaptcha v2 use ASP.Net As Services DI (Dependency Injection)
  • CaptchaV3: Google Recaptcha v2 use ASP.Net

Hashids

  • A new way to encode your url parameters with HashIds Package Source
  • This prevents your users data from exposing it makes hard to guess the next id or something.

Htmx_Demo

  • Htmx Implementation Demo with ASP.Net

KestrelServer

  • Customize KestrelServer like Port number, Section Name etc.

LoggingDemo

  • ASP.Net App logging demo with Microsoft Logging.

Minimal_API-Dapper

MinimalApi_I

  • This Project implements ASP.Net Minimal Api with database CRUD operations.
  • This also implements Authentication and Authorization with JWT token.

QR_Builder

  • QR Code builder with ASP.Net Framework

RazorWeb Razor Page Project

  • Shopper a Food delivery system with Microft Identity system, EF Core Toastr alerts, and more.
  • This project implements product showcase page, cart manage, order, payment system and more.

ReadAppsettings.json

  • ReadJsonArray Read Json data from appsettings.json and map that into List of classes using GetSection(), GetChildren(), and more.
  • Web Different way to Read Connection String from Enviroment Variable, appsettings.json etc inside a Controller.

ReadRequestParameters

  • OnHttpGet implements several ways to pass parameters to a HttpGet request.
  • ReadQueryString Read Http URL Query String in different ways in ASP.Net App.

RetriveHostIP

  • Different ways we can get the Client IP address on the Web Server.

TodoApp WebApi App

  • Library and Web_Api Project using Dapper micro-orm for DataAccess of CRUD operation, Api Health-Checks, Token Authentication and Authorization etc.
  • TodosDB This is a Todos Database Project Todo Web API.

TodoApp_Client WebClient App

  • Blz_Web: Build an Blazor App accessing the TodoApp as Api Service to get the data.
  • Blz_SwaggerAuto: OpenApi Generated C# Api Client code.

View Data Binding:

  • This Blazor Project describes use of One Way, Two Way Binding.

WebApi_I

  • API_i Project describes how we should make API Controllers standard practices etc.
  • APIMonitor Project describes logging, Health checking and Monitoring of an API
  • APIProtection Project describes API protection using data validation, caching and IP rate limiting.
  • APISecurity Project describes Authentication & Authorization with Claim, Policy based of an API.
  • APIVersion Project describes implementation of API versioning.
  • Web_i describes Creating an API Controller inside MVC Project useful when API service is small part of the App.

WebApi_II

  • SwaggerApi Project describes adding API, endpoint documentation and use of documentatnion comments also adding Swagger themes.