• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

wcf test mode

recently, i involved writing alot of wcf / c#, and test them on window/test client under visual studio folder. It is working okay but I have to refresh and test again and again, and I start looking for something that I can test thing more efficient when I have to test something more complex.

1. Can you show me how to test it in local console?
2. Show me another way I can test it? Just like other WCF programmer may use as usual.

Thanks, and have a nice weekend.
1 Solution
käµfm³d 👽Commented:
To test your WCF service via a Console application you simply need to "Add Service Reference"--pointed at your WCF service--from within your Console application. Once you do that, you will get a class (mentioned in my link) that will allow you to interact with the WCF service. It will be (nearly) identical to the one you got when you added the service reference in your web application.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now