Hi...
My .NET Adapter based in the code exemples is ok and working. Now i'm trying to do an ASP.NET Web Client but without success...
don't you have any tutorial or exemple about this?
thanks.
Printable View
Hi...
My .NET Adapter based in the code exemples is ok and working. Now i'm trying to do an ASP.NET Web Client but without success...
don't you have any tutorial or exemple about this?
thanks.
Hi,
The source code for the online ASP.NET AJAX Demo is available from here:
http://www.lightstreamer.com/share/A..._AJAX_Demo.zip.
Cheers
Hi Alex...
thank you for the exemple...
please, tell me if i'm wrong...
this ASP.NET page is just like any other html page... i mean, the control of push page, subscription, etc is inside the javascript code.
Some questions about this code...
var lsPage = new PushPage();
lsPage.context.setDomain("lightstreamer.com");
what's this setDomain?
lsPage.context.setDebugAlertsOnClientError(false);
lsPage.bind();
lsPage.loadEngineMinimal("ls/lsengine.html");
lsPage.onEngineReady = function(engRef) {
engRef.connection.setLSHost("push.lightstreamer.co m");
engRef.connection.setLSPort(80);
must i use "localhost" and port "8080" if lightstreamer and iis are in the same server?
engRef.context.setDebugAlertsOnClientError(false);
engRef.connection.setAdapterName("STOCKLISTDEMO");
engRef.changeStatus("STREAMING");
Hi,
you can find details about all the settings for the Lightstreamer Web Client in the API documentation, under "DOCS-SDKs\sdk_client_web\doc\jsdoc".
The documentation is also available online; you can find details about these specific settings at
http://www.lightstreamer.com/docs/cl...html#setDomain, http://www.lightstreamer.com/docs/client_web_jsdoc/Connection.html#setLSHost and http://www.lightstreamer.com/docs/cl...html#setLSPort.
You can use different ports on the same host for Lighstreamer Server and your Web Server, provided that you always use the full hostname to name the host and set the domain accordingly. In DOCS-SDKs\sdk_client_web\examples\StockListDemo\README. TXT you can find, in the "External deployment" section, the guidelines for a general case, which also apply to your case.
Dario.
The source code zip file provided in this thread doesn't working, can you re-upload the ASP.NET AJAX Demo code so that i can also view the code for better understanding
The source code for the online ASP.NET AJAX Demo is available from here:
http://www.lightstreamer.com/share/A..._AJAX_Demo.zip.
sorry for that!
I've re-uploaded the missing file.
note that the zip includes an old js library under the ls folder; substitute it with a newer one from the distribution package.
thanks for re-uploading the file.
The current link for downloading the source code is:
www.lightstreamer.com/temp/ASP.NET_AJAX_Demo.zip
Thanks for your reply
MONE has already re-uploaded the file in the same location.
Yes, but now it has moved to the new location, which is www.lightstreamer.com/temp/ASP.NET_AJAX_Demo.zip