Solved

C# Web Application - Shared Master Page

Posted on 2010-08-23
2
387 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 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