Migrating CRUD operations of a key-value store with inconsistent serialization formats from the view layer to typed POCOs in the data layer. [Read More]
A collection of my blog posts tagged as being related to the .NET Framework, C#, .NET Core, ASP.NET MVC, etc.
A tale of improperly using a static field, preventing a colleague from doing the same, and a primer on why static fields should be avoided. [Read More]
A guide and configuration for using ReSharper’s File Layout to auto-apply StyleCop ordering rules to elements in classes, structs, and interfaces. [Read More]
My product team is evaluating purchasing JetBrains ReSharper or DevExpress CodeRush to assist with improving code quality in our .NET application portfolio. I jotted down some unfair observations of the two products after using ReSharper for a couple of years and CodeRush for a couple of days. [Read More]
An example of how to use Visual Studio regex find and replace with a wildcard to quickly refactor many lines of code. [Read More]
Our team misunderstood the scope of ASP.NET’s HttpContext.Cache. This mishap led to some cross-instance data leakage in our hosting environment. Keys must always have enough unique information to identify their respective cache value. [Read More]
How to configure Visual Studio to debug a web application in any Windows browser’s incognito or private mode. This solution allows every debugging session to be free of preexisting cache and cookies. Supported in Chrome, Firefox, Internet Explorer, and Opera. Edge support is not yet available. [Read More]