{"id":4074,"date":"2008-10-17T04:52:02","date_gmt":"2008-10-17T04:52:02","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2008\/10\/17\/asp-net-mvc-beta-released\/"},"modified":"2008-10-17T04:52:02","modified_gmt":"2008-10-17T04:52:02","slug":"asp-net-mvc-beta-released","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/asp-net-mvc-beta-released\/","title":{"rendered":"ASP.NET MVC Beta Released!"},"content":{"rendered":"<p>Today we released ASP.NET MVC Beta, available <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?familyid=a24d1e00-cd35-4f66-baa0-2362bdde0766&amp;displaylang=en&amp;tm\">here<\/a> on the Microsoft Download Center.&#160; The release is installable to Visual Studio 2008 (either RTM or SP1) or Visual Web Developer Express (SP1 only), and includes a &quot;Go Live&quot; grant in the license.&#160; Scott Guthrie has written an excellent blog post covering the complete details of this release, so I&#8217;ve simply pasted the summary list of new features in this release with links to his blog content:<\/p>\n<h5><strong>What&#8217;s new in ASP.NET MVC Beta?<\/strong><\/h5>\n<ul>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#one\">New &quot;Add View&quot; Menu in Visual Studio<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#two\">New Scripts directory and jQuery Support<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#three\">Built-in Model Binder Support for Complex Types<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx\/#four\">Refactored Model Binder Infrastructure<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#five\">Strongly Typed UpdateModel and TryUpdateModel WhiteList Filtering<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#six\">Improved Unit Testing of UpdateModel and TryUpdateModel Scenarios<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#seven\">Strongly Typed [AcceptVerbs] attribute<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#eight\">Better Validation Error Messages<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#nine\">HTML Helper Cleanup and Refactoring<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#twelve\">Silverlight \/ ASP.NET MVC Project Integration<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#ten\">ASP.NET MVC Futures Assembly<\/a><\/li>\n<li><a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2008\/10\/16\/asp-net-mvc-beta-released.aspx#eleven\">Bin and GAC Assembly Deployment<\/a><\/li>\n<\/ul>\n<p><strong><font size=\"2\">New Add View menu <\/font><\/strong><\/p>\n<p>From a Web Tools perspective, this release includes a cool new productivity tool called &quot;Add View&quot; that makes it very easy to create new views, optionally strongly-typed and deriving from a Master Page of your choice.&#160; A brief walkthrough follows:<\/p>\n<p>To invoke the Add View tool, simply right-click within a Controller action method (any method returning an ActionResult or derived type from ActionResult):<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/AddViewMenu_2.png\"><img decoding=\"async\" style=\"border-right: 0px;border-top: 0px;border-left: 0px;border-bottom: 0px\" height=\"555\" alt=\"AddViewMenu\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/10\/AddViewMenu_thumb.png\" width=\"629\" border=\"0\" \/><\/a> <\/p>\n<p>This brings up the Add View dialog, which allows you to specify a View Name (defaults to the name of the Controller action method), and optionally a ViewData type and Master Page.&#160; When specifying a ViewData type, you can either pick from a dropdownlist of available types referenced by the project, or you can type a custom value directly.&#160; In the example below, I have typed IEnumerable&lt;MyMvcApplication.Models.Category&gt;, because I want to display a list of Categories instead of a single Category.&#160; Note that you may need to Build your project first before types will appear in the ViewData dropdown.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/AddViewDialog_2.png\"><img decoding=\"async\" style=\"border-right: 0px;border-top: 0px;margin: 5px 0px 0px;border-left: 0px;border-bottom: 0px\" height=\"317\" alt=\"AddViewDialog\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/10\/AddViewDialog_thumb.png\" width=\"411\" border=\"0\" \/><\/a> <\/p>\n<p>Upon confirming the Add View dialog by clicking the &quot;Add&quot; button, a new View page is added to the project.&#160; Notice that it is placed automatically under the correct Views subfolder, named according to the Controller class (~\/Views\/Categories, in this example).<\/p>\n<p>&#160;<a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/SolutionExplorer_2.png\"><img decoding=\"async\" style=\"border-right: 0px;border-top: 0px;border-left: 0px;border-bottom: 0px\" height=\"558\" alt=\"SolutionExplorer\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/10\/SolutionExplorer_thumb.png\" width=\"268\" border=\"0\" \/><\/a> <\/p>\n<p>The View page is also automatically opened in the editor so that you can begin writing your View content.&#160; Be sure to Build your project in order to see IntelliSense against your specified ViewData type within &lt;% %&gt; blocks.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/ViewPage_2.png\"><img decoding=\"async\" style=\"border-right: 0px;border-top: 0px;margin: 0px;border-left: 0px;border-bottom: 0px\" height=\"566\" alt=\"ViewPage\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/10\/ViewPage_thumb.png\" width=\"905\" border=\"0\" \/><\/a> <\/p>\n<p>The finished rendering of this example would appear as follows:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/Rendering_2.png\"><img decoding=\"async\" style=\"border-right: 0px;border-top: 0px;border-left: 0px;border-bottom: 0px\" height=\"479\" alt=\"Rendering\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/10\/Rendering_thumb.png\" width=\"640\" border=\"0\" \/><\/a> <\/p>\n<p>We hope you really enjoy the productivity gains from this new Add View feature!&#160; We are looking forward to providing even more tools like this in the final MVC RTM release, so stay tuned!<\/p>\n<p>&#8211;Bradley Millington | Visual Web Developer Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we released ASP.NET MVC Beta, available here on the Microsoft Download Center.&#160; The release is installable to Visual Studio 2008 (either RTM or SP1) or Visual Web Developer Express (SP1 only), and includes a &quot;Go Live&quot; grant in the license.&#160; Scott Guthrie has written an excellent blog post covering the complete details of this [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7265,31,7301,7296,7286,147,7302,7316,7292,7267],"class_list":["post-4074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-announcements","tag-asp-net","tag-beta","tag-bradley-millington","tag-mvc","tag-visual-studio","tag-visual-studio-2008","tag-visual-studio-2008-sp1","tag-vs2008","tag-vwd"],"acf":[],"blog_post_summary":"<p>Today we released ASP.NET MVC Beta, available here on the Microsoft Download Center.&#160; The release is installable to Visual Studio 2008 (either RTM or SP1) or Visual Web Developer Express (SP1 only), and includes a &quot;Go Live&quot; grant in the license.&#160; Scott Guthrie has written an excellent blog post covering the complete details of this [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4074"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4074\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}