I have a small WCF webservice working in my development environment (VStudio 2008, WinXP). I am appreciating being able to use the WCF Test Client at this stage of things.
Currently, the APP.CONFIG of my service (project) contains:
<host>
<baseAddresses>
<add baseAddress="http://localhost:8731/Design_Time_Addresses/Contracts/Service1/" />
</baseAddresses>
</host>
ASP.NET Web application projects expose a nice tab in the Project Properties with a radio button allowing you to easily choose:
- Use Visual Studio Development Server (with specify or auto-assign port)
- Use Local IIS Web Server (button for 'Create Virtual Directory')
I am confused about how to best go about configuring this project for use with my IIS localhost webserver. I definitely want to retain the ability to use the WCF Test Client. So much configuration seems to occur "behind the scenes" and I'm concerned about breaking my testing environment. Hope you can help me and suggest best practices for these objectives.
EDIT: Here is snippet of solution file as it is now:
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contracts", "Contracts\Contracts.csproj", "{BC414788-5E5B-4584-9350-B4DD6129665A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Service", "Service\Service.csproj", "{252DE277-D864-4423-BED5-33A8B5ABCAB7}"
EndProject