ASP.NET MVC 4 Development: what is a right choice of tools? - visual-studio-2010

I'm going to start some ASP.NET MVC4 development, with a possibility of mixing in MVC4 parts into our big existing ASP and ASP.NET (Web Forms) application.
Our small team is currently using Visual Studio 2010 (we have MSDN subscription), developers machines are Windows 7, test machines are MS Windows Server 2003 R2 , production is hosted on MS Windows Server 2008 R2.
Is it possible to develop and host MVC4 pages in such environment?
Can I install MVC4 on Visual Studio 2010?
In case I have to migrate to VS 2012, would it be possible to share projects with rest of the team sitting on VS 2010 through our Team Foundation Server?
Can I have both VS 2010 and VS 2012 co-existing on the same machine?
Thanks a lot!

Yes, mvc4 should run even on iis6 http://haacked.com/archive/2010/12/22/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx
Yes http://www.asp.net/mvc/mvc4 (See installation section)
No need. And vs2012 will upgrade your project file but it should be compatible with vs2010sp1 (conditions apply) http://blogs.msdn.com/b/visualstudio/archive/2012/03/28/round-tripping-with-visual-studio-11.aspx
Yes

Yes its possible
Yes you can install MVC4 without a problem in visual 2010 http://www.asp.net/mvc/mvc4
You dont need to migrate if you dont want to.
Yes i have installed both on my computer and work on both without a problem.

Related

Setting up my development environment for a small development team

I am setting up a new development environment for a small team, currently we are only 2 developers, and mainly we will be using the following frameworks:-
Asp.net MVC framework to build some web application from scratch.
SharePoint 2010 or 2013 to build an intranet/extranet application.
So I have settled on the following development tools to be able to build asp.net MVC web applications + to extend and build SharePoint application:-
Visual studio 2012 for building the web applications for both MVC & SharePoint.
Team foundation server 2012, to have version control, bug tracking , etc.
My question is the following:-
Since I will need the SharePoint 2013 templates so I cannot go with the express version of visual studio 2012? since the VS express version does no provide enterprise features such as SharePoint templates.
But will using TFS express suit my situation?
I have read that Microsoft provides a free plan where I can get free Visual Studio Professional 2012 & Team Foundation Server with all the enterprise features since I have less than 5 users (in my case 2 developers) and of course I can upgrade the free plan when the team grow.
So will getting the free plan from Microsoft work well in my case, especially
for having the SharePoint templates inside the visual studio 2012?
Best Regards

install mvc 4 on server without visual studio

I'm getting a build server up and running (Windows Server 2008 R2).
The app will be MVC 4.
Do I need to install MVC3 and MVC4 onto the box? Or just MVC4?
I don't want to install a whole bunch of Visual Studio kerfuffle on the build server though. Which the web platform installers seem to be all wrapt up in.
Cheers for any MVC 4 wisdom!
If your application is going to use MVC 4 then all you need to install is ASP.NET MVC 4. You don't need to install Visual Studio. The MVC installer checks if VS is installed and if it is it adds the project templates to VS 2010. Otherwise it deploys only the runtime assemblies into the GAC.

How do I create a Silverlight application in Visual Studio 2008?

I need to create a Silverlight application in VS 2008 for Win CE 6.0.
I installed VS 2008 SP1 and the Silverlight 2 SDK, and then Silverlight Tools for 2008.
However, when I open VS 2008, it's asking two options as follows:
Add a new ASP.NET web project to the solution to host Silverlight
Automatically generate a test page to host Silverlight at build time
I don't know which one I have to select if I want to build my application using C#.
If you want to add the silverlight output to an existing C# application, it's probably better to choose the second option. You don't need a complete ASP.NET webapplication.

What is the proper installation order for VS2010 components? (IIS Express, SQL CE, MVC3, SP1 Beta)

After I went to http://www.microsoft.com/web to get the IIS Express and SQL CE my machine has been acting strange. VS2010 intellisense is lost, and now I've lost my HTML designer. It doesn't load.
Maybe it's because the Microsoft Web Platform the free developer express alongside VS2010 Ultimate. Maybe the issues are relating to any of the other components I have installed: SP1, MVC 3, or maybe even the Azure SDK. Now that I'm starting from a clean Virtual PC, I want to do it correctly. Can someone look at my components below and let me know what problems or conflicts I'll run into?
My current base install is a clean VS2010 Ultimate install with Windows 7. What is the proper installation order for the following components:
Blend
IIS Express
SQL CE
MVC 3
Azure Service Bus
Azure App Fabric (production, not labs)
VS2010 SP1 Beta
Office Tools
Also I think it's a good idea to install the SQL 2010 Administrative Tools as well, since I can manage my SQL Express instances with that as well. What is your opinion?
Am I required to install Visual Studio Web Developer Express (free edition?)
Start by installing VS2010 (the edition you would choose would obviously depend on your budget). As far as the other components are concerned the order in which they are being installed is not really important.

Developing in Visual Studio 2010 with the new IIS Express web server?

Although this question isn't directly about code it's related to programming and seems better put here than, say, serverfault or superuser.
--
I'm a developer with Visual Studio 2010. Microsoft's newest web server offering for developers is IIS Express. ScottGu indicated this combination is workable:
IIS Express will work with VS 2010 and
Visual Web Developer 2010 Express,
will run on Windows XP and higher
systems,
The only option I've seen so far, is to download WebMatrix which contains and uses IIS Express, but I cannot get it hooked into VS 2010, or to download IIS Express separately.
Any ideas?
Current of July 11, 2011
Visual Studio 2010 Service Pack 1 includes the option to use IIS Express from inside VS2010.
Blog post.
Or use the Web Platform Installer.
I don't think IIS Express is available for Visual Studio 2010 yet.
Edit: Found it in Scott's post. http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
We’ll be releasing the first public beta of IIS Express shortly. With the beta you’ll be able to right-click on a file-system folder and have IIS Express launch a web-site based on that file-system location. We’ll also be releasing a patch for VS 2010 and Visual Web Developer 2010 Express later this year that will enable you to automatically launch and use IIS Express in place of VS’s built-in ASP.NET Developer Server.
http://www.intrepidstudios.com/blog/2010/7/11/debug-your-net-web-project-with-iis-express-t.aspx has instructions on using IIS Express with VS2010 if you don't feel like waiting for VS2010 SP1 to be released.
The link to the Visual Studio 2010 Service Pack 1 (not beta any longer) is http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5.
Jesper Palm is not correct, I am able to run IIS Express Using Visual Studio after a lot of investigation. What Jaseper is mentioning(ScootGu's blog), I already have read that. Scott is only telling that the patch will be released to run 'IIS Express' within VS2010 IDE but with 'MS Web Matrix Beta 2' It is possible to run IIS EXpress with VS 2010. If u face problem contact me in by e-mail:ankitvbdotnet#yahoo.com
The current IIS Express Overview says that VS2008 and VS2010 integration is going to come in a later release (presumably before the RTM release).
A future update to Visual Studio 2010 will add support for IIS Express. You can also manually configure Visual Studio 2008 and Visual Studio 2010 to use IIS Express.
For anyone that can't/doesn't want to install the SP1 beta then this blog post will show you how you can incorporate it into your debugging in a relatively easy way.

Resources