Articles by Tag #middleware

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Next.js Middleware: Simple Guide to Control Requests

Middleware is a powerful concept in web development that allows you to run code before or after a...

Learn More 21 1Sep 4 '24

Adding Logging and Error Handling Middleware to Your Go API

Quick Note: If you checked out my previous post on JWT authentication and noticed some rendering...

Learn More 20 0Oct 5 '24

Hacking Hono: The Ins and Outs of Validation Middleware

Hono’s type system is one of its greatest strengths. If you don’t take some time to understand the...

Learn More 9 0Feb 3

Understanding Request Handling Functions in .NET – Use(), Map(), and Run()

When building web applications in .NET, middleware plays a big role in handling incoming requests. In...

Learn More 5 0May 29

How to quickly add API Key validation to a Node Express API

In this example, we’ll create a simple middleware for Express using the excellent AuthAPI's key...

Learn More 4 0Nov 5 '24

Extending Prisma ORM with Custom Middleware: Logging, Validation, and Security

What Will This Blog Cover? In this blog, we will: Explain what middleware is and how it...

Learn More 3 0Jul 13 '24

Understanding the Next.js Middleware Bypass Vulnerability (CVE-2025-29927): A Deep Dive into CVE with CVSS 9.1

March 25, 2025 Next.js, the popular React-based framework developed by Vercel, has long been a...

Learn More 3 2Mar 25

Building a middleware with Nextjs

In this short article, i will be writing about how to build a middleware with nextjs. I recently...

Learn More 3 0Aug 12 '24

Understanding NestJS Middleware

Middleware in NestJS is a powerful tool that allows you to execute functions before reaching the...

Learn More 3 0Jul 22 '24

Security Issue in Next.js Middleware: What You Need to Know

Hey developers! 👋 If you're using Next.js, there's something important you should know—a recent...

Learn More 3 0Mar 29

Middleware in Lithe: How It Works and How to Create Your Own

Middleware provides a convenient mechanism for inspecting and filtering HTTP requests entering your...

Learn More 2 0Oct 24 '24

Como resolvi a vulnerabilidade de SQL Injection hoje...

E aí, devs! Hoje precisava solucionar alguns pontos de vulnerabilidade de SQL injection de um...

Learn More 2 0Jun 2

How to Build Scalable Middleware with Express.js

Learn how to design scalable and efficient middleware in Express.js to build robust and maintainable web applications.

Learn More 2 0Nov 28 '24

O que são Middlewares em APIs .NET?

Se você já trabalhou com APIs em .NET, provavelmente já ouviu falar sobre Middlewares. Mas afinal, o...

Learn More 2 0May 19

CSRF tokens in Nextjs

How to implement CSRF tokens in Next.js middleware with a custom approach using @edge-csrf/core for enhanced control and flexibility.

Learn More 1 0Jan 2

Centralized Exception Handling in ASP.NET Core - Custom Middleware

In modern web applications, managing exceptions in a consistent and efficient manner is crucial for...

Learn More 1 0Oct 9 '24

I Really like Middleware in NodeJs/Express.

Middleware to attach a user to the request object because nodejs/express does not do that...

Learn More 1 9Jan 11

Deep Dive ASP.NET Core Middleware : Part 1

Middleware is software integrated into an app pipeline to manage requests and responses. Chooses...

Learn More 1 1Sep 8 '24

Express.js Applications with Middleware

Introduction Middleware in Express.js is a powerful mechanism that allows you to...

Learn More 1 0Nov 23 '24

🔥 NestJS Middleware: Logging Requests with Ease! || By Munisekhar Udavalapati

Learn how to create and apply middleware in NestJS for logging requests, modifying data, and enhancing security.

Learn More 1 0Mar 7

What the Hek? Handling API Errors with @wthek/express-middleware

Error handling in Express.js can be a nightmare—especially when you're dealing with custom error...

Learn More 1 0Mar 9

Supercharge Your FastAPI Security with fastapi-guard!

Quick Summary: 📝 FastAPI-Guard is a security library designed to protect FastAPI...

Learn More 1 0Mar 27

Implementing Secure Authentication in Next.js with JWT and MongoDB. Protect Routes using middleware

In modern web development, implementing a robust authentication system is crucial for securing user...

Learn More 1 0Jul 5 '24

Entendendo e Implementando Middlewares no Express.js

O Express.js é um dos frameworks mais populares para construir aplicações web com Node.js. Ele...

Learn More 1 0Sep 21 '24

Part 3: Protecting Routes and Security

If you haven't already, I would recommend having a quick look at the Introduction & Sequence...

Learn More 1 0May 6

Middleware function Execution Problem and Solution

What is Middleware? A middleware can be defined as a function that will have all the access for...

Learn More 1 0Jul 1 '24

SvelteKit JWT Authentication with Middleware: A Complete Implementation

Introduction While there are many approaches to handling authentication, using JSON Web...

Learn More 1 0May 6

How we built a Node.js Middleware to Log HTTP API Requests and Responses

There are many different runtimes and eco-systems used to build APIs and here at Moesif we try to...

Learn More 0 0Mar 27

gatekeeper for golang

Beyond basic auth, your project provides incredible granular control for HTTP services. We're...

Learn More 0 0May 31

Next.js: Creating a Middleware for Advanced Request Handling.

Middleware is a feature that lets you run logic **before a request is completed**. You can use it to:

Learn More 0 0Jan 28