Solved

Debugging WCF service in the same way as an asmx service

Posted on 2008-10-03
1
391 Views
Last Modified: 2010-10-05
With a Web Service (asmx) project I can set the start page to be an asmx page and then manually test the service by entering parameters with Internet Explorer.... is there a similar way of debugging WCF services?
0
Comment
Question by:craigdev
1 Comment
 
LVL 16

Accepted Solution

by:
Gyanendra Singh earned 500 total points
ID: 22632458
no its bit different

The only way we have been able to debug WCF services hosted in IIS, is by attaching the debugger to the aspnet_wp.exe process manually and then setting breakpoints or stepping into service methods.


Other options are to create an ordinary ASP.NET project and implementing the WCF service there, to create a console application that will host the WCF services, or inserting a call to Debugger.Lauch() into the service method to launch the debugger window.

refer this for details
http://blogs.msdn.com/greggm/archive/2008/03/17/debugging-wcf-services-in-visual-studio-2008.aspx
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now