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...

Chain Actions, Funcs, and Predicates In .NET

Chain Actions, Funcs, and Predicates In .NET

It is always nice to learn something new, regardless of our experience. In this short but very cool post, we’ll learn more about a little known feature having to do with Action, Func, and Predicate in .NET.

Increase ASP.NET File Upload Limits

Increase ASP.NET File Upload Limits

By default, ASP.NET and IIS protect us from large requests by putting hard limits on the transmitted size. IIS buffers files in our server’s memory before passing the byte array to ASP.NET. IIS’ default limit is 4MB and ASP.NET Core...

Starting A Blog - Tips and Guide

Starting A Blog - Tips and Guide

On May 13, I’ll be giving a talk about Starting A Blog at JetBrains’ .NET Days Online. This post is a companion to the presentation but should serve as an excellent general-use guide for anyone starting their blogging adventure. Starting...

Conditionally Apply LINQ Clauses

Conditionally Apply LINQ Clauses

The Language Integrated Query (LINQ) syntax is arguably one of the most powerful features of .NET. The ability to express queries over different data sources declaratively has made the .NET ecosystem more productive.

Ping a Server Using C#

Ping a Server Using C#

The internet has fundamentally changed the majority of the applications we develop. Rarely is an application designed to exist in isolation. Instead, most apps rely on other networked apps to retrieve and store information. In this post, we’ll explore the...

Write Unit Tests With F# and XUnit

Write Unit Tests With F# and XUnit

F# is the .NET language’s premier functional language. The syntax can be more concise than C#, which can arguably reduce overall errors. Regardless, we should still be writing tests as all good programmers should. In this post, we’ll be walking...