Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
What are the prerequisites that are required to build an MVC application using Visual Studio 2008?
Posted 9-Dec-10 0:07am
sharmarun1.6K
Edited 9-Dec-10 0:59am
Slacker00776.7K
v3
Comments
   
Managed or unmanaged? What platform - Winforms, Silverlight, WPF? What language - C++, C#, VB, F#, J#, COBOL?
Richard MacCutchan at 9-Dec-10 6:03am
   
Probably a good understanding of system design and programming.
Sandeep Mewara at 9-Dec-10 8:56am
   
Google?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Are you talking about ASP.NET MVC Web application?
 
If yes; do you have ASP.NET MVC Web Application template in VS2008?
  Permalink  
Comments
sharmarun at 9-Dec-10 23:49pm
   
yah i am taking about ASP.NET MVC Web application?
Member 9356459 at 22-Nov-12 6:44am
   
no, we have to install MVC Framework
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

hi,
I think this may help you
 
The ASP.NET MVC 2 Release Candidate for Visual Studio 2008 SP1 can be downloaded from the following page:
http://go.microsoft.com/fwlink/?LinkID=157071
 
ASP.NET MVC 2 can be installed and can run side-by-side with ASP.NET MVC 1.0.
Note ::Because Visual Studio 2008 and Visual Studio 2010 Beta 2 share a component of ASP.NET MVC 2, installing the ASP.NET MVC 2 Release Candidate release on a computer where Visual Studio Beta 2 is also installed is not supported
 

Upgrading an ASP.NET MVC 1.0 Project to ASP.NET MVC 2
 
To upgrade an existing ASP.NET MVC 1.0 application to version 2, follow these steps:
 
1)Make a backup of the existing project.
 
2)Open the project file in a text editor (the file with the .csproj or .vbproj file extension) and find the ProjectTypeGuid element. As the value of that element, replace the GUID {603c0e0b-db56-11dc-be95-000d561079b0} with {F85E285D-A4E0-4152-9332-AB1D724D3325}.
When you are done, the value of that element should be as follows:
 
{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
 
1) In the Web application root folder, edit the Web.config file. Search for System.Web.Mvc, Version=1.0.0.0 and replace all instances with System.Web.Mvc, Version=2.0.0.0.
 

 
2)Repeat the previous step for the Web.config file located in the Views directory.
 
3)Open the project using Visual Studio, and in Solution Explorer, expand the References node. Delete the reference to System.Web.Mvc (which points to the version 1.0 assembly). Add a reference to System.Web.Mvc (v2.0.0.0).
 

4)Add the following bindingRedirect element to the Web.config file in the application root under the configuraton section:
 




publicKeyToken="31bf3856ad364e35"/>




 

5)Create a new ASP.NET MVC 2 application. Copy the files from the Scripts directory of the new application into the Scripts directory of the existing application.
 
6)Compile the application and run it.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Mika Wendelius 161
1 Kornfeld Eliyahu Peter 105
2 Zoltán Zörgő 100
3 Abhinav S 95
4 Suvendu Shekhar Giri 95
0 Sergey Alexandrovich Kryukov 8,513
1 OriginalGriff 6,526
2 Peter Leow 3,657
3 Zoltán Zörgő 3,426
4 Richard MacCutchan 2,417


Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 10 Dec 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100