how to debug a WCF service code in ASP.NET MVC? I set breakpoint in the WCF Service code, but I get : "The breakpoint will not currently be hit....". Any ideas? Thanks.
If both projects are in the same solution, select the solution properties (solution explorer, and click on Start-up properties. You can select the WCF and the MVC projects as start up (in this order). This lets the debugger attach to both projects.
whuili_2006
Member
21 Points
45 Posts
how to debug a WCF service code in ASP.NET MVC
Dec 15, 2012 12:58 AM|LINK
how to debug a WCF service code in ASP.NET MVC? I set breakpoint in the WCF Service code, but I get : "The breakpoint will not currently be hit....". Any ideas? Thanks.
ozkary
Contributor
2034 Points
303 Posts
Re: how to debug a WCF service code in ASP.NET MVC
Dec 15, 2012 01:20 AM|LINK
If both projects are in the same solution, select the solution properties (solution explorer, and click on Start-up properties. You can select the WCF and the MVC projects as start up (in this order). This lets the debugger attach to both projects.
hope it helps.
og-bit.com
Shailendra S...
Member
551 Points
145 Posts
Re: how to debug a WCF service code in ASP.NET MVC
Dec 15, 2012 03:05 AM|LINK
http://msdn.microsoft.com/en-us/library/bb514135.aspx
www.techaray.com