Generics Repository with Unit of work c#

Before dive into above topics i.e. Generics Repository with Unit of work in c#, we need to learn basic and fundamental concepts as following What is Repository Pattern? Repository pattern is an abstraction layer between your business layer and data layer.So, there is no direct connection between business layer and data layer. It is also… Continue reading Generics Repository with Unit of work c#

Dependency Injection using Unity container C#

Hi, It is really cloudy day in Thane , INDIA and i am waiting for rain so the Ragi crop cultivated by my father and uncle at my native place get sufficient water to grow. OK. what is Dependency Injection using Unity container C#? but before that imagine there is no Dependency Injection concept present in C#.… Continue reading Dependency Injection using Unity container C#

Generic Type Constraints: Where Keyword in C#

Hi, it is another rainy and pleasant day here in INDIA. Today, i am going to set focus on Generic Type Constraints in c#. OK. now what is the Constraints! Constraints are keep things in place or things become out of control otherwise.programming is not exception to this rule. By adding the constraints, our generic class can only… Continue reading Generic Type Constraints: Where Keyword in C#

Microsoft visual studio – Immediate Window – Simple and Troubleshooting Tips.

Dear all, This is my second blog. today i have try to explorer one of the most useful window provided in Microsoft visual studio i.e. Immediate Window.this window allows you to evaluate variable,expressions at debug mode. this is very useful window and can save your couple of minutes or even hours so you can leave for home… Continue reading Microsoft visual studio – Immediate Window – Simple and Troubleshooting Tips.

Collection was modified; enumeration operation may not execute.

Dear all, This is my first article. i have decided to write down on one common error which every developer face at least once and loose couple of minutes or hours from their working hours i.e. Collection was modified; enumeration operation may not execute. Reason: This error occurred when we try to modify collection i.e. List, SPListCollection(Sharepoint… Continue reading Collection was modified; enumeration operation may not execute.