Building HTML with C#

Building HTML with C#

Hypertext Markup Language is the first programming language many of us learn. Like chess, it’s easy to learn but can take a lifetime to master. Its declarative syntax is ideal and ubiquitous across many different ecosystems, and C# embraces it...

Handle HTTP Status Codes With Razor Pages

Handle HTTP Status Codes With Razor Pages

HTTP semantics might not be vital to us humans, but they are the essential glue that holds the internet together. HTTP status codes allow clients to interpret the response they are about to receive and make processing accommodations. We may...

More HTTP Methods In ASP.NET Core HTML Forms

More HTTP Methods In ASP.NET Core HTML Forms

Many developers are familiar with your most common HTTP methods of GET and POST. Many of us do not realize that there is a world of other HTTP methods that can we can utilize for additional semantic meaning for our...

Sort Data With ASP.NET Core and Query Strings

Sort Data With ASP.NET Core and Query Strings

Anyone building a web application will eventually have to deal with sorting tabular data. It’s a rule established into the constitution of the internet (if there was one). While it may be simple in concept, its implementation can be daunting...

Enhance ASP.NET Projects With JetBrains Annotations

Enhance ASP.NET Projects With JetBrains Annotations

ASP.NET MVC and Razor Pages ship with some very sensible defaults. That doesn’t mean that all of our problems are solved. We may want to add new HTML helpers, navigation extension methods, or change the folder structure of our ASP.NET...

Simplify DisplayName Calls In Razor Views

Simplify DisplayName Calls In Razor Views

Razor is a sharp user interface language, but it can also cut into our sensibilities and aesthetic code choices. ASP.NET ships with many HTML helpers to help reduce the amount of code we write to ship user interfaces, and for...