Difference between ASP.NET MVC and ASP.NET Web API

Found this interesting article on http://www.dotnet-tricks.com/Tutorial/webapi/Y95G050413-Difference-between-ASP.NET-MVC-and-ASP.NET-Web-API.html Most people tend to think MVC and web api are the same thing. Well not really!   While developing your web application using MVC, many developers got confused when to use Web API, since MVC framework can also return JSON data by using JsonResult and can also handle simple AJAX requests.… Continue reading Difference between ASP.NET MVC and ASP.NET Web API

Pass Data from View to Partial View using session without using model

One of the place I had to pass a value from a view to a partial view but I was not supposed to alter the model. Hence. I went back to the roots and used session to pass the value between the views. Whats important here is that, as it is a session value, you can… Continue reading Pass Data from View to Partial View using session without using model