Udostępnij za pośrednictwem


ASP.NET MVC, Web API, and Web Pages RC NuGet Packages

The official ASP.NET Web Stack RC NuGet packages are now available on NuGet. If you are new to NuGet then it is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects (check out the NuGet overview).

NuGet Packages

  1. Microsoft ASP.NET Web API (RC) -- this package contains everything you need to host ASP.NET Web API on IIS.
  2. Microsoft ASP.NET Web API Self Host (RC) -- this package contains everything you need to host ASP.NET Web API within your own process (outside of IIS).
  3. Microsoft ASP.NET Web API Client Libraries (RC) -- this package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.
  4. Microsoft ASP.NET MVC 4 (RC) -- this package contains the runtime assemblies for ASP.NET MVC.
  5. Microsoft ASP.NET Razor 2 (RC) -- this package contains the runtime assemblies for ASP.NET Web Pages.

If you are interested in using the latest nightly builds instead then please check out this description for how to get set up.

NuGet Package Tags

When searching for a package on NuGet it is convenient to use tags for your query. Here are some convenient tags for the ASP.NET Web Stack packages:

  1. AspNetWebApi
  2. AspNetMvc
  3. AspNetWebPages
  4. HttpClient

Additional Information

Have fun!

Henrik

del.icio.us Tags: asp.net,webapi,mvc,aspnetwebapi

Comments

  • Anonymous
    June 01, 2012
    Very great work , Bravo !

  • Anonymous
    June 03, 2012
    Good one...

  • Anonymous
    June 03, 2012
    The comment has been removed

  • Anonymous
    June 03, 2012
    If you compile the source yourself then you can debug through the code as normal -- you just can't have tooling support for creating MVC projects (that's what not having MVC 4 installed means). The RC bits that were just released work better with the nightly builds so that you can run the latest bits with Visual Studio RC being installed. However, debugging is not as simple as it should be for nightly builds. There is a work item [1] to try and improve that by uploading symbols and source for nightly builds so that they are available in Visual Studio. Henrik [1] aspnetwebstack.codeplex.com/.../208

  • Anonymous
    June 04, 2012
    The comment has been removed

  • Anonymous
    June 05, 2012
    You can find JsonP support in ASP.NET Web API Contrib -- see [1] Henrik [1] pedroreys.com/.../webapicontrib

  • Anonymous
    June 05, 2012
    The comment has been removed

  • Anonymous
    June 07, 2012
    Hello! I've been using Web API Beta with custom JSON formatter, but after upgrading to RC my custom formatter does not work. I can see my formatter in the config.Formatters.JsonFormatter property, but WriteToStreamAsync does not executed. Any suggestions what can be wrong? Thanks!

  • Anonymous
    June 07, 2012
    Problem solved by installing "ASP.NET MVC 4 RC for Visual Studio 2010 SP1". Before I just updated Nuget packages.

  • Anonymous
    June 18, 2012
    Is this bug still in the RC? stackoverflow.com/.../web-api-whitespace-crashes-the-asp-net-4-web-api-rc

  • Anonymous
    June 20, 2012
    I'm a bit confused between the ASP.NET MVC 4 NuGet package and the standalone / web platform installer version. Previously, I would simply install MVC 3 and ensure my assembly references were set to Copy Local = true so that XCopy deployment to the production environments work. With MVC 4 if I use just the NuGet package, I loose all the IDE support - obviously an "administrative install" via the full installer on dev machine installer is still required. Where does the NuGet package fit in? What's its purpose?

  • Anonymous
    August 07, 2012
    The comment has been removed