dalmy
I am trying to create a Metadata Adapter to do single sign-on authentication for our client application. I have modified the LiteralBasedProvider.cs class in the provided examples, but one thing I do not understand is what form the software must be in for Lightstreamer to use it. Is it suppose to be a .dll or .exe or something else entirely?
Thanks,
Denison
Dario Crivelli
The Remote Adapters communicate with Lightstreamer Server through sockets, hence they just have to be running in the system and you have to take care of having them running.
This leaves you various deployment options.
In general, the Remote Adapters should be compiled into dlls and put in the same directory as the libraries supplied in DOCS-SDKs\sdk_adapter_dotnet\lib.
We provide the DOCS-SDKs\sdk_adapter_dotnet\bin\DotNetServer_N2.exe exe to start the process and run the libraries.
Alternatively, you can code your own exe, linking the supplied libraries, by including code similar to that shown in DOCS-SDKs\sdk_adapter_dotnet\examples\Remote_StockListDemo_Adapters\src_standalone_launcher.
In that example, both Remote Data and Metadata Adapters are run by the same exe; but you could run the Remote Metadata Adapter only.
Full details can be found in the distribution package in DOCS-SDKs\sdk_adapter_dotnet\doc\DotNet Adapters.pdf