Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have been asked to migrate a ASP.Net project to latest version of MVC.

what is the latest version of MVC? and i am not allowed to install MVC on serber, how do i use MVC in my project?
Posted

Any effort? This topic has been explored multiple times by people on internet and you should be able to find your answer already.

Anyway, the latest version of ASP.Net MVC is 5.2. Look here:

http://www.asp.net/mvc/overview/releases/whats-new-in-aspnet-mvc-52[^]

And as far as your second question is concerned, you don't really need to have MVC installed on your web server. What you could also do is to have the MVC references copied locally in BIN folder of your application.

Look similar discussion here. It talks about MVC 3, but I am quite sure that it would be same for the current version as well.

http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx/[^]
 
Share this answer
 
Comments
Maciej Los 9-Nov-14 15:44pm    
+5
Though MVC6 is on the way..I would recommend you to update your Project to MVC5 as it is stable now. The links you can follow:-
For MVC5:-
MVC5[^]
ASP.NET MVC 5 New Features[^]
For MVC6:-
MVC6 in V-Next[^]
Hope these links help you. But I am confused regarding I cannot Install MVC on serber. You have to get it from the Nuget.
Post back your queries..
Thanks
:)
 
Share this answer
 
Comments
Manas Bhardwaj 9-Nov-14 13:34pm    
Didn't know about MVC 6. +5 for link!
[no name] 9-Nov-14 13:41pm    
Thanks Manas, there is MVC6 for us that would be coming up with Vnext that would have WebForms and WebApi integrated. Finger crossed an eager to have fingers to it.:)
Upgrading the ASP.NET website to a latest version of MVC might get tricky and headache if the current version of ASP.NET is very old or the programming language is ASP (Classic ASP) used.

Currently, 5 is the version of ASP.NET MVC. You can learn more about the salient features of the ASP.NET MVC and the 5th version. Their official website[^] contains all of the information required for you to learn and understand the shipped features of the ASP.NET MVC. You need to make up your mind to continue using the old features or to update everything by reading the MVC API. You should know there is a new version of ASP.NET that will overcome, Web Pages, Web Forms and MVC and will come out as one MVC 6 that will take use of all of the other ASP.NET sub categories.

Secondly, I would assume you meant to write server not a serber. Yes, you're allowed to use ASP.NET on the servers, but you need to consider the hosting service provider's settings and features before you continue. I remember when I developed a website that used databases and then hosting provider didn't support MS SQL, I had to cut down that feature on my web application. You can get more details on that from the hosting provider only and I cannot provide a better answer on this chapter.

MVC is just a concept of creating application, so you can use it as a model in your application to control the requests, data in your application. You can use Controller to manipulate the HTTP requests, Model to work with the data and View with the visual representation of the web pages. MVC stands for

M-model
V-View
C-Controller

There are many articles that would explain the core features of MVC object model that you can read and learn from.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900