Mitch's Blog

Filter Posts By
Jan 09, 2023

Squashing EF Core Migrations Safely

Projects can evolve over time, and the history of granular migrations within Entity Framework can result in a bloated change history. Additionally, changes can occur within Entity Framework tooling that may result in code warnings or other similar concerns. Resetting your migrations to squash the history can be a very helpful process, however it requires precision and care.

Read Full Article
Nov 23, 2022

Some Considerations for Giving Tuesday

As 2022 starts to come to a close and the insanity of the holiday shopping season sets in, don't forget to think about supporting organizations that make a positive contribution in your communities. After the loss of my 3 year old daughter in April of 2022, I find myself especially reflective on supporting others this season.

Read Full Article
Oct 29, 2022

Understanding & Implementing Caching in ASP.NET Core

ASP.NET Core provides two primary methods allowing developers to cache information; IMemoryCache and IDistributedCache. Selecting the proper caching implementation requires an understanding of your application, your future goals, and the features of both options. This post explores cache strategies.

Read Full Article
Apr 12, 2022

Turbocharge Developer Productivity with Bootstrap Tag Helpers

As a software architect, I'm always looking for better ways to optimize my development patterns, reduce the lines of code, and improve the overall maintainability of the code that I write. Recently I took a deep dive into my usage of Boostrap with ASP.NET and created a number of Tag Helpers that have exponentially improved my productivity, and made it all open source!

Read Full Article
Mar 29, 2022

MVC vs Blazor WASM: A Different Look At Performance

Not all applications are created equal, which means not all technology frameworks will perform the same for a given project or solution. This post explores a recent performance deep dive that I completed evaluating the performance of ASP.NET Core MVC vs Blazor Web Assembly (WASM).

Read Full Article
Nov 09, 2021

.NET 6 is Here, and It Brought Performance With It

.NET 6 has been released to the public and among many new features, application performance has been turbocharged resulting in easily achievable performance gains by simply changing a build target and redeploying. The cheapest performance upgrade you can do.

Read Full Article
Aug 30, 2021

Creating Simple Excel Exports in .NET 5/6

Although a common project request, the creation of Excel documents from code can be a time-consuming endeavor. Introducing NetCore.Utilities.Spreadsheet which allows a single line of code to create consistent Excel exports.

Read Full Article
Jun 21, 2021

Unit Testing Extension Methods Such as LogWarning

Extension methods are a way of life for many developers, however, they prevent unique challenges for those striving for good Unit Test coverage within their application. In this post we explore a process that can be used to still leverage the extension methods AND achieve proper code coverage!

Read Full Article

Notice

Content provided in this blog is provided "AS-IS" and the information should be used at your own discretion. The thoughts and opinions expressed are the personal thoughts of Mitchel Sellers and do not reflect the opinions of his employer or any other affiliated company.

This blog’s content is copyright protected. Re-publishing on other websites is allowed as long as proper credit and backlink to the article is provided. Any other re-publishing or distribution of this content is prohibited without written permission from Mitchel Sellers.