ASP. net mvc source code now available
Last month I blogged about our ASP. net MVC roadmap. two weeks ago we shipped the ASP. net preview 2 release. phil haack from the ASP. net team published a good blog post about the release here. scott hanselman has created a bunch of great ASP. net MVC tutorial videos that you can watch to learn more about it here.
One of the things I mentioned in my MVC roadmap post was that we wocould be publishing the source code for the ASP. net MVC Framework, and enable it to be easily built, debugged, and patched (so that you can work around any bugs you encounter without having to wait for the next preview refresh release ).
Today we opened up a new ASP. net codeplex project that we'll be using to share buildable source for multiple upcoming ASP. NET releases. you can now directly download buildable source and project files for the ASP. net MVC preview 2 release here.
Building the ASP. net mvc Framework
You can download. ZIP file containing the source code for the ASP. net MVC Framework for the release page here. when you extract. ZIP file you can drill into its "MVC" sub-folder to find a vs 2008 solution file for the project:
Double-clicking it will open the MVC project containing the MVC source within vs. 2008:
When you do a build it will compile the project and output a system. web. MVC. DLL assembly under A/bin directory at the top of. zip directory. you can then copy this assembly into a project or application and use it.
Note: The license doesn' t enable you to redistribute your custom binary version of ASP. net MVC (we want to avoid having multiple incompatible ASP. net MVC versions floating around and colliding with each other ). but it does enable you to make fixes to the Code, rebuild it, and avoid getting blocked by an interim bug you can't work around.
Next steps
Our plans are to release regular drops of the source code going forward. we'll release source updates every time we do official preview drops. we will also release interim source refreshes in between the preview drops if you want to be able to track and build the source more frequently.
We are also hoping to ship our unit test suite for ASP. net MVC in the future as well (right now we use an internal mocking framework within our tests, and we are still doing some work to refactor this dependency before shipping them as well ).
Hope this helps,
Scott