Why and Where to use Delegate in C#
I am going to explain why and where we need to use delegates in C#. Let’s suppose we have an investment application, which takes investment from customers and…
Read more →I am going to explain why and where we need to use delegates in C#. Let’s suppose we have an investment application, which takes investment from customers and…
Read more →Difference between Func<T> and Action<T> in C# and where to use them. Let’s suppose we have small program which returns a number using a delegate static void Main(string[]…
Read more →Keep getting error below after deleting a web resource file from VS>Organization>Web Resources>Data(XML) I had to delete one of the resource file as it was not deploying updated…
Read more →We need to run Asynchronous task due to some requirements but we want that to be override able, unfortunately that is not possible however we can create Asynchronous…
Read more →When using Linq query in CRM you might come across error below.. “The ‘select’ and ‘orderBy’ calls may only reference a single common entity type” Above error usually…
Read more →First make sure you have all files you need to install a Windows Service (dll, sql, anything else needed) To install a Windows service use the command below…
Read more →To debug a Windows Service once it has been installed followthe steps below 1)Copy the pdb files in the same folder where restof the dlls are for Windows…
Read more →How to run a task asynchronously using Windows Service C# If you need to run something, let’s say every 10 minutes or hours we can use C# to…
Read more →Windows Service: Command Text property has not been initialized When calling a SQL query in Windows service might throw an error Command Text property has not been initialized…
Read more →If need to install a window service on a server where Visual Studio is not installed or you don’t have Visual Studio tools then follow the steps below…
Read more →