Search Wiki:

Welcome to ASP.NET

This project gives you access to the code for upcoming releases that the Microsoft ASP.NET team is working on, starting with the ASP.NET MVC Framework. The project gives you a look at the design and lets you have a voice in it. You can send us feedback for the ASP.NET MVC framework through the ASP.NET MVC forums on the ASP.NET site.

You can download the source code and build the binaries for it on your own computer. For any bugs or other issues you find, please use the the issue tracker or the forums.

Note: We cannot include any source code you send us into the project (either through comments, patches or items in the ‘Issue Tracker’) but we do welcome any feedback you provide.

We periodically update this project. Refer to the roadmap to see what we are working on next (although this might change). Occasionally we may release separately official preview builds that are based on code in this project. The preview builds will include an installer and contain binaries, not source code. For information about the code updates and preview releases, see the "Releases" tab.

  • 04/16 Source code release of the ASP.NET MVC : We've just released the latest source code for ASP.NET MVC...this latest release includes Visual Studio templates and unit tests. You can find this release here, view the readme summarising the changes in this release and read Scott Guthrie's post on this release here.

  • Source code release of the ASP.NET MVC Preview 2: We're excited to announce that the inaugural code that we’re releasing through this project includes the source code for the ASP.NET MVC framework. This source code corresponds to the Preview 2 release made available at MIX '08 (available here).

Information about how the source code in this project is laid out can be found on the "Source Structure" page.

Resources, Documentation and Blogs

For preview build releases you can use the latest ASP.NET Quickstarts to read about the features and see working samples. Interim source code releases in this project come with a readme document that lists any changes since the last release.

ASP.NET MVC
You can find further information, screencasts etc...at the ASP.NET MVC site.

  • Unit Test Integration
The ASP.NET MVC Project template (which we'll upload to this project very soon) provides a unit test dialog which allows you to select a unit test framework from a drop down. We are working closely with unit test framework providers to intergrate their frameworks into that drop down. The following is a list of those projects which have installers that integrate with ASP.NET MVC. These projects are run by others in the community, not the ASP.NET team.

  • Other Interesting Projects:
    • MVCContrib: A Codeplex project to add functionality to ASP.NET MVC. This project is run by others in the community, not the ASP.NET team.
Last edited Apr 17 at 5:36 AM  by ScottGal, version 17
Comments
interactive wrote  Mar 21 at 10:58 AM  
Hi,

thanks for publishing the source code. This will help others to understand how it is working and maybe help fixing problems.

Michael

dariog wrote  Mar 21 at 1:15 PM  
Great!

pstatho wrote  Mar 21 at 1:25 PM  
Simple put....Awesome!
Keep it up.

jomitvaghela wrote  Mar 21 at 2:37 PM  
Thanks Scott,

I would agree with Scott H. that it truely is a culture change in microsoft (Y)

Keep it up.

MichaelDBang wrote  Mar 21 at 3:13 PM  
AWESOME! FANTASTIC! Now, how about... Silverlight2.0 MVC. :)
(The reward for hard work is more hard work!!!)

shanselman wrote  Mar 21 at 4:55 PM  
Woohoo!

jeffreypalermo wrote  Mar 21 at 9:05 PM  
Distributing the source this early is a great move. I'll be going through it to provide feedback.
Regards,
Jeffrey Palermo

jeffreypalermo wrote  Mar 21 at 9:06 PM  
It appears the release is incomplete. Is there another download for the unit tests?

RaoulMillais wrote  Mar 22 at 4:28 PM  
This is excellent, thank you for all your hard work. I'm very glad that company policy at Microsoft is finally giving you guys the opportunity to peer-review your code; it can but benefit the community at large. I very much look forward to System.Web.Routing becoming an official part of the .Net framework, so I can have a dig through its source as well! Keep up the good work; I have been impressed with the MVC framework thusfar, and shall report any concerns if and when they arise :)

CVertex wrote  Mar 25 at 6:23 AM  
Wow! this happened so much sooner than I expected. Nice work!

Why is the project called ASP.NET, when it's just the MVC ext published here?

LucianoBargmann wrote  Mar 26 at 9:09 PM  
I second Jeffrey Palermo :)
Can you share the unit tests (and more important, the mocks for IRequest / IResponse) ?

Thank you very much!

ScottGal wrote  Mar 27 at 10:25 PM  
>>It appears the release is incomplete. Is there another download for the unit tests?
We're workign on it. We need to do a bit morw work to enable us to upload these.

>>Why is the project called ASP.NET, when it's just the MVC ext published here?
*Right now* it's just MVC but we are going to upload new stuff to this site when we can.

psiatras wrote  Apr 1 at 3:23 PM  
It's simply great that you've published the source code.
This framework will be used and abused by the Enterprise community.
Thanks again for your hard work !

shinyzhu wrote  Apr 8 at 5:55 AM  
Now I'm using the ASP.NET MVC Preview 2 in my projects. and will publish them days later. So I must say, the mvc framework is the best one I saw.

CVertex wrote  Apr 17 at 7:32 AM  
What was the reason for using Moq in the MVC Unit tests?

CVertex wrote  Apr 17 at 7:34 AM  
Oh, my bad, it's written in MsTest too - i hope someone wrote a converter for all those unit tests :/

auriel wrote  Apr 18 at 6:30 AM  
@CVertex - MOQ is similar to the internal mock object framework that the unit tests were originally written in, so it was easier to port our unit tests to MOQ than it was to port them to any other public framework.

jsinnott wrote  Apr 18 at 4:24 PM  
A new project created from the templates creates a folder called Reference_Dependencies. When I rebuilt the MVC (from the new source code) and then created a new MVC application from the template. The System.Web.Mvc.dll in the Reference_Dependencies folder and the bin folder of the new application was out of sync with the newly created System.Web.Mvc.dll. Running the new application showed a strong name signature verification error. This problem goes away if I rerun the template installation and then create an application from the newly installed template. The issue appears to be that the template is not sentitive to newly installed versions of the System.Web.Mvc.dll.

ScottGal wrote  Apr 20 at 12:12 AM  
jsinnott: have you tried the latest VSI, we replaced it after the initial release due to a similar issue? If this doesn't solve it for you please contact me directly at scott.galloway_at_microsoft.com

koistya wrote  Thu at 8:45 PM  
Guys, can you please share a signed version of System.Web.Mvc.dll assembly? (Build 0416)
..can't include unsigned assebly into my signed project and also if I sign System.Web.Mvc assebly with my own key I still get a runtime error while opening my MVC website.

ScottGal wrote  Fri at 4:48 AM  
koistya, as I said in my email, we can't sign the MVC assembly but it's pretty easy to rebuild from source and sign it yourself.

Updating...