Skip to content

This package implements a piece of ASP.NET Core middleware, rick rolling anyone requesting invalid URLs.

Notifications You must be signed in to change notification settings

ThomasArdal/RickrollingMiddleware

Repository files navigation

RickrollingMiddleware

CI Nuget

This package implements a piece of ASP.NET Core middleware, rick rolling anyone requesting invalid URLs. The code is inspired by this tweet:

🙃 Make sure to rickroll people trying to break into your site pic.twitter.com/4cd80Pr9p9

— Liam Hammett (@LiamHammett) May 14, 2020

Usage

Install the RickrollingMiddleware NuGet package:

PM> Install-Package RickrollingMiddleware

Call UseRickrolling in the Configure method:

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    // ...

    app.UseRickrolling();

    // ...
}

About

This package implements a piece of ASP.NET Core middleware, rick rolling anyone requesting invalid URLs.

Resources

Stars

Watchers

Forks

Languages