Converting Aspx Web To Mvc Tips Needed?

Posted on 2012-09-06
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
    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

    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. be continued...

    Author Closing Comment

    Thx again

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now