[Share] Asp.net configuration of multiple websites in One Space

Source: Internet
Author: User

Someone asked a question about the support for multiple websites in a single space.
Summary:
It is best to ensure that the files in app_code of each project are the same.
Because multiple projects must be generated to generate multiple app_code.dll,
Because all DLL files are placed in the same bin directory, ensure that the files in app_code are the same.
The names of the aspx files of all projects before release cannot be the same.
Place the DLL generated after each project is released in the bin directory.
Merge the nodes in config and put them in the same confgi file.

It is not difficult to merge cinfig. Merge a database connection string. Others do not need to be moved
It is not a problem to put several websites in one space.

The above is a practical experience.
Http://www.bvbuy.cn/Adver/index.html
Http://www.bvbuy.cn/
It is two websites in the same space.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.