Implementing JWT Authentication in ASP.NET Core Web API: Building an Authentication Center

This series provides a concise guide on using JWT (JSON Web Tokens) to create tokens for authentication in an ASP.NET Core Web API. 1. Create a ASP.NET Core Web API Project We'll be using Visual Studio 2019 with .NET Core 3.1. 2. Add JWT Services 2.1 Install the NuGet Package Install System.IdentityModel.Tokens.Jwt via NuGet Package Manager. 2. ...

Posted on Sun, 07 Jun 2026 18:09:41 +0000 by kitcorsa

Building RESTful APIs with ASP.NET Core Minimal APIs

Introduction to Minimal APIs Minimal APIs in ASP.NET Core represent a streamlined approach to building HTTP services. Introduced in .NET 6 and enhanced in subsequent versions, this architectural pattern enables developers to create lightweight, efficient web APIs with minimal boilerplate code. Unlike traditional MVC controllers, Minimal APIs us ...

Posted on Thu, 04 Jun 2026 19:09:27 +0000 by Sandip

Magicodes.IE 2.4 Release with Enhanced Excel Export Features

The latest version 2.4 of Magicodes.IE has been released, incorporating community feedback and continuously improving based on user requirements. Our current release cycle maintains an average of one beta version per week and a stable release monthly. We encourage more developers to contribute by submitting issues and pull requests. Project rep ...

Posted on Sat, 30 May 2026 22:41:58 +0000 by The_Black_Knight

Configuring and Running Taurus.MVC in ASP.NET and ASP.NET Core Environments

Taurus.MVC supports both legacy .NET Framework and modern .NET Core/.NET 5+ runtimes. Developers can integrate the framework either by compiling the source code directly into the solution or by installing pre-compiled assemblies via NuGet. Both approaches require specific runtime configuartions to activate the routing and request processing pip ...

Posted on Sun, 24 May 2026 17:45:25 +0000 by kingcobra96

How Custom Middleware Enters the ASP.NET Core Request Pipeline Execution Queue

How Custom Middleware Enters the ASP.NET Core Request Pipeline Execution Queue 1. Standard Implementation of a Custom Middleware Class public class RequestAuditMiddleware { private readonly RequestDelegate _nextDelegate; // 1. Constructor must accept RequestDelegate as a parameter public RequestAuditMiddleware(RequestDelegate n ...

Posted on Wed, 20 May 2026 21:14:27 +0000 by Natty_Dreadlock

Implementing Backend CAPTCHA Validation with ASP.NET Core and Vue.js

Implemanting Backend CAPTCHA Validation with ASP.NET Core and Vue.js While client-side CAPTCHA logic can be implemented, it often presents security concerns. A more robust approach involves generating and validating CAPTCHA codes on the server side. This method is essential for applications deployed in intranet environments where third-party se ...

Posted on Wed, 20 May 2026 20:46:03 +0000 by kuri7548

Data Storage and Microservices in ASP.NET Core

Understanding HTTP Before diving into REST, you should have a solid understanding of the Hypertext Transfer Protocol (HTTP). HTTP was created in 1989 by Tim Berners-Lee at CERN, the European Organization for Nuclear Rseearch. In the early days of computing, researchers would publish their findings in physical journals, which meant lengthy turna ...

Posted on Wed, 20 May 2026 19:06:03 +0000 by joix

Blazor Components and Application Structure

Understanding Blazor Components Every Razor file in Blazor represents a component. That's the fundamental concept! A Blazor Razor file contains markup and can include C# code within an @code section. Each page in our application is essentially a component, and these components can be composed by nesting other components within them. Any class t ...

Posted on Fri, 15 May 2026 12:39:38 +0000 by MHardeman25

Handling CORS in ASP.NET Core and IIS Environments

Configuring CORS via IIS web.config When hosting an ASP.NET Core application on Internet Information Services (IIS), you can manage Cross-Origin Resource Sharing (CORS) settings directly through the web.config file. This approach is effective when you want the web server to handle preflight requests and header injections before they reach the a ...

Posted on Thu, 14 May 2026 04:18:15 +0000 by blindSpot

Building and Analyzing a Hosted Blazor WebAssembly Solution

Scaffolding the Project with the .NET CLITo create a new hosted Blazor WebAssembly project using the command line, open a terminal and navigate to your desired output directory. Execute the following command, which specifies the blazorwasm template, includes the --hosted flag to generate an accompanying ASP.NET Core server project, and outputs ...

Posted on Sun, 10 May 2026 14:36:55 +0000 by perpetualshaun