Running and Testing Your WCF Service
Whether you create a WCF Service Application (hosted in a website) or a WCF Service Library (hosted independently of the service definition), Visual Studio provides a mechanism for running and debugging your services without your having to deploy them first or write your own service client.
In the example, we created a WCF Service Application. Visual Studio leverage IIS Express to host this service. Visual Studio provides you a test client to run and debug the service. To use this test client, select your service in Solution Explorer (CustomerProfile.svc
) and, from the Debug menu, select Start Debugging (or just press F5). Visual Studio will run the code in debug mode using the WCF Test Client, as shown in ...
Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.