You intended to execute a .NET program, but dotnet-ef does not exist

The Problem. I was trying to create a scaffold template for the EF core from the console by running a command like dotnet ef dbcontext scaffold "Data Source=SAILENOVO;Initial Catalog=HPlusSports;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust Server Certificate=False;Application Intent=ReadWrite;Multi Subnet Failover=False" Microsoft.EntityFrameWorkCore.SqlServer -o Models I was getting an error message, Could not execute because the specified command or file was … Continue reading You intended to execute a .NET program, but dotnet-ef does not exist

IQueryable vs IEnumerable

While working with LINQ, you must have wondered what the difference between the IQueryable and IEnumerable is. The primary difference is that the extension methods defined for IQueryable take Expression objects instead of Functional objects, meaning the delegate it receives is an expression tree instead of a method to invoke. IQueryable is inherited from IEnumerable. … Continue reading IQueryable vs IEnumerable

How to call the page methods using asp.net ajax and jquery

Introduction: This article describes how to design & invoke the page methods using asp.net ajax and jquery. The topics that are covered in this are What are page methods How to enable page methods in a web page. Can we implement page methods in a web page? Can we implement page methods in a user … Continue reading How to call the page methods using asp.net ajax and jquery

How to change local path in team foundation (TFS) on my machine

I have downloaded all of my code in a defined location let's say c:\saiworkingfolder. Over a period of time the size of that folder has grown up. Due to the size limitation on the hard disk. I had to change the local path in TFS. To do that, open visual studio (mine is 2012), go … Continue reading How to change local path in team foundation (TFS) on my machine