Skip to content
This repository has been archived by the owner. It is now read-only.

ThomasArdal/RickrollingMiddleware

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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