ASP.NET MVC 4 Beta released!http://forums.asp.net/t/1770477.aspx/1?ASP+NET+MVC+4+Beta+released+Thu, 31 May 2012 16:54:37 -040017704774836417http://forums.asp.net/p/1770477/4836417.aspx/1?ASP+NET+MVC+4+Beta+released+ASP.NET MVC 4 Beta released! <p>Hi everyone!</p> <p>The ASP.NET MVC 4 Beta is now available! To find out more about the release, visit our<span class="Apple-converted-space"> </span><a href="http://www.asp.net/mvc/mvc4">ASP.NET MVC 4 information page</a></p> <p><strong>Getting the bits:</strong></p> <p>You can install the Beta using the Web Platform Installer:</p> <ul> <li><a href="http://www.microsoft.com/web/gallery/install.aspx?appid=MVC4VS2010&amp;mode=new&amp;prerelease=true">ASP.NET MVC 4 Beta for Visual Studio 2010</a> </li></ul> <p>Or if you prefer to use the stand-alone installer you can download it <a href="http://go.microsoft.com/fwlink/?LinkID=243042"> here</a>.</p> <p><strong>What's new?</strong></p> <p>ASP.NET MVC 4 now includes ASP.NET Web API, a framework for building and consuming HTTP services that can reach a broad range of clients including browsers and mobile devices. It's also a great platform for building RESTful services. Find all about ASP.NET Web API on the <a href="http://www.asp.net/web-api">ASP.NET Web API home page</a>.</p> <p>You can find all about all of the other new features in the Beta from the <a href="http://go.microsoft.com/fwlink/?LinkID=238227"> release notes</a>.</p> <p>Let us know what you think!</p> <p>Daniel Roth<br> Senior Program Manager<br> ASP.NET</p> 2012-02-16T17:50:23-05:004836488http://forums.asp.net/p/1770477/4836488.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Fails to install in Win 7 64bit. VS 2010 Ultimate. Here is the log. HELP!!!</p> <p>DownloadManager Information: 0 : Starting EXE command for product 'ASP.NET MVC 4 Installer (Visual Studio 2010)'. Commandline is: 'C:\Users\USERNAME\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010\48C3B7EA052B63938873A3D23AB020340ACECE5D\AspNetMVC4Setup1.exe /q /log C:\Users\USERNAME\AppData\Local\Temp\MVC4_install.htm'. Process Id: 608</p> <p>&nbsp;DownloadManager Information: 0 : Install exit code for product 'ASP.NET MVC 4 Installer (Visual Studio 2010)' is -2147023293</p> <p>&nbsp;DownloadManager Error: 0 : Install return code for product 'ASP.NET MVC 4 Installer (Visual Studio 2010)' is Failure</p> <p>&nbsp;DownloadManager Information: 0 : Product ASP.NET MVC 4 Installer (Visual Studio 2010) done install completed</p> <p>DownloadManager Information: 0 : Increasing current install to 2</p> 2012-02-16T18:25:09-05:004836904http://forums.asp.net/p/1770477/4836904.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p><em>Shot in the dark but did you un-install an existing MVC 4 preview first?</em></p> 2012-02-17T03:02:13-05:004837542http://forums.asp.net/p/1770477/4837542.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Is ASP.NET MVC 4 Beta release a Go Live release? There is a <a href="http://weblogs.asp.net/jgalloway/archive/2012/02/16/asp-net-4-beta-released.aspx" title="ASP.NET MVC 4 Beta Released!" target="_blank"> post</a> made by John Galloway that suggests it is but when I checked the eula.rtf file I could not locate any mention of Go Live.</p> 2012-02-17T11:43:53-05:004837633http://forums.asp.net/p/1770477/4837633.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>@Negrond</p> <p>The preview realease clearly statded not for production use.</p> <p>&quot;<em style="">You may not test the software in a live operating environment unless Microsoft permits you to do so under another agreement.</em>&quot;</p> <p>The beta states that you may deploy on an internet facing site.</p> <p>&quot;<em style="">...If you comply with the rest of these license terms, you may also distribute to third parties or deploy for third parties to access over the Internet the ASP.NET programs that you develop using the software, provided that:...&quot;</em></p> <p>It's all in the EULA.</p> <h2>&nbsp;</h2> 2012-02-17T13:06:39-05:004837648http://forums.asp.net/p/1770477/4837648.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Ok I was just confused because based on John Galloways post I was expecting an actual reference to &quot;Go Live&quot; in the eula.</p> 2012-02-17T13:15:54-05:004837708http://forums.asp.net/p/1770477/4837708.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>i didnt have MVC 4 preview installed. Problem was deeper than i thought. VS2010 SP1 did not install compeletly. Windows update alwys showed 5 updates for vs2010 but always fails to install. spent several hours yesterday&nbsp;trying to fix it but gave up. i am reduilding the machine as i am typing this. will give it a try again. what a pain <img title="Yell" border="0" alt="Yell" src="http://forums.asp.net/scripts/tiny_mce/plugins/emotions/img/smiley-yell.gif"></p> <p>&nbsp;</p> 2012-02-17T13:58:00-05:004837714http://forums.asp.net/p/1770477/4837714.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>I uninstall all prior MVC, rebooted, butt still failed to install - Win7-64 <br> Here is my log:<br> DownloadManager Information: 0 : Install exit code for product 'ASP.NET MVC 4 Installer (Visual Studio 2010)' is -2147023254<br> DownloadManager Error: 0 : Install return code for product 'ASP.NET MVC 4 Installer (Visual Studio 2010)' is Failure<br> DownloadManager Information: 0 : Product ASP.NET MVC 4 Installer (Visual Studio 2010) done install completed<br> DownloadManager Information: 0 : Increasing current install to 2</p> <p>&nbsp;</p> 2012-02-17T14:03:38-05:004838101http://forums.asp.net/p/1770477/4838101.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Please look at the following &nbsp;<a href="http://forums.asp.net/t/1735111.aspx/1?MVC&#43;3&#43;will&#43;not&#43;install">http://forums.asp.net/t/1735111.aspx/1?MVC&#43;3&#43;will&#43;not&#43;install</a></p> <p>Please look at this post <a href="http://stackoverflow.com/questions/2374957/asp-net-mvc-on-iis-7-5"> http://stackoverflow.com/questions/2374957/asp-net-mvc-on-iis-7-5</a></p> <p>&nbsp;</p> <p>so if you are using iis you should be aware how 64 bit works</p> <p>Hopefully,&nbsp;mvc 4 will be released in a about a month or so .&nbsp;THAT'S ABOUT THE TIMELINE MVC 3 WAS RELEASED</p> <p>so I am going to wait.....This is how I solved my problem</p> <p>1&nbsp; I had to run a&nbsp; visual studio 2010&nbsp; repair&nbsp;(this checks everything was installed on your computer-correctly-very very important &nbsp;)</p> <p>the repair on vs 2010 runs a couple of hours...it is painful...however that is always the correct way.&nbsp;&nbsp;This will check if mvc 3 is installed or not</p> <p>Then install mvc 3 if you need it (check requirements-I forget what they were) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>2&nbsp; then &nbsp;installed&nbsp; vs 2010 sp1&nbsp;entity framework code first etc</p> <p>3&nbsp; then install mvc 4 beta (mvc 4 beta nuget &nbsp;package may interfer with mvc 3 nuget) please be aware &nbsp;&nbsp;</p> <p>Please let other people how you solved this...so you can help other people...Thanks...&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-02-17T18:28:57-05:004838141http://forums.asp.net/p/1770477/4838141.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>By the way If you are running the repair and you can not install net 4.0 that's not good</p> <p>Then will need to unistall vs 2010 and make sure to delete all your old projects</p> <p><a href="http://social.msdn.microsoft.com/Forums/en-SG/vssetup/thread/0b0cb100-cec8-447d-8663-c78405d018d7">http://social.msdn.microsoft.com/Forums/en-SG/vssetup/thread/0b0cb100-cec8-447d-8663-c78405d018d7</a></p> <p>I have found on 32 bit machines</p> <p>visual studio has gotten easier to install over the years however 64&nbsp;bit seems to have&nbsp; a few problems &nbsp;&nbsp;&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-02-17T19:12:35-05:004838740http://forums.asp.net/p/1770477/4838740.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Hi,</p> <p>Finally beta arrived after Developer Preview.&nbsp;</p> <p>Found many new templates for create project.</p> <p>I have following question in my mind .</p> <p>1. Why this is not compitable with VS 2011 Developer Preview?</p> <p>2. Just look at WebApi project and it is really nice but it would nice if AreaRegistrationContext also has method call MapHttpRoute. I have to do following thing context.Routes.Map also required include &quot;using System.Web.Http;&quot;.</p> <p></p> <p></p> 2012-02-18T11:59:02-05:004839371http://forums.asp.net/p/1770477/4839371.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Hi,</p> <p>Finally we got beta version...</p> <p>I have question in my mind.</p> <p>what should i take care while converting MVC 3.0 apps to MVC 4.0?</p> <p>i am using LINQ to SQL.</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-02-19T05:11:34-05:004839814http://forums.asp.net/p/1770477/4839814.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Always getting &quot;This prod is incompatibile with .NET 4.5 dev preview&quot;. But I don't have it installed. I uninstalled everything related with 4.5 and VS 11. Even tried installing 4.5 and uninstalling it, and installing 4.0 again, but same error. Had same issue on my other PC, but uninstalling 4.5/VS 11 and installing 4.0 solved it. </p> <p>Can someone interpet this log from mvc 4 beta installation:</p> <p><a target="_blank" href="http://pastie.org/3415128">http://pastie.org/3415128</a></p> 2012-02-19T16:22:49-05:004839966http://forums.asp.net/p/1770477/4839966.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Hudo,</p> <p>here is your error code &nbsp;0x8007066a&nbsp;you should &nbsp;have read my advice from before....You need to run a repair on vs 2010 your system to pin this&nbsp;down</p> <p>&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;</p> <p><a href="http://kbalertz.com/958049/Error-Windows-Update-Microsoft-Update-install.aspx">http://kbalertz.com/958049/Error-Windows-Update-Microsoft-Update-install.aspx</a>&nbsp;&nbsp;&nbsp;</p> <p><em>If the repair does not work you need to unistall everything....... </em></p> 2012-02-19T21:15:10-05:004840040http://forums.asp.net/p/1770477/4840040.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Installed it with no trouble, but whenever I try to edit .cshtml files and add in some javascript, it turns into a disaster. I started a jquery function, and in the body of the function simply pressed 'enter' to go to a new line...Visual Studio froze and crashed. Happened two times in a row.</p> <p>Had an idea that it was a conflict with&nbsp;ReSharper, and disabled it.&nbsp;While the crashing stopped, it still hangs for about 30-40 seconds or more before the new line actually appears. I typed a semi-colon at the end of the function, same problem. Hang for 30&#43; seconds. I finally got fedup and copied and pasted the code in I was trying to type from the Web API tutorial on asp.net, and same thing. It took about 30 seconds before the pasted code actually appeared in the editor.</p> <p>I'm on Windows 7 x64 with Visual Studio 2010 Ultimate. I realize the conflicts may be with plugins, and not simply the MVC4 framework itself, but I'm working in my normal environment. If it is unusable in my normal environment, then it is, unfortunately, unusable overall. It looks great, I just wish I could use it.</p> <p>UPDATE: Installed on my laptop. Both environments have similar, but different plugins. And, on my laptop, the crashing doesn't happen, but any time I edit JavaScript, it's the same issue. Go to a new line, wait 30-40 seconds. Put a semi-colon at the end of a function, wait another 30-40 seconds. I guess I have to ignore JavaScript if I want to play around with the beta. No one else is having this issue?</p> 2012-02-20T01:25:31-05:004843701http://forums.asp.net/p/1770477/4843701.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Installed the MVC4 , followed by SP1. I also got the latest version of Nuget.</p> <p>After this I apparently lost MVC3....</p> <p>&nbsp;I was not the only one apparently <a href="http://forums.asp.net/t/1729674.aspx/1"> http://forums.asp.net/t/1729674.aspx/1</a></p> <p>Reinstalled MVC3, it says successful. But once ready the Platform Installer shows SP1 as an option still to install (it already is).</p> <p>And MVC3 is still not a project option (And I can no longer open MVC3 projects)</p> <p>The Beta has some issues I guess!</p> <p>&nbsp;Removed Nuget (Via Control Panel - Programs), reinstalled MVC3 again. And MVC3 is back in VS2010.</p> 2012-02-21T18:31:12-05:004843802http://forums.asp.net/p/1770477/4843802.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Actually, I posted&nbsp;A WORK AROUND FOR THIS YOU NEED TO UNISTALL NUGET 3 &nbsp;&nbsp;<a href="http://geekswithblogs.net/ranganh/archive/2011/10/26/installing-mvc-3-for-visual-studio-2010-on-windows-developer.aspx">http://geekswithblogs.net/ranganh/archive/2011/10/26/installing-mvc-3-for-visual-studio-2010-on-windows-developer.aspx</a></p> 2012-02-21T20:05:36-05:004845749http://forums.asp.net/p/1770477/4845749.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>Installing MVC4 Beta breaks WebMatrix 2 Beta.</p> <p>After installing MVC4 Beta the following error message occurs when try to edit a WebMatrix 2 program file:</p> <p>Could not load type 'System.Web.Razor.Parser.SyntaxTree.SingleLineMarkupSpan' from assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364fe35'.</p> 2012-02-22T18:16:08-05:004846121http://forums.asp.net/p/1770477/4846121.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p></p> <blockquote><span class="icon-blockquote"></span> <h4>wew</h4> Could not load type 'System.Web.Razor.Parser.SyntaxTree.SingleLineMarkupSpan' from assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364fe35'.</blockquote> <p></p> <p>Edit: See <a href="http://forums.asp.net/t/1774029.aspx/1?Web&#43;Matrix&#43;error&#43;after&#43;installation&#43;of&#43;MVC&#43;4&#43;beta"> this</a>.</p> <p></p> 2012-02-23T02:40:19-05:004846281http://forums.asp.net/p/1770477/4846281.aspx/1?Re+ASP+NET+MVC+4+Beta+released+Re: ASP.NET MVC 4 Beta released! <p>If have any possible,</p> <p>I want to lear MVC 4 for Visual Basic,&nbsp;</p> <p>but ...&nbsp;</p> 2012-02-23T04:40:56-05:00