Blog

All posts

Visual Studio Tips: Smart Line Break
Quick-Start: Connect ASP.NET to Azure SQL with an Azure managed identity
Quick-Start: Connect ASP.NET to Azure SQL with an Azure managed identity

Connect an ASP.NET Application running on Azure Web Apps to Azure SQL and leave no messy secrets laying about in the web.config file, depending on Azure Key Vault, or have to orchestrate building a connection string with via Azure Resource Manager.

Visual Studio Tricks: Increase signal to noise in your debugger
Visual Studio Tricks: Increase signal to noise in your debugger

Inspecting your objects in Visual Studio’s debugger can sometimes be tedious having to expand objects, arrays and lists trying to find that ‘problem child’ of yours. Fortunately for us, there are some handy tricks to reducing the noise, and focusing in on the members of your object that are important.

Restrict the use of certain Attributes
Restrict the use of certain Attributes

This is one of those ‘take it or leave it’ answers to an interesting question,”How to restrict the use of certain Attributes?”

Always use IEquatable<T> for Value Types
Always use IEquatable for Value Types

You should always implement IEquatable<T> when checking for equality on value types. In this article I’ll go into a bit of depth on how Equals() behaves on System.Object and one of it’s derived class, System.ValueType.