I am developing a solution in Visual Studio 2010 that has a WCF RESTful service hosted in IIS (actually Cassini at the moment) and a prototype ASP.NET MVC client. Iβm all talking, but I canβt enter the service when debugging the client.
I have a class "service agent", which is used by my controllers to work with the service. The service agent uses the following code to make actual service calls:
var factory = new WebChannelFactory<IServiceContract>("theEndpointConfigName"); var channel = factory.CreateChannel(); var result = channel.CallTheService();
I can set a breakpoint on the last line, but pressing F11 will not switch me to the service as I expected.
Both projects exist in one solution, and I checked that the service is being called correctly, changing the response data.
What am I missing?
source share