I am working in Visual Studio 2013/2015. I have three web projects in my solution. I want these web projects to be able to make calls to each other, which means that they need to know at what port they are hosted on during development.
I am hosting in IIS Express, which by default means that they get auto-assigned ports. This is good because if a port is unavailable, another port will be used. Since the port is determined at runtime I cannot have a configuration file in each projects which says where the other projects are hosted.
Other than manually assigning ports, is it possible to somehow reference these other web projects from one web project and then make calls where the used port is substituted?