简体   繁体   中英

How to access one web application from another in ASP.NET

I have solution with 3 projects. One is Website and another one is Services. I want to access page from Services project via AJAX from page on Website but i fail to do so since only one project it running.

How can it be done?

please avoid answers like "What have you tried ?" because this is general question with no relation to specific code.

I'm using IIS Express built-in with Visual Studio Express 2012.

Thanks

You can do this by specifying multiple start up projects.
Select the properties of the solution, go to Common Properties -> Startup Project .
Select Multiple Startup Projects and select the ones you need. You can also adjust the starting order.

Having said that, IIs Express serves up web applications even if Visual Studio is in debug mode or not, so this isn't strictly necessary.

Note: I don't have the Express SKU in front of me, so no guarantees that this is possible on that. If it isn't, then the answer is that it isn't possible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM