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

Continue Reading

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

Continue Reading

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.

Continue Reading

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

Continue Reading

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

Continue Reading