AsyncWcfLib

WcfDefault Members

WcfDefault overview

Public Static Fields

WsNamespace The Webservice communication namespace is used by clients and services to uniquely identify services. Library users may change this constant to e.g. "YourCompany.com/YourProduct" and rebuild AsyncWcsLib. Sorry, currently it seems there is no other possibility to set your own namespace !

Public Static Properties

Instance Library users may plug in their own implementation of IWcfDefault to WcfDefault.Instance.

Public Static Methods

ApplicationStart Library users may change here how to extract the application instance id from commandline arguments.

Public Instance Properties

AppIdentification The unique AppIdentification for this application instance
ApplicationInstance Library users may change here how to get an application instance id.
ApplicationName the name of this application is used for tracing and for identifying an ActorOutput
ApplicationVersion The version of this application is used for information in ActorPort
ProcessId Operating system process id of this application.
RouterPort The WcfRouter service listens on this port. The WcfRouter must be running on every host having services.
RouterServiceName The WcfRouter service listens on this name.
TraceFolder Get the folder name where tracefiles may be stored.

Public Instance Methods

DoClientConfiguration Sets the default client configuration, when connecting without app.config.
DoServiceConfiguration Sets the default service configuration, when no endpoint in app.config is found.
Equals (inherited from Object)
GetAppIdentification The AppIdentification is composed from AppName, HostName, AppInstance and processId to for a unique string
GetHashCode (inherited from Object)
GetType (inherited from Object)
IsAppIdUniqueInPlant Library users may change here whether an application instance is unique in plant or on host. Applications with unique id in plant may be moved from one host to another without configuration change.
IsProcessIdUsed When ApplicationInstance remains 0, the operating system process id is used as a application instance id for communication and trace.
ToString (inherited from Object)

Protected Instance Constructors

WcfDefault Constructor When the Library users does not plug in its own implementation of IWcfDefault, WcfDefault will be used.

Protected Instance Fields

m_appAssembly The assembly that represents the application.
m_ProcId Operating system process id of this application.

Protected Instance Methods

Finalize (inherited from Object)
GetDefaultBinding Returns the default binding, used by services and clients. URI may be changed e.g. from http:// to https://
MemberwiseClone (inherited from Object)

See Also

WcfDefault Class | SourceForge.AsyncWcfLib Namespace