Best way to merge two identical ASPNET web sites?
Posted
by ase69s
on Stack Overflow
See other posts from Stack Overflow
or by ase69s
Published on 2010-06-17T15:18:56Z
Indexed on
2010/06/17
15:43 UTC
Read the original article
Hit count: 210
We have two websites which only diference is in the design (Diferent images, styles, layouts..etc) but the web structure of files and cs code is the same so we want to simplify its manteinance...
The actual structure would be:
DefaultA.aspx
DefaultA.aspx.cs
DefaultB.aspx
DefaultB.aspx.cs
LoginA.aspx
LoginA.aspx.cs
LoginB.aspx
LoginB.aspx.cs
One idea would be changing the design differencies at runtime depending of the origin website, but we dont like much this because performance, abstraction in designing them and url confusion...
Another one is sharing the cs (both aspx inheriting and using the same cs) file but we never have done or seen it done in any website before so we wonder if its a good aproach...
What do you think? Any other way better in terms of performance vs development-ease?
© Stack Overflow or respective owner