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.Xpo.v18.2.dll

Declaration

public static class WcfDataServerHelper
Public Module WcfDataServerHelper

This class provides the following useful static methods.

Method Description
CreateNetTcpBinding() Creates a object that you can use in the WCF Application Server implementation. You can pass this method result to the AddServiceEndpoint method, when configuring the ServiceHost object. An example is provided in the Middle Tier Security - WCF Service topic.
CreateDefaultBinding() Creates a WSHttpBinding object that you can use in the WCF Application Server implementation. You can pass this method result to the AddServiceEndpoint method, when configuring the ServiceHost object. An example is provided in the Middle Tier Security - WCF Service topic.
AddKnownType(Type) Adds the specified type to the WCF data service contract's known types list. You should call this method both on 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.

Inheritance

Object
WcfDataServerHelper

See Also