Converting Aspx Web To Mvc Tips Needed?

Posted on 2012-09-06
Medium Priority
Last Modified: 2012-09-10
I need to build a new MVC web based on an existing aspx web. I would like a step by step plan on doing this. I thought about first doing a copy-n-paste of the 'images' folder into the new MVC web. After that, what are the next logical steps?
Question by:pointeman
LVL 21

Assisted Solution

by:Dale Burrell
Dale Burrell earned 1000 total points
ID: 38375031
You pretty much need to build the new site as a new site - because they are so architecturally different there is no logical conversion necessarily. So grab yourself an online MVC tutorial, maybe a book or 2 and settle down to learn an awesome new technology.
LVL 96

Accepted Solution

Bob Learned earned 1000 total points
ID: 38375890
Things to think about the differences between the two:

1) Some things, like AutoPostBack properties on server controls, are gone.

2) Do you want Razor engine, Web Forms engine (ASP.NET), or another view engine (like NVelocity)?

3) You need to understand the nature of the beast.  An example would be that the designers for MVC chose convention over configuration, so there is some magic going on with regards to how views are found, and how actions on a view relate to controller methods, ...

4) Figure out how to use NuGet package installer, since it is a wonderful thing for web sites, and managing external references, such as JQuery, JQuery UI, Mocking frameworks, and a whole plethora of additional add-ons.

5) Get a very good reference book, and get to know it really well, and then throw it away (advice a photography teacher gave me about learning how a camera works).  It just mean that you need to trust your instincts, and not go back to a reference all the time.

6) Content, such as images, scripts, and CSS files can be easily integrated into the new website.

...to be continued...

Author Closing Comment

ID: 38384084
Thx again

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question