Solved

C# Web Application - Shared Master Page

Posted on 2010-08-23
2
390 Views
Last Modified: 2013-12-17
We have a company intranet project and we want to have sub-projects off of that so that we can deploy sub-projects independently.  The problem we have is that we want to have the sub-projects use the master page from the parent project.  We included a reference to the main project and so the types resolve correctly, but when we try to run we get errors that the master file cannot be found.  How do we set things up so that we do not have to include a copy of the master page in every project?  We don't want to have to update 1001 master files every time we modify the design of the root master.  We also have the same problem with user controls, however I am confident that whatever works to solve it for master pages will work for the controls as well.
0
Comment
Question by:SkipFire
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
ID: 33507283
Unfortunately the .master page must be inside the individual web applications for them to run and compile correctly.  You could, however, centralize the CSS files, the images, and snippets of code in Server Side Includes.  
0
 
LVL 4

Author Closing Comment

by:SkipFire
ID: 33619998
Don't like the answer, but not liking an answer doesn't make it less valid.  Thanks.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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