Source code for ASP.NET MVC 4

Topics: ASP.NET MVC, General
Aug 18, 2016 at 7:21 PM
Edited Aug 18, 2016 at 7:23 PM
I'm developing an application that uses ASP.NET MVC 4. I'm trying to extend the functionality of some of the existing architecture, but don't want to write my own version of MVC or upgrade and break my project. How can I get a copy of that exact version of the source code?

I've gone to CodePlex(, but I can find only source code for versions 5.3 and 6. No others are available. I don't care to upload my changes, only to add a few minor functions to what I'm already using. For open source, this stuff is proving impossible to find.
Aug 18, 2016 at 7:54 PM
Hi there,

On the "Source Code" tab ( go to the "Browsing changes in" drop down and select the branch "v2.0-rtm", which is where the ASP.NET MVC 4.0 source code is.

Aug 18, 2016 at 8:19 PM
Thank you for the information, Eilon. I browsed to the "v2.0-rtm" branch on the web site and found the "commit" identifier, which appears to correspond to the "v2.0.4" tag in the repository. The existing numbering system is distressingly unintuitive to someone outside your development group. Are the branches and tags in this repository decrypted or documented in an index somewhere, so I and other non-MVC gods can find this and other versions?

--Ed Eaglehouse
Aug 19, 2016 at 2:12 AM
Unfortunately there's probably not good docs on it right now (that I'm aware of). The problem is that the repo contains several different projects: MVC, Web API, Razor, and Web Pages. Each one has its own version (they came out at different times). So because of that, there isn't one simple version tag that we can use.

We're looking to clean some stuff up in this repo, so I'll make a note to add some doc/wiki entry that explains the tags/branches in the repo.