A community member has associated this post with a similar question:
*How do I add MVC 4 to an existing .net framework web application 4.8 that includes controller and view folders, and routing information.

Only moderators can edit this content.

How do I add an MVC template to my web app project?

iqworks Information Quality Works 276 Reputation points
2024-05-01T22:13:45.8266667+00:00

Hi, what is the best way to add an MVC template within a web application? Can I do this, or can I do something better?

 

Thx for any suggestions or advice

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,683 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
975 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,566 Reputation points Microsoft Vendor
    2024-05-02T06:41:21.04+00:00

    Hi @iqworks Information Quality Works

    Welcome to Microsoft Q&A! 

    To add a ASP.NET MVC project template to a solution, please right-click on the solution node in Solution Explorer > Add > New Project, or Add > Existing Project.

    To add an MVC item template to a solution, please right-click on the solution node in Solution Explorer > Add > New Item, or Add > Existing Item.

    To add an MVC item template to a project, please right-click on the project node in Solution Explorer > Add > New Item, or Add > Existing Item.

    If I misunderstood, please let me know.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments