asp.net mvc vs webapi

http://stackoverflow.com/questions/16223075/restful-webservices-comparison-webapi-vs-mvc
\
BEST: http://encosia.com/asp-net-web-api-vs-asp-net-mvc-apis/

http://mikaelkoskinen.net/asp-net-web-api-vs-node-js-benchmark-take-2/

http://www.prideparrot.com/blog/archive/2012/10/asp_net_mvc_vs_webapi

BEST: http://odetocode.com/blogs/scott/archive/2013/07/01/on-the-coexistence-of-asp-net-mvc-and-webapi.aspx and http://www.dotnetcurry.com/ShowArticle.aspx?ID=888

TO DO : http://www.microsoft.com/en-in/download/details.aspx?id=36476

TUTORIALS

http://code.msdn.microsoft.com/ASP-NET-Web-API-Tutorial-8d2588b1

Here:

1. Index.cshtml is the help page: http://localhost:61736/help

2nd: http://code.msdn.microsoft.com/ASP-NET-Web-API-Tutorial-c4761894

here there is no help page. Add it this way- http://www.asp.net/web-api/overview/creating-web-apis/creating-api-help-pages

What;s new in asp.net (4.5) build 13

1. 64 but edit and continue
2. $ReturnValue in immediate window and assign it etc. : double val = $ReturnValue;

Holy Grail: http://blogs.msdn.com/b/dotnet/p/nugetpackages.aspx
Here u can look at the all the ,net and other nuget packages

Holy Grail Rail: Goto Manage nuget packages in VS 2012 and then under online there is a filter for nuget official package source…
Before that  goto options and in Package Manager -> Sources add this source :

Name: .NET Framework Packages
Source: https://www.nuget.org/api/v2/curated-feeds/dotnetframework/

Q: Do all the .NET Framework Packages have to be updated for each project seperately

YES, as u may not want all the packages for all projects…hence the isolation

Findings when trying to answer above Q :

1. .Net Framework dlls are not present in the GAC and are referenced in all projects from: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5

2. When you update the framework dlls from NuGet, you get a copy in ur Bin folder. This is so that u can’t corrupt the framework for the sake of other projects

3. To make global install of all updates best way is to do a Framework upgrade. Eg. 4.5.1 is a inplace upgrade for 4.5 (http://www.microsoft.com/en-us/download/details.aspx?id=39328)

OR a dirty way of doing the same for selected dlls might be to put the f/w dll (updated) in the GAC and then ref from there in all the projects OR put some policy file or binding redirect form the m.c

Today its better if i update to 4.5.1 as its been released and is inplace upgrade. This has following adv. :

1. The fw dlls  will reside in the FW Folder and not my project bin
2. I will get new features of 4.5.1 and not only the bug fixes/ patches of 4.5
3. I will get all this in all projects and not only this proj

But in future after 4.5.1 i will not wait for 4.6 etc. for a yr and instead use nuget to get patches immediately

http://msdn.microsoft.com/en-us/library/ms171868.aspx

install 4.5.1 in VS 2012

Windows to Focus:

Immediate Window
Tasks Window
Call Stack Window

nuGet in depth

http://docs.nuget.org/docs/start-here/videos

Extension: http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c

Track Releases: https://nuget.codeplex.com/releases
Apparently there is a UI too called : http://docs.nuget.org/docs/creating-packages/using-a-gui-to-build-packages

But i didn’t find it in VS Extensions Search

BEST: how to download all updates in nuget package manager in one click :

How do I get NuGet to install/update all the packages in the packages.config? : http://stackoverflow.com/questions/6876732/how-do-i-get-nuget-to-install-update-all-the-packages-in-the-packages-config

NOTE:

1. When you update the framework dlls from NuGet, you get a copy in ur Bin folder. This is so that u can’t corrupt the framework for the sake of other projects

2. To make global install of all updates best way is to do a Framework upgrade. Eg. 4.5.1 is a inplace upgrade for 4.5 (http://www.microsoft.com/en-us/download/details.aspx?id=39328)