Centralized Master Pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the task of creating several one-page websites for our subsidiaries. I
would like to use the MasterPage concept with this task. The sites will all
be separate site, located in their own folder. Essentially, I would like to
know if I can create a centralized Master Page and have it apply to multiple
web sites. Kind of like using CSS to change the look and feel of all your
page, except, the external style sheet would control all the individual
websites on the IIS box.

Hope this makes sense and thanks in advance.
 
Let's say you copy your MasterPage(s) for all the "sites" into a single
folder under your IIS. Each of your applications (sites) can then create a
virtual directory that points to that common folder, and your separate apps
can set their MasterPageFile property to point to that vRoot and the
masterpage file.
This has the additional benefit that if you decide to update a Master, all
the sites will pick up the change automatically.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top