ASP.NET Core Unit Testing For Security Attributes

Authorization Attribute Safety Net

David Pine

7 minute read

Intro As a developer, I can say that developers are lazy - at least I know and acknowledge that I am. If I’m tasked with something even the slightest bit repetitious I’ll script it out, or find a way to automate it. Likewise, if I fall into a habit of forgetting something important - I’ll figure out a way to not forget. Especially when it comes to securing an application.

ASP.NET Core Configuration Tips

Configuration tips for success

David Pine

3 minute read

Being a software developer, it’s in our nature to configure various aspects of the applications that we write. With ASP.NET Core configuring our applications is really straight forward. Luckily, there is a lot of really well written documentation surrounding this topic.   ASP.NET Core - Configuration   ASP.NET Core - Options However, there is still room for improvement. I’ve prepared a few tips that can enhance developer productivity by taking advantage of various C# features.

C# Special Edition

Ranting about my favorite language

David Pine

7 minute read

Welcome to the 17th day of the C# Advent Calendar. I’d like to take a moment to thank my fellow bloggers who are sharing their passion of C# with everyone following the C# Advent Calendar. Please, share this and their posts - help us all make C# even more widely adopted than it is today. In the Beginning I’m honored to blog about my favorite programming language, C#. There is an often forgotten truth about the history of C#, one truth that I like talking about.

Perusing C# 7.1

The language features you've been waiting for

David Pine

6 minute read

Earlier this year in March – Visual Studio 2017 was released. With this the world was given C# 7, checkout my post on “Exploring C# 7” here. In this post we will peruse C# 7.1, the first incremental release while C# 8 is being fleshed out. Async Main Since the release of C# 5, developers have either embraced the async and await keywords or fumbled along the way feebly attempting to comprehend them.

Exploring C# 7

Expressiveness Redefined & #notasugly

David Pine

12 minute read

Intro Since we have all been actively celebrating the 20th anniversary of Visual Studio, it felt appropriate to post about C# 7! In this post we will explore the features that make C# 7 so promising. I’ve put together a demonstration C# 7 project, that is available here. This post contains examples and details on five of the nine new C# 7 features. Pattern matching out variables Tuples Local functions throw expressions These are the remaining features, that I do not cover in this post.