Blog

More C# 7 goodness – Span of T – Span
Introduction With C# 7.2 we got a new type: Span<T>. So, what is Span? Span is a new value type[...]
ASP.NET Core Authorization – Using attributes for handlers and requirements
Introduction Dealing with authentication and authorization in ASP.NET Core while working with modern web apps has been much better experience[...]
JavaScript Collections – Set and Map
 Introduction In this post we will get familiar with two different collections in JavaScript: Set Map In one of the[...]
ASP.NET Core 2 – Global Model validation
How we (some of us?) do Model validation right now We, developers, use a lot of repetitive code in our[...]
ASP.NET Core – Unit testing IAuthorizationService and dependencies inside of your controller
Unit Testing - IAuthorizationService, Requirement and Handler You have a controller that makes use of IAuthorizationService and you have a[...]
ASP.NET Core – InvalidOperationException: Cannot find compilation library location for package ‘Microsoft.Win32.Registry’
TL;DR Add following line to your .csproj file: <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> Introduction I was publishing a project I am working on to[...]
Using React Router v4 with create-react-app
Introduction - react-router React-router is the most popular routing solution for applications made in React. It is a collection of[...]
C# 7.1 – New features
Introduction In some of the previous posts we talked about new features in C# 7 and we talked about the[...]
ASP.NET Core Interview Questions
Introduction ASP.NET Core and .NET Core have been in development for years already. If you look into ASP.NET Core MVC[...]
C# 7 – reference returns & local references
Introduction In on of the last posts, we talked about some of the big features that came with C# 7.[...]