I have been trying to find a Microsoft Best Practice for configuring Web Applications and Web Services on the same web server with no luck so far. I have business objects written that are shared between my web service and my web application. My clients will actually create processes to call my web service to get information back and the processes will call up Internet Explorer and go to my web application if necessary. So my web services and web application are very closely related.
I am now trying to figure out if I should just put my web service classes (*.asmx files) in my web site project so they can both be called from my domain (ie.
http://apps.sample.com/), or if I should create a separate project for all my web service classes and create a new domain for the web services (ie.
http://ws.sample.com/). The latter choice would be more work for me to maintain, but I would like to follow Microsoft's best practices on this one. I just can't find them.