WcfDataServerHelper Class

Provides static helper methods to be used in the Middle Tier Security - WCF Service scenario.

Namespace: DevExpress.ExpressApp.Security.ClientServer.Wcf

Assembly: DevExpress.ExpressApp.Security.v18.1.dll


public static class WcfDataServerHelper

This class provides the following useful static methods.

Method Description
WcfDataServerHelper.CreateDefaultBinding Creates a Binding object that can be used in the WCF Application Server implementation. You can pass this method result to the ServiceHost.AddServiceEndpoint method, when configuring the ServiceHost object. An example is provided in the Middle Tier Security - WCF Service topic.
WcfDataServerHelper.AddKnownType Adds the specified type to the WCF data service contract's known types list. You should call this method both at the server and client sides before the data server and/or client application is initialized to register your custom permission requests and custom logon parameters. You do not need to use this method when you use standard logon parameters and have no custom permission requests implemented.



See Also