Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The above code creates an OperationContract for the WCF service.  Notice that the BodyStyle is set to Wrapped.  This makes .Net look for the parameters in the body of the request.

Tip

Also, I am using V1 in the URI template to help version the service for future enhancements if needed.  This is optional.

...