Cómo acceder a una aplicación web desde otra en 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.

¿Cómo puede hacerse esto?

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.

Muchas Gracias

preguntado el 30 de junio de 12 a las 14:06

are you running without debugging or with debugging ? -

With but i select certain application. -

Why not run the other services in IIS instead? -

@eugeneK , start all the project without debugging[Ctrl+F5] and then attach your debugger to the worker process for debugging. -

@Furqan, this is what i was trying to avoid. -

1 Respuestas

You can do this by specifying multiple start up projects.
Select the properties of the solution, go to Common Properties -> Startup Project.
Selecciona 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.

Respondido el 30 de junio de 12 a las 16:06

how do i create urls between two projects ? I mean there will be always different port number. - Eugenio

The port number is specified in the project properties, so it's not changing. Once set, it's up to you to change it, so there shouldn't be an issue. - Magnus Johansson

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.