Type of ASP.NET MVC View depends on the way data being passed to it from Controller. There are three ways data can be passed to Views from Controller. They are as followsUsing ViewBag or ViewData
Using object of the model which is strongly typed
Using any dynamic type value
Author Archives: Dhananjay Kumar
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”
Resolving Dependencies in ASP.NET MVC 5 using Unity Container
In this post you will learn to use UNITY Container to resolve dependecy in ASP.NET MVC 5 application.
Unable to index file: Permission Denied error in git add command
Git permission Denied error
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”
The call is ambiguous between the following methods in C#
the call is ambiguous between the following methods in C# can be resolved as easily as given discussed above.
Video : Getting started with Git on Windows
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”