Tag: Development

Securing Web APIs in .NET Core 2.2

Microsoft will simplify Web API authentication in a soon-to-be-released update! UPDATE: Michael Stokesbarry spoke at the Spokane .NET Users Group about the now released update. Click here for the video. This week’s release of ASP.NET 2.2 gave us some performance enhancements, ability to do health checks on the application and code analyzers to help you […]

Locking a Block of Code With an Integer

I was talking with a developer recently who was convinced that you could use a static integer variable to lock a block of code merely by casting it to an object, like this

First it must be noted that an integer cannot be used by itself in a lock statement because it is a […]