ASP.NET Core Middleware Registration

ASP.NET Core Middleware Registration

One of my favorite features of modern web development is Middleware. Middleware is a powerful abstraction that can encapsulate your intent, enrich an incoming request, enhance an outgoing response, or do all the above. Once you embrace Middleware as a...

Continue Reading

Creating Random Numbers With .NET Core

Creating Random Numbers With .NET Core

When we think about programming, we usually think about well-intentioned systematic instructions executing when and how we intended. In a digital world of One’s and Zero’s, the idea of randomness is madness. In the real world, randomness is a necessary...

Continue Reading

Convert A C# Object To Almost Any Format

Convert A C# Object To Almost Any Format

Data formats are an essential part of any programming toolbox. C# developers must understand how to take plain-old-C#-objects (POCOs) and convert them into standard data formats. The .NET community commonly refers to the conversion of data objects as serialization.

Continue Reading

Robots.txt Middleware For ASP.NET Core

https://d33wubrfki0l68.cloudfront.net/19881b5332448a7e288ec5df01c957770c886e89/f67b2/robots.txt Middleware For ASP.NET Core

As a web developer, it’s important to remind ourselves that we push our work onto the internet for the world to see. Our development team utilizes Windows Azure for many environments, and all those environments need to be publicly accessible....

Continue Reading