The task which i can do with needle, why should i use sword for the same? In few programming scenario, we need to save result of sub-expression in order to use it in subsequent clauses within same LINQ query. In this case, let keyword may help you. let keyword create range variable which we can… Continue reading let keyword in LINQ – C#
Hi, Lets finish this year with one of the handy and time saving option available in visual studio i.e.set condition on breakpoint. it is very handy and crucial time saver when your code contain very long iteration or loop and you want breakpoint would be break on certain condition only. Lets understand this with actual… Continue reading Visual Studio – How to set condition on breakpoint
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#
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#
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#
Dear All, This is my third Post.Today i going to explorer one of the most useful and troubleshooting tool provided with SQL i.e. SQL Profiler. it is best tool to check what is going on your SQL server i.e. which query or Stored Procedure running with what parameter etc. or when written SQL logic works unexpectedly.… Continue reading SQL Profiler
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.