ASP.NET MVC 2 Preview/Beta Visual Studio Questions - visual-studio

ASP.NET MVC 2 Beta was just released and I'm a bit confused as to what is required to run it.
Does it require .NET 4?
If I have an App that was created using Visual Studio 2010 Beta 2, can I port it to ASP.NET MVC 2 Beta by referencing the proper DLLs? If so what DLLs do I need?
Can I run ASP.NET MVC Beta 2 on .NET 4 ready hosting server (with ASP.NET MVC 2 Beta installed)?
In this comment by Phil Haack, he offers instructions on how to run "ASP.NET MVC 2 on VS2008 side by side with VS2010". If I do this setup, would I be able to run an ASP.NET MVC 2 Beta with VS 2010 Beta 2 but without the tools?

http://www.microsoft.com/downloads/details.aspx?FamilyID=4817cdb2-88ea-4af4-a455-f06b4c90fd2c&displaylang=en
If you read through the download page, you can see only .NET Framework 3.5 SP1 is necessary. So .NET Framework 4 is not required.

This should help: http://www.hanselman.com/blog/CheesyASPNETMVCProjectUpgraderForVisualStudio2010Beta1.aspx
Update
I misread the question. Based on this post by Phil Haack, it appears you can't migrate from VS 2010 Beta 2 to ASP.NET MVC 2 Beta:
Unfortunately, because Visual Studio 2010 Beta 2 and ASP.NET MVC 2 Beta share components which are currently not in sync, running ASP.NET MVC 2 Beta on VS10 Beta 2 is not supported.

Related

Use web api 2 in visual studio 2010

How can I use web api 2 in Visual Studio 2010.
Is there any way I can use web api 2 in VS 2010?
Can somebody please help or guide?
If you want to include Framework version 4, you can follow these steps. In Visual Studio 2010 to add a project of type ASP.NET MVC Web API we can:
1 - Have .NET Framework 4 & ASP.NET MVC 4 installed.
2 - Add a new project and select MVC 4
( on this screen there is no Web API template which is where many users may expect to see it )
3 - Select the Web API Template
You can see the answer here
But in your case, you need to install framework version 4.5. Each version of Visual Studio prior to Visual Studio 2010 is tied to a specific .NET framework. Visual Studio 2010 and beyond allow for targeting of prior framework versions but cannot be used for future releases. You must use Visual Studio 2012 in order to utilize .NET 4.5.
But one user has found a scenario where we can use framework version 4.5 in VS 2010, please see the answer of David Woodward here. If you can install VS 2012, it will be much easier since you don't need to download and install anything else.

Can I work on MVC 4 using Visual Studio 15 Preview?

Can I work on old ASP.NET MVC 4 projects using Visual Studio 15 Preview? If so, would VS 15 update the project/project file?
I don't want to mess up my old projects by opening them in VS 15.
At least you cannot do so in Visual Studio 2017 RC, but Microsoft seems to indicate the RTM release will support MVC 4,
https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes
MVC 4 Projects are not supported
Issue:
Open MVC 4 project using Visual Studio 2017 RC prompts to Install
Missing Features - .NET Desktop Development, which is incorrect. Even
after you install the missing features, project does not load in
Solution Explorer and shows up as incompatible.
Workaround:
No workaround, support will be added in the future.
But you should consider seriously about upgrading to MVC 5, as Microsoft technical support team should requires that based on the support policies,
https://www.asp.net/support

How To Upgrade Visual Studio To Use MVC 3 Architecture

I am using VS 2010 and I want to use MVC 3 Architecture since i need Razor C# and it is not possible in my Visual studio. Currently it is availing me only MVC 2 so C# Razor is not possible
So how do i upgrade my VS so as to use MVC 3 with Razor C# ?
you should install asp.mvc 3 to use razor view in asp.net.
you can find it easily on asp.net. it is an open source.
I hope you need to install VS 2010 service pack 1. And Install the MVC 3 framework

Will Visual Studio 2010 SP1 (beta) break asp.net MVC 3 (RTM)?

I've got VS 2010 (no service pack) and asp.net MVC 3 installed. I would like to try out the VS2010 SP1 beta but afraid that it will break my MVC 3 projects.
Does anyone know if i can install SP1 beta right on top of MVC 3 RTM?
It looks like this is being discussed here:
Installation of Visual Studio 2010 Service Pack 1 Beta and Asp.net MVC 3

ASP.NET MVC 2 and VS 2010 Beta 2

I have a VPS and I would like to be able to run ASP.NET MVC 2 apps that were built in Visual Studio 2010 Beta 2.
Which ASP.NET MVC 2 do I need to install (is it Preview 2?) and where can I get the installer for it since all I can find are MVC 2 RC for VS 2008?
You can install Framework 3.5 SP1 on the server, and copy System.Web.Mvc.dll to the bin directory, then it will work. You can extract the DLL from the GAC of the machine you have Visual Studio 2010 on. (Perhaps you have some other references too, that you will need to copy).

Resources