Link to home
Start Free TrialLog in
Avatar of mtran888
mtran888

asked on

how do i fake a wcf service

I have a wcf service. I'd like to fake this service for debugging.
Please assist.
Thanks,
Avatar of Craig Wagner
Craig Wagner
Flag of United States of America image

A WCF service always has an interface that defines it. Use that interface to generate a fake. If you don't already have a mocking/faking framework I like FakeItEasy (https://fakeiteasy.github.io).
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.