This site is dedicated to working with and contributing to the
MVC, Web API and
Web Pages with Razor code base. If you want to use the released versions of the products to develop your applications, head to
http://www.asp.net where you can find useful documentation, tutorials, samples, and videos.
These products are actively developed by the ASP.NET team assigned to the Microsoft Open Tech Hub and in collaboration with a community of open source developers. Together we are dedicated to creating the best possible platform for web development.
Getting and Building Code
The first order of business is to make sure you can build the code on your machine.
- The easiest way to work with our source is to install Visual Studio 2010 (with SP1).
- Make sure you have git installed. Alternative git clients
- TortoiseGit is highly recommended, because it offers graphical log/tree views and diff/merge experience.
- Posh-Git is highly recommended for PowerShell users.
- Git Source Control Provider is an optional component which integrates Git into Visual Studio.
SkipStrongNames, and unzip it. From an elevated command prompt, run “skipstrongnames -e" to allow you to run unit tests against the delay-signed binaries.
- Using your preferred git client clone our git repo located at
git clone https://git01.codeplex.com/aspnetwebstack.git
- If you installed Visual Studio, you can now open the Runtime.sln file in the root of the source code and build using Visual Studio. Alternatively, there is a Build.cmd file in the root directory that will build the code base and run the tests
from the command line. Note: Before building you may need to obtain
NuGet packages from the OuterCurve Foundation NuGet public feed*.
A .sln file is also available from the root directory to open the solution in Visual Studio. See the
documentation for more information.
To run the unit tests, you must run an elevated command prompt, because some of the tests create and test self-hosted HTTP servers. Alternatively, you can add an URL reservation for http://+:50231/ that our unit tests use if you want to avoid running
an elevated command prompt every time you want to run unit tests. You can run the script RegisterHttpNamespaces.bat (can be found in the tools directory) from an elevated command prompt once to do this. In addition, the build or tests may not run correctly
if your machine has .NET 4.5 or MVC 4 installed, since assemblies in the GAC may conflict with the build and unit test process.
*By running build RestorePackages, you will be initiating the download of other software from a NuGet-based feed that is owned by the Outercurve Foundation. You are responsible for locating, reading and complying with the license terms that accompany
each such software. Each software that you obtain through this feed is licensed to you by its respective owner. We grant you no rights for third party software from this feed.
There are many ways to contribute to the project including contributing code. Find out how you can participate here.
Want to know what the future holds for ASP.NET MVC, Web API and Web Pages? We update our roadmap regularly and we post specific feature specifications publicly for review.
Send us your questions through the discussion forums or check the FAQ to see if your question has already been answered.