Solved

C# Web Application - Shared Master Page

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now