How to create a ASP.NET MVC web application project in VS2012 - asp.net-mvc

I am using Windows 8, and Visual Studio 2012. I need to create a ASP.NET MVC web application. But, when i click on Project types --> visual C# i only see windows store and not Web (as seen in VS 2008).
How can i create a MVC web application ? Help

I suspect you are using Visual Studio Express for Windows 8?
If so, you will also need Visual Studio Express for Web in order to create your MVC app.
See the different versions here: http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products

u can also user WebMatrix to create aps.net mvc project
it's free tool for asp.net from microsoft
u can get WebMatrix from here http://www.microsoft.com/web/webmatrix/

During the install, there should have been options, one of which was Visual Web Developer. Make sure that was installed (that was what it was called in VS 2010).

Related

Can I use Visual C# 2010 express to create a MVC application?

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

Cannot create ASP.NET MVC projects in Visual Studio Express 2012 for Web

I have downloaded and installed Visual Studio Express 2012 for Web but I am unable to create any ASP.NET MVC projects, as there are no ASP.NET project options. Is there a separate download or something?
Try downloading/installing:
http://www.asp.net/mvc/mvc4
edit: I'm not referring to downloading Visual Studio. The link I posted is specifically for installing MVC 4 that isn't included in Visual Studio by default. Is it this ASP.NET MVC Extension that you've downloaded? ALSO.. to create an ASP.NET MVC site you have to select NEW->Project and then click on Web sub-category under a language of your choice , not new->Web Site.
Change .net framework version to 4.5

ASP.NET MVC 4 RC Missing Use HTML5 Semantic Markup

I am working with Visual Studio 2010 - SP1
I installed ASP.NET MVC 4.0 RC on my box. The option "Use HTML5 semantic markup" is missing in all the project templates (empty application, Web Api, Internet app, Intranet App) when creating a new project of ASP.NET MVC 4.0 Web Application project type.
Remember, I have not installed asp.net mvc 4 beta prior to RC installation. However, this option is present when creating an asp.net mvc 3.0 web application.
You have to install this extension :
Web Standards Update for Microsoft Visual Studio 2010 SP1
Also consider installing Web Essentials. It add a tons of useful tools related to web development.

ASP.NET MVC 1 to Azure migration

I have a web application built with ASP.NET MVC 1 in Visual Studio 2008.
How do I migrate this web application to Azure? All the tutorials are either for Visual Studio 2010 or don't work anymore. I've installed the Web Platform Installer and the Azure SDK, and in VS2010 the Azure project template is available, but not in VS2008. I've checked alot of guides, but all the download links on MSDN for anything Visual Studio 2008 related seem to be broken.
My idea was just to add an Azure deployment project to the solution, add the references to the right Azure libraries, and deploy, but I can't even get that far since I have no idea where to begin.
Much of the MVC stuff in my application is highly customized, making a migration to ASP.NET MVC 2/3/4 difficult. And since it's MVC 1, which has no tooling support for Visual Studio 2010, I would preferably avoid a migration to Visual Studio 2010.
You can go about this in two ways. You can either use cspack to package up the code and deploy to Azure or you can install an older SDK that supports Visual Studio 2008:
CSPack: http://msdn.microsoft.com/en-us/library/windowsazure/gg432988.aspx
Older SDKs: http://www.windowsazure.com/en-us/develop/downloads/archive-net-downloads/
I know 1.1 installed on VS2008 and I know 1.4 does not, not sure about the ones in between.

MVC in Visual Studio Express

I got Visual Studio 2010 Express C# Edition. I'm using WinXP as OS.
How do I get ASP.Net MVC in it? I saw another question that stated that MVC was included automatically, but I cannot find it anywhere. I've also tried by installing MVC3 RC2. Didn't show up either.
Isn't it possible to use MVC with Express edition?
(I've also got VS 2008 Professional on the same computer)
Edit
I needed the Visual Studio Web Developer Edition to get MVC2.
But how do I get MVC3?
Edit 2
I have XP Home edition which is not supported by web platform installer since IIS is not included. I guess that's why MVC3 wont install in Visual Studio 2010 Express (although it installed fine on my computer which is a bit strange)
Isn't it possible to use MVC with Express edition?
Sure is. I installed VS2010 web express edition and when I choose New Project then it shows the MVC2 web application and empty web application project template. Last week I also installed MVC3 RC via the web platform installer and that shows up too.
You need to explicitly download MVC 3 RC2 from here and install it:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=955d593e-cbd1-4ed1-88eb-02ff79dd74d8

Resources