You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use the WcfRestContrib.ServiceModel.Web.WebServiceHost simply change/add the service host factory in your service declaration to the WcfRestContrib.ServiceModel.Activation.WebServiceHostFactory as follows:
The WebServiceHost is configured with the WcfRestContrib.ServiceModel.Web.ServiceConfigurationAttribute. Apply this to the service and pass in your configuration. The following example demonstrates how to specify the custom error handler flag, transfer mode, binding configuration and behavior configuration:
[ServiceConfiguration(true, TransferMode.Streamed, "StreamedBinding", "RestBehavior")]
public class Content : IContentService {..}