Multi-project sharing session in ASP.NET

xiaoxiao2021-03-06  145

1. Create a blank solution Blank Solution, such as: D: /myproject/myproject.sln

2. In D: / MyProject, build a web application root directory D: / myproject / webmis and set to http: // localhost / webmis virtual directory

3. Newly create a directory according to the module in the webmis directory, such as: D: / myproject / webmis / login and d: / myProject / Webmis / Checkout

4. Creating web applications in vs.net, such as http: // localhost / webmis / login and http: // localhost / webmis / checkout

5. Two Directory after the newly built login and checkout are automatically set to the virtual directory

6. Add login and checkout in the Webmis project.

7. Delete login and checkout virtual directory in IIS Manager

8. Delete the Global.asax of each item (remove the root project)

9. Remove the following code in the Web.config (divide project) of the project: or delete web.config (if you do not need to configure in each directory)

10. After compiling, you can run.

转载请注明原文地址:https://www.9cbs.com/read-127395.html

New Post(0)