Kevin Gosse 2/1/2019

Have some fun with .net core startup hooks

Read Original

This technical article details the .NET Core 2.2 startup hooks feature, which allows a globally registered method to execute when any .NET Core application starts. It provides a tutorial on creating a startup hook and demonstrates practical, humorous examples like overriding the console output to display inverted text and using reflection to modify the return value of Array.Empty<T>, affecting methods using the params keyword.

Have some fun with .net core startup hooks

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week