Profile cover photo
Profile photo
Jasminder Singh
57 followers -
never give up and be passionate about ur interests
never give up and be passionate about ur interests

57 followers
About
Jasminder's posts

Post has attachment
Dependency injection using property
In my previous articles, we discussed how we can inject the dependency using constructor and method . This is the final approach we can use to inject the dependency where we will see how we can implement the dependency injection using the property injection...

Post has attachment
Dependency injection using method injection in C#
In my previous article , we discussed how we can inject the dependency using constructor. Continuing on the same lines, we will now discuss how we can implement dependency injection using the method injection. We will be using the same code which we used in...

Post has attachment
Dependency injection using constructor in C#
In my previous article we discussed about the concept of dependency injection and inversion of control. Continuing on the same lines, we will now discuss how we can implement the dependency injection using the constructor injection. We will be using the sam...

Post has attachment
Dependency Injection and Inversion of control using C#
In this article, we will try to understand the concept of dependency injection and inversion control. The basic idea behind dependency injection is that: High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstract...

Post has attachment
C# 7 Features - out variable initialization
In my previous article, we discussed about the concept of local functions in C# 7.0. In this article, we will see another feature related to the use of out type variables.    Out variables are not new in C# and provide a big advantage of how we can return m...

Post has attachment
Dynamic methods in C# using CodeDom
In my previous article , we discussed how we can create a dynamic class using CodeDom namespace. Now we will discuss how we can add methods to these classes. For this we will be use the same code as in our previous discussion. For adding method to the class...

Post has attachment
C# 7 features - Local functions
C# 7.0 has been introduced with the preview release of Visual Studio 15. This should not be confused with Visual studio 2015, as it is separate. In order to install visual studio 15, you will have to download the setup from the link here - https://blogs.msd...

Post has attachment
SingleOrDefault vs FirstOrDefault
LINQ provides with two extension methods  SingleOrDefault and FirstOrDefault. Let's see the difference between the two .  Add a new class clsTest  and add two properties  Id  and  Name . Create a  List clsTest type, add some data. So we have the following c...

Post has attachment
Module ' ' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
While learning angular-js, I came across the following error: Module 'myApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. The error see...

Post has attachment
Getting started with Spire.Net
Recently I was thinking whether we can convert html of a website to PDF. While searching for it, I came across products from the Spire products from EIceblue. They provide these type of tools not only for the .net, but also for silverlight and wpf. Moreover...
Wait while more posts are being loaded