现在最高版本ASP.NET MVC 3.0
http://aspnet.codeplex.com/wikipage?title=MVC&referringTitle=Home
ASP.NET MVC
ASP.NET MVC is a free, fully supported Microsoft framework for developing great web applications using the Model-View-Controller pattern. It provides total control over your HTML and URLs, enables rich Ajax integration, and facilitates test driven development.
To find out more information about ASP.NET MVC, visit the following resources:
- The ASP.NET MVC site site provides tutorials, quickstarts, and videos.
- ASP.NET MVC Documentation on MSDN
ASP.NET MVC 4 Developer Preview Released!
The ASP.NET MVC 4 Developer Preview is now available! To find out more about the release, visit our ASP.NET MVC 4 information page
You can install it via the Web Platform installer:
Or if you prefer to download the installers directly, visit the download details page.
ASP.NET MVC 3 RTM Released!
We've recently released RTM of ASP.NET MVC 3.
- Install ASP.NET MVC 3 via the Web Platform Installer
- Download the installer from the Microsoft Download Center.
- ASP.NET MVC 3 RTM is available on CodePlex with source code and the MVC Futures library
To learn about the new features introduced in ASP.NET MVC 3, visit the What's new in ASP.NET MVC 3 page and be sure to read the release notes.
Roadmap
The ASP.NET team is hard at work on the next version of ASP.NET MVC. To find out what’s coming next, visit the roadmap.
How to Provide Feedback
Because we highly value your input on this release version, please do submit feedback. There are two primary means for providing feedback:
- The ASP.NET MVC Forum on the ASP.NET Forums site allows you to engage in discussions with other customers and with the ASP.NET MVC product team. This is a great place to ask questions, post comments, and learn more about using ASP.NET MVC.
- The Issue Tracker tab on this site allows you to file bugs to the product team for consideration. The Issue Tracker is voting-based, so bugs with the most votes are given priority. (However, the product team will consider each issue individually, and more votes does not necessarily guarantee acceptance.)
Tip: Please use "Issue" type for logging bugs and "Feature" type for logging new feature suggestions.
- Blog Posts: Here are some of the most recent blog posts on ASP.NET MVC from our team members and the community:
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:
- T4MVC: a T4 Template that generates strongly typed helpers for ASP.NET MVC
- 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.
Because then we could use lambda expressions to eliminate string names of methods when redirecting in controller.
It is described in this article by Patrick Steele for Castle MonoRail:
http://visualstudiomagazine.co
For now I have put extension code into base controller but I think it would be better to put it into extension method.
people to use other scripts, and also the creation of another virtual methods to give more control over the html
generated enabling more expansibility and improving the quality of the framework
Thanks
But.. is there a way to specify issue type if you're not the project's member?
http://mvcimproved.codeplex.co
Unfortunately, the latter advantage isn't currently used in MVC. What I mean is: these mvc controls could be used during data binding so that, instead of simply using the post values, they can be verified against declared controls to be validated as specifiable.
For example, if we have a user form with the following fields:
<mvc:TextBox name="FirstName" />
<mvc:TextBox name="LastName" />
When binding for the action:
class User
{
public string FirstName { get; set; }
public string LastName { get; set; }
public bool Administrator { get; set; }
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult EditUser (User u)
{
}
In the current MVC model, we must specify [Bind(Include="FirstName,LastN
http://www.codeplex.com/MvcScr
Looking forward to the one from ASP.NET team.
I am using asp.net mvc preview 5 for one of my project. If i run my website from IIS 5 then it throws below error. But if i run using visual studio 2008 F5 then it works fine. If anyone faced this kind of problem please let me know how you fixed it
Server Error in '/' Application.
------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 163: %>
Line 164: <%var Signin = Html.Resource("globalResources
Line 165: <%=Html.ActionLink(Signin.ToSt
Line 166: <%var register = Html.Resource("globalResources
Line 167: <%= Html.ActionLink(register.ToStr
Source File: d:\Technical Workshop\MuchSocial.com\Source
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
ASP.views_shared_usersite_mast
System.Web.UI.Control.RenderCh
System.Web.UI.Control.RenderCh
System.Web.UI.Control.Render(H
System.Web.UI.Control.RenderCo
System.Web.UI.Control.RenderCo
System.Web.UI.Control.RenderCo
Regards,
Saravanan
Caveat Emptor: although "The ASP.NET MVC Project template ... provides a unit test dialog which allows you to select a unit test framework from a drop down", do not get your hopes too high if you're using VWD 2008 SP1. ASP.NET MVC does not work period with the orginal VWD 2008. Whether TDD and ASP.NET MVC can be easily used with VWD 2008 SP1 depends on a number of factors. Stay tuned.
BTW, the catch 22 here is that ASP.NET MVC is designed with enabling TDD in mind AFAIK.
Since novices getting their feet wet are likely to do so with the entry level product VWD 2008 SP1,
it would imo be a reasonable goal to have more harmony between ASP.NET MVC "official" Beta,
VWD 2008 SP1, and the family of TDD tools and utilities.
http://www.asp.net/mvc/ : crashing today (Saturday 2008-10-18, 10:39 EasternTime):
Server Error in '/' Application. ~~ Runtime Error
"Professional ASP.NET 3.5 MVC, 400 pages, Wrox, 978-470-38461-9
as per page 48 of the Wiley Winter 2009 Technology catalogue.
The publication date is shown as "in stores" October 20.
Since currently ASP.NET MVC is still in BETA (Preview Release 5), has the
publication of the Microsoft team's book been delayed? If not, to which
preview release does the publication pertain?
In the past, Wrox has printed "Public Beta Release" on the front covers of books like
"Introducing .Net" (2000). The cover photograph in the Wiley Winter 2009 Technology
catalogue shows no such designation.
Please comment, Rob Conery, and/or Scott Hanselman, and/or Phil Haack.
Thank you.
http://blogs.southworks.net/jp