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 795855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:32:47+00:00 2026-05-14T22:32:47+00:00

My question is similar to ASP.NET 2 projects to share same files , but

  • 0

My question is similar to “ASP.NET 2 projects to share same files”, but with an ASP.NET MVC slant.

Basically, we have two sites, one being based mostly on the other (roughly 90% views, controllers, images, in the second are identical to the first). However, in some cases, the views may be different, or a controller in the second site may be different to the first.

Are there any simple ways of achieving this in ASP.NET MVC?

So far, we’ve looked at using linked files to have two totally seperate projects where the second project shares the files it needs from the first.

One problem with this approach is that most pages in the second project don’t literally exist in the virtual directory, it makes debugging a pain – you have to publish in order to generate the files so you can debug.

Does anyone have any better approaches, or ways this approach can be simplified?

  • 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-05-14T22:32:47+00:00Added an answer on May 14, 2026 at 10:32 pm

    This article might help: http://dotnetslackers.com/articles/aspnet/storing-asp-net-mvc-controllers-views-in-separate-assemblies.aspx

    Essentially, it involves creating your own WebFormViewEngine which tells MVC where to look for the Views.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VERY similar question to this question: ASP.NET MVC C# dynamic radiobuttons
This question is similar to this: Asp.net Profile Across Sub-Domain I'm basically wondering if
The question is similar to asp.net mvc Html.ActionLink() keeping route value I don't want
I'm somewhat new to MVC (but not ASP.NET). Is there a similar concept in
I have found an answer to a similar question ( System.Web.Caching.Cache.NoSlidingExpiration in asp.net c#
I saw a similar question asked and answered for ASP.net here How do I
i have a table which looks similar to this <asp:TableRow><asp:TableCell>Question 1</asp:TableCell><asp:TableCell ID =Question1Text></asp:TableCell></asp:TableRow> <asp:TableRow><asp:TableCell
I have asked a question similar to this in the past but this is
We have a ASP.NET MVC with 4-5 different build configurations. Whenever we change the
I have been working with ASP.NET MVC for a couple of months now and

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.