Introduction to Fabric.js. Part 1.

Source: http://fabricjs.com/fabric-intro-part-1 Introduction to Fabric.js. Part 1. Today I’d like to introduce you to Fabric.js — a powerful Javascript library that makes working with HTML5 canvas a breeze. Fabric provides a missing object model for canvas, as well as an SVG parser, layer of interactivity, and a whole suite of other indispensable tools. It is a fully … Read moreIntroduction to Fabric.js. Part 1.

Introduction to Fabric.js. Part 3.

Source: http://fabricjs.com/fabric-intro-part-3 We’ve covered most of the basics in first and second parts of this series. Let’s move on to the more advanced stuf! Groups First thing we’ll talk about is groups. Groups are one of Fabric’s most powerful features. They are exactly what they sound like — a simple way to group any Fabric objects into a single … Read moreIntroduction to Fabric.js. Part 3.

Introduction to Fabric.js. Part 2.

Source: http://fabricjs.com/fabric-intro-part-2 In the first part of this series, we only started to get familiar with Fabric.js. We looked at the reasons to use Fabric, at its object model and object hierarchy, at different kind of entities available in Fabric — simple shapes, images, and complex paths. We also learned how to perform simple operations with … Read moreIntroduction to Fabric.js. Part 2.

Should you commit the node_modules folder to Git?

Source: https://flaviocopes.com/should-commit-node-modules-git/ That’s a good question to have. There are pros and cons. I discuss the topic so you can make your own opinion. Published Aug 06, 2018 Should you commit the node_modules folder to Git? I mention Git but the same applies to any version control system you happen to use That’s a good question … Read moreShould you commit the node_modules folder to Git?

How to reuse common layouts in Angular using Router

Source: https://blog.angularindepth.com/angular-routing-reusing-common-layout-for-pages-from-different-modules-440a23f86b57 Most of the web apps I worked on so far, had a design where different pages are using common layout. For example layout which consists of header, footer and sidebar, which are fixed for each page, and the content which varies by the page. Logical idea is to try to extract and reuse … Read moreHow to reuse common layouts in Angular using Router

Angular component constructor

Source: https://blog.angularindepth.com/the-essential-difference-between-constructor-and-ngoninit-in-angular-c9930c209a42 Difference related to the usage And now let’s see the difference from the usage perspective. Constructor A class constructor in Angular is mostly used to inject dependencies. Angular calls this constructor injection pattern which is explained in details here. For a more in-depth architectural insights you can read Constructor Injection vs. Setter Injection by Miško Hevery. However, the … Read moreAngular component constructor

Two Approaches to Searching Users in Active Directory

Source: https://philipm.at/2018/searching_users_in_active_directory.html Two Approaches to Searching Users in Active Directory Thu, Oct 18 2018 I’m sure there are more than two ways to perform searches against Active Directory, however I wanted to highlight two approaches: DirectorySearcher and PrincipalSearcher. The former, DirectorySearcher comes from System.DirectoryServices and it’s the more “bare-metal” version of the two. PrincipalSearcher, of System.DirectoryServices.AccountManagement provenance, is more of a query by example pattern and I’d … Read moreTwo Approaches to Searching Users in Active Directory

People are struggling with .NET Async

Source: https://www.productiverage.com/i-didnt-understand-why-people-struggled-with-nets-async I didn’t understand why people struggled with (.NET’s) async Long story short (I know that some readers love a TL;DR), I have almost always worked with async/await in C# projects where it’s been async from top-to-bottom and so I’ve rarely tried to start integrating async code into a large project that is primiarily non-async. Due … Read morePeople are struggling with .NET Async

What is IIS Impersonation

Source: https://msdn.microsoft.com/en-us/ie/aa292118(v=vs.94) ASP.NET Impersonation Another important security feature is the ability to control the identity under which code is executed. Impersonation is when ASP.NET executes code in the context of an authenticated and authorized client. By default, ASP.NET does not use impersonation and instead executes all code using the same user account as the ASP.NET process, … Read moreWhat is IIS Impersonation