Improve Entity Framework Core Performance

Improve Entity Framework Core Performance

Object Relational Mappers (ORMs) can help increase our productivity. The ORM pattern can handle the integration between our C# models and the database by providing an abstraction that limits our need to understand the underlying data-access mechanisms (not an excuse...

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