I have vs 2010 Express but I can't find MVC 4 projects type on it ! any help please to add this feature or something ?
I have vs 2010 Express but I can't find MVC 4 projects type on it !
That's normal. ASP.NET MVC 4 comes with VS 2012. You could install it separately though from this link if you want to use it with VS 2010.
You should install visual studio 2010 Ultimate.
MVC4 comes with Visual Studio 2012. For updates and to use Web API, SignalR, Facebook Applications, etc., you need to install the ASP.NET Fall 2012 Update, presented by Scott Hanselman.Here is a link ASP.NET Fall 2012 Update Release Candidate.
Related
I have visual studio 2010 ultimate and MVC frameworks installed however when I open Visual studio it doesn't shows me new MVC templates, I have tried repairing (from control panel) and installation of all the above MVC frameworks, the .NET framework is 4.0
Do someone knows how to solve this issue?
Have you tried ASP.NET MVC 4 for Visual Studio 2010 SP1 and Visual Web Developer 2010 SP1? http://www.microsoft.com/en-au/download/details.aspx?id=30683
It was a mistake of my own, I was not selecting the correct .NET Framework, when I selected the .NET Framework 4, I got the MVC 4 as well as other project templates
answering so that others do not make this mistake.
My question is can we develop an application in Visual Studio 2010 using MVC 5?
If yes, please also mention the tutorial or sample code url with your answer.
If no, then please specify the requirements of MVC 5 to build an application with it?
No it isn't possible. You need Visual Studio 2012 and I thought .NET 4.5 at least. See the upgrade notes for detail information http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2
You need VS 2012 or above to have MVC5 support.
From the EF Blog
Compatibility
This version of the NuGet package is fully compatible with Visual
Studio 2010 and Visual Studio 2012 and can be used for applications
targeting .NET 4.0 and 4.5.
Some features are only available when writing an application that
targets .NET 4.5. This includes enum support, spatial data types,
table-valued functions and the performance improvements.
I was able to add EF5 to an MVC4 project through NuGet. You can certainly use MVC 4, you just won't get all the new features unless you're on VS2012.
Difference MVC3 VS MVC4
I'm coming from java so this is entirely new to me. I have Visual C# 2010 Express installed and I'd like to create a ASP.NET MVC 3.0 (which I downloaded and installed) application. Is that possible? Should I install Visual Web Developer instead?
Yes. To create Web Apps, you need Visual Web Developer Express. Visual C# 2010 Express if for console applications and windows forms application.
You can install Visual Studio 2012 Express edition which includes ASP.NET MVC 4 from here.
I believe you need to install Visual Web Developer, yes. Basically Visual C# Express is for non-web apps, IIRC.
Note that if you're going to install a new version anyway, you might as well upgrade to VS 2012 which is now available (including in Express editions).
Please , visit http://www.asp.net/mvc and follow steps in Overview
If I use the ASP MVC 4 Beta with VS 2010, when the RTM comes out will I be able to use it with VS 2010, i.e not be forced to upgrade to VS 11?
When released ASP.NET MVC 4 will be available for VS 2010.
Nobody knows for sure, but I would say yes, however there may be tools in the RTM that will not be available in the 2010 release. Feature wise I can't see any issues.
According to the MVC3 download page, ".NET 4, ASP.NET 4, Visual Studio 2010 or Visual Web Developer 2010 are required to use certain parts of this feature."
What will I be missing out on if I'm still using VS2008? Should I stick with MVC framework 2?
According to the original answer by Scott Gu, ASP.NET MVC 3 requires VS 2010 or Visual Web Developer 2010 Express
http://weblogs.asp.net/scottgu/archive/2010/11/11/a-few-quick-asp-net-mvc-3-installation-notes.aspx
As .NET 4 is necessary for MVC 3, the support for VS2008 is almost impossible.
MVC3 requires .net 4, to develope with .net 4 you need Visual Studio 2010.
So to answer your question as long as you are using VS 2008, you need to stick with MVC2.