Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8649861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:39:41+00:00 2026-06-12T13:39:41+00:00

I recently joined a group that manages a Classic ASP web application. It has

  • 0

I recently joined a group that manages a Classic ASP web application. It has been working fine for our group’s need. However, a decision was made, before I joined, to move to ASP .Net. Since we are mostly ASP developers, we write code in ASP .Net as we would in Classic ASP (for the most part). Would it be possible to introduce MVC to this application/project?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:39:43+00:00Added an answer on June 12, 2026 at 1:39 pm

    Yes, it is possible to use MVC in a traditional WebForms project. I migrated a large WebForms project to MVC 2 a couple of years ago, and here are my findings (I have updated them to reflect MVC 3)

    1. Make sure you have .NET 4.0 installed, as well as the MVC 3 framework and VS extensions.
    2. Create a new blank MVC project to use as a reference.
    3. Look at the default web.config for the reference project. You basically want to use the reference web.config, and merge in stuff you need from your current project.
    4. Look at the reference global.asax.cs. Similar to the above, you want to merge the changes in the reference .cs into your current application’s global.asax.cs.
    5. You will need to add the following references to your web project:

      System.Web.Abstractions,
      System.Web.Extensions,
      System.Web.Helpers,
      System.Web.Mvc,
      System.Web.Routing

    6. You can enable the VS extensions by changing the ProjectTypeGuids:

      • In Solution Explorer, right-click the project name and select Unload Project. Then right-click the project name again and select Edit ProjectName.csproj.
      • Locate the ProjectTypeGuids element and add {E53F8FEA-EAE0-44A6-8774-FFD645390401}.
      • Save the changes, right-click the project, and then select Reload Project.
    7. Add the following standard folders for MVC content:

      • ~/Views
      • ~/Views/Shared
      • ~/Controllers
      • ~/Models (for your view models, optional)
      • ~/Content (for CSS and images, optional)
      • ~/Scripts (for JS, optional)

    Additional notes:

    1. If your existing WebForms relies on web.config settings for authorization (such as preventing unauthorized users), this won’t be recognized by MVC actions, because routing works completely separately from the WebForms authorization. Use AuthorizeAttribute to require authorization, or constrain actions to certain roles or users. You can even specify global filters so you don’t have to apply this attribute on every single controller or action.
    2. There may be additional considerations for making MVC work with IIS versions prior to 7, or with application pools that use the Classic pipeline. Consider using IIS 7+ with Integrated pipeline.
    3. My notes above mainly involve getting the baseline of MVC working, which uses ASPX views. ASPX views use the same markup as the ASPX files you are used to in WebForms. You can also use the new Razor syntax (primer), which I highly recommend. You can use both ASPX and Razor view pages at the same time. However, you cannot use an ASPX master page on a Razor view (or vice versa). Also, MVC will find and use ASPX views before Razor views, so if you upgrade a view to Razor, delete the original ASPX. You will need to do a little additional work to enable Razor views. I’m trying to find my notes for enabling Razor. I’ll update when I find them. Once you do have Razor installed and working, you can use this tool by Telerik to convert ASPX to Razor.
    4. Here is a question on SO about a problem I’d had while upgrading. I’m only providing it because it covered some of the points I mentioned above in more detail. However, I was upgrading to MVC 2 at the time, so some of this stuff is out of date.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently joined a team that is working on a ASP.NET MVC project.. they
I recently joined this organisation that I am currently working at that has asked
just joined this awesome site… Ive recently been working in XNA on C#, making
I recently joined a company that uses codeigniter. I have been using nodejs and
I recently joined a new team. This team has been using Subversion for their
Recently I am working on a Mobile Device Management application in that i implemented
Recently, I've started to working on Email2SMS feature in our product. When I joined
I personally find that makes the life of a developer who has recently joined
I have recently joined a team that has several applications that perform workload automation.
I've recently joined TopCoder and have been practicing in the Practice Rooms for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.