Move asp.net website to subfolder/subdomain

Posted by brz dot net on Stack Overflow See other posts from Stack Overflow or by brz dot net
Published on 2010-04-23T08:50:11Z Indexed on 2010/04/23 8:53 UTC
Read the original article Hit count: 565

Filed under:
|
|
|
|

What is the effective way to deploy an asp.net website in subfolder/subdomain?

Actually I need to keep web.config in root directory and modify following things for this.

  1. Web.config Location tags
  2. Web.config authentication forms tag
  3. Web.sitemap
  4. Style.css
  5. Response.redirect/Server.transfer
  6. Image path

Is there any way to avoid these changes? So my development work is not more different from production.

Means I am expecting one place where applied changes are effective on whole site. No need to modify path on each page.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#