-
January 4th, 2007, 02:50 PM
#1
ASP.NET Web Client Tutorial
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.
-
January 5th, 2007, 09:52 AM
#2
-
January 5th, 2007, 08:03 PM
#3
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");
-
January 8th, 2007, 09:26 AM
#4
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.
-
January 28th, 2011, 05:53 AM
#5
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.
-
January 31st, 2011, 09:33 AM
#6
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.
-
January 31st, 2011, 11:21 AM
#7
thanks for re-uploading the file.
-
January 31st, 2011, 11:39 AM
#8
The current link for downloading the source code is:
www.lightstreamer.com/temp/ASP.NET_AJAX_Demo.zip
-
January 31st, 2011, 02:09 PM
#9
Thanks for your reply
MONE has already re-uploaded the file in the same location.
-
February 1st, 2011, 01:40 PM
#10
Yes, but now it has moved to the new location, which is www.lightstreamer.com/temp/ASP.NET_AJAX_Demo.zip
Similar Threads
-
By Mone in forum Client SDKs
Replies: 13
Last Post: September 9th, 2010, 05:51 PM
-
By Alessandro in forum Adapter SDKs
Replies: 2
Last Post: October 30th, 2008, 02:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:29 PM.
Bookmarks