Posts
Featured Post
JavaScript

Easying DI registration Using AutoFac Assembly Scanning

In today’s blog, we are going to talk about how we can leverage the Autofac feature of assembly scanning to ease the Dependency Registration process. Conventional DI process .NetCore has an inbuilt mechanism for specifying Dependency Injection in our application. To start with, the Startup.cs class has 2 main methods i.e ConfigureServices and Configure. The …

Tags
JavaScript

Xamarin forms: Separate resource dictionary for custom theme

Xamarin forms allows to create a separate resource dictionary file for custom theme rather than adding styles directly in App.xaml What are the benefits? Code separation, Separate style code and design code rather than adding everything in one file, It’s like separating html and css code. Multiple theme resources,  Just create multiple theme resource files …

Tags
JavaScript

OR (||) vs Nullish Coalescing (??) in TypeScript

The operator signifies an operation to be performed on value(s). The value(s) on which the operation is performed are called operand(s). TypeScript provides many operators such as +, -, *, /, ++, –, >, <, ==, ===, &&, || etc. TypeScript 3.7 introduced a new operator called the “Nullish Coalescing (??)”. It is quite a …

Tags