views:

28

answers:

2

There is a website with a master-page, set of css-files,... menus. It is necessary to implement another one that will have same (or at least very similar) look-and-feel. And also it is necessary to have look-and-feel in sync.

I've tried to find for appropriate solution (at least idea, not implementation) in the internet but didn't find anything.

My idea is to use an additional project (class library) that will contain an implementation of the master-page and all its comnponents (menus, images, css, etc will be stored as resources), this project will be refferenced from all web-sites that need to sare look-and-feel.

Do you see any best approach or any pitfalls in my idea?

Thanks.

+1  A: 

Maintaining images, css and menus (? menu entries?) in resources seems a lot of pain to me.

Would it not be enough to simply share a common css file and the images needed? That's what css files are for.

You probably could set up version control to have every project include the same css and image files.

marapet
+1  A: 

I would recommend a class library for your masterpage, but I would put images and css on a web server and make links to it from your sites with absolute paths.

LeonG