Archives for 2017 - Page 3
Part 4: Understanding how Service Locator different from Dependency Injection
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Part 1: Understanding why we need to use Dependency Injection?
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Working with Yarn Package Manager
Why Yarn Package Manager? Do you have many npm modules that should be installed in your application? Is it taking much time to download all the necessary modules? What about…
Local Storage in Javascript
Scenario: When building more complex JavaScript applications that run in a user’s browser it’s very useful to be able to store information in the browser so that the information can…
Deferred vs Immediate Query Execution In LINQ
Deffered Query Execution: In .NET when you write a LINQ query it actually performs the querying only when the LINQ result is accessed. This phenomenon of LINQ is called deferred…
How to secure your entire MVC application with “Authorize” attribute ?
Scenario: If you would like to secure your admin pages, you would add “Authorize” attribute for all your admin controllers. However, you might get a situation like; you need to…
404 Error encountered while cloning the remote GitHub repository
Error Message: Error encountered while cloning the remote repository: Response status code does not indicate success: 404 (Not Found). You will get this error message when you are trying to clone…
Working with new enhanced Feature of ‘ref’ Keyword in C# 7.0
Here In this article, I will try to explore the new enhanced feature of 'ref' keyword. As a programmer, we are familiar with 'ref' keyword, which allows us to pass…
Create your first angular application in typescript using angular CLI
The Angular CLI is a command line interface tool that can create a project, add files, and perform a variety of ongoing development tasks such as testing, bundling, and deployment. Now, let us start…
for..of vs. for..in in TypeScript
Both and statements iterate over lists; the values iterated on are different though. returns a list of values of the numeric properties of the object being iterated. returns a list…