Last post Jul 02, 2013 12:23 AM by Rion Williams
Jul 01, 2013 10:50 AM|bryan1709|LINK
Currently i managed to finish developing my web-application by using the regular web application file in VS2012. Soon after finish my
webapp, i began to realize the existence of MVC. I briefly read it through but i don't really get what it means. Hence, i would like to ask what
is the MAIN difference with some advantage and disadvantage among the 3. It seems like MVC is much better. But if so, is it possible for me
to directly import my webapp codes to MVC? or how do i transfer from one to another?
Jul 01, 2013 03:18 PM|ignatandrei|LINK
MVC4 is adding some features to MVC3( bundling, mobile).
But MVC over webforms - for me is testability. But take some tutorials from
http://www.asp.net/mvc and see yourself
Jul 01, 2013 05:06 PM|Rion Williams|LINK
I've used this similar list of advantages previously, but I'll bring it up again here to help you out :
Each of these technologies have their own advantages and disadvantages and this can highly depend on which of them you are more familar with (familarity with a specific technology will always allow you to develop applications and projects much quicker).
Both are completely capable of accomplishing the same thing, but use different design patterns to get it done.
That being said, this is a heavily discussed topic that you can find scattered all over the net, but here are a few of the major advantages of both of them (I am coupling MVC3 and MVC4 together since MVC4 is basically MVC3 with several additional features
and functions) :
Advantages of Web Forms
Advantages of MVC (both MVC3 and MVC4)
I was a pure WebForms Developer when I first began my professional career and I loved how easy it was to quickly throw together applications, however after making the switch to MVC I would cringe at the thought of having to go back. Web Forms can be a great
platform to learn and develop on, but if you really want to have complete control regarding what is going on within your application than I don't really think Web Forms can compete with MVC.
Ultimately though, there is no "best" or "right" answer and it is up to you to decide which of the technologies is right for the task at hand.
Jul 01, 2013 08:57 PM|bryan1709|LINK
To add on, is it possible to "import" my regular web-app file as a MVC4 file?
Jul 02, 2013 12:23 AM|Rion Williams|LINK
Do you mean using your ASPX Web Forms (from tradtional Web Applications) into MVC projects?
Yes, this is completely possible. You'll typically just need to add the appropriate routing within your MVC application so that it knows when to use an ASPX page and how to properly route to them. (Related
Article on Mixing ASPX and MVC Applications)