How to view the generated SQL Query of LINQ

Have you ever thought of viewing generated SQL query of LINQ you write? You may need the generated query for the debugging and the logging purposes. In this post let us see how to print the generated SQL query on the console. Let us consider you have written LINQ as follows: You can print theContinueContinue reading “How to view the generated SQL Query of LINQ”

Getting started with Code First Approach and Entity Framework Migrations Commands

In this post we will walk through basics of Entity Framework migration commands and learn about Code First Approach. Entity Framework allows you to create database from plain classes. You can model your domain into classes and subsequently database can be created or updated from the model using Entity Framework.

Getting Started with Git and GitHub

    Read complete article on Falafel Blog Who is not talking about Git or GitHub? In one of our recent user group meetings, someone asked how many Pull Requests have you done so far in any of open source projects on GitHub. I realized many developers in the room were puzzled with the phraseContinueContinue reading “Getting Started with Git and GitHub”

Learn AngularJS Hour 5: All about $scope object

In hour 1 , we learnt to get started with AngularJS. In hour 2 , we learnt about AngularJS Template. In hour 3 , we learnt about two way bindings and filter. On hour 4 , we learnt about $http service and making HTTP operations. In 5th hours of series, we will learn about $scopeContinueContinue reading “Learn AngularJS Hour 5: All about $scope object”

Learn AngularJS Hour 4: service in AngularJS and making HTTP call using $http

In hour 1 of this series we learnt to get started with AngularJS. In hour 2 of this series we learnt about AngularJS Template. In hour 3 of this series we learnt about two way bindings and filter. In this hour we will learn about, · Using Services in Angular · Calling remote service toContinueContinue reading “Learn AngularJS Hour 4: service in AngularJS and making HTTP call using $http”

Convert List to List using ConvertAll in C#

I see many developers convert one list to another list using foreach. It is ok and get the job done but there is better way to convert one list to another list using ConvertAll(); Just to explain you scenario better, let us assume you got two classes as below. InternalStudent class is representing Student classContinueContinue reading “Convert List to List using ConvertAll in C#”