ASP.NET Virtual Directory For Common Markup -
I have some applications that need to be shared with a normal group of markup.
Scenario: I may have www.site1.com, www.site2.com, and www.site3.com. On all sites, / care / contact /us.aspx and / care / faqs.aspx will be exactly the same, but every other page will be completely different.
Problem: I am trying to not duplicate .aspx files and one / care virtual directory for each of these sites, which will include contact-us.aspx and faqs.aspx I'll use every site I've seen, but I'm looking for any other solutions / ideas.
Question 1: What would be the best way to set up the care directory to share it? Question 2: Any idea about sharing the code behind it
Background, if you care about: In a heritage application (ASP classic / vbscript), we have the ability to use / normal virtual directories for sites. Share common markup and code (since they All are mixed in .asp files).
Thanks for any help or ideas!
Set up virtual directories in IIS for each app pointing to just one physical directory.
This is a good reference:
Comments
Post a Comment