473,413 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Chat with ASP.NET. Web Services or Remote Script?

Hello all,
I need to build a chat using ASP.NET (VB), this chat is to the
online communication with customers.
I would like to know what is best. To use webservices or to use remote
script?

thanks

Dexter
Nov 19 '05 #1
3 2485
Hi,
I would rather prefered remoting than web services for online comunication
application because,
1] Perfomance wise remoting is best than web services.
2] Remoting provides wellknown and client activated objects. Means you have
number of options to handle situations, you come accross while developing
online communication application
3] You can create your own customize communication channels with remoting
which is not possible with webservices.

etc.

Thanx,
"Dexter" wrote:
Hello all,
I need to build a chat using ASP.NET (VB), this chat is to the
online communication with customers.
I would like to know what is best. To use webservices or to use remote
script?

thanks

Dexter

Nov 19 '05 #2
there are problems with both

1) web service requires an active/x control (xmlhttp) and a web behavior in
IE, (fine with mozilla/firefox as webservice calls are builtin), which the
user may have disabled
2) remote scripting uses a java applet as callback method - may also be
disabled

the best it to use a hidden frame/iframe for the polling - this is the most
approach used for most web chat clients.

-- bruce (sqlwork.com)

"Dexter" <pr******@yahoo.com.br> wrote in message
news:un****************@TK2MSFTNGP15.phx.gbl...
| Hello all,
| I need to build a chat using ASP.NET (VB), this chat is to the
| online communication with customers.
| I would like to know what is best. To use webservices or to use remote
| script?
|
| thanks
|
|
|
| Dexter
|
|
Nov 19 '05 #3
Dexter, if you use remote scripting, our new product (LiveControls for
ASP.NET) would help you greatly. It is a suite of 20+ server controls
that are fully remote scripted (the ASP.NET postback is replaced with a
remote scripted callback. All the javascript work to update the UI is
already done for you). They are cross browser compatible and have been
tested in IE5.0 + (PC and Mac), Mozilla 1.3+ (PC and Mac), Opera,
Galeon, Konqueror, etc.

http://www.dart.com/livetutorial/display.aspx
or
http://www.dart.com/powerweb/livecontrols.asp

If I were building a chat application, the following LiveControls would
be useful to me:
- LiveGrid - To show the list of available rooms in a grid...also to
show the list of chatters in a room.
- LiveTextBox - To allow a user to enter text.
- LiveButton - To send the text to the webserver.
- LiveLabel - To display the chat transcript.
- LiveSound - To play sound effects where appropriate (like a doorbell
alert when a new user enters the room, etc).
- LiveTimer - To poll the webserver for new chat messages.

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Neil Padgen | last post by:
I'm trying to forward a TCP port on localhost to a TCP port on a remote machine, but to do that I have to go through a telnet gateway. This involves a little chat script: expect "tn-gw-> "...
3
by: Josh Schmidt | last post by:
How can one set the terminal services profile and home directory path in AD using VB.NET? I can set the usual profile paths, but terminal services properties are not supported with ADSI. Any...
1
by: Pepe Le Peu | last post by:
I have been looking at Remoting and Web Services and I think I can do almost anything I want with Web Services. Here's my intellectual puzzle though: Suppose I wanted to create a P2P...
4
by: OJO | last post by:
Hello microsoft.public.dotnet.framework.aspnet! Is this possible to write very simple chat within asp.net (asking google I got only commercial components' websites)? BTW: How can I...
2
by: JM | last post by:
Hi, I made an ASP.NET chat application using remote scripting, so that the entire page does not refresh when new messages arrive. The client-side has a timer that accepts new messages every 5...
0
by: dhinesh | last post by:
Hi, I want to show a chat request alert on the remote side when the user clicks "chat with particular person", and also both are not login to the chat room. Please help me. Advance thanks to...
4
by: Gandalf | last post by:
I wrote a chat width AJAX. In my home wampserver apache it works just fine. The problem starts when I trying to upload the chat in to my real server. The chat prints error 403 in places which it...
4
by: nbt725 | last post by:
Dear Sir, Hello ! I want 1 to 1 chat script in php between client coming to site to chat with admin. And admin can chat with multiple client.There can be multiple admin. I want to disable login...
1
by: Clayton23 | last post by:
<html> <head> <base href="http://chat.webhop.org:8000/themes/colors/"> <title>ConferenceRoom by WebMaster, Inc.</title> <script language=javascript> function regNick(form) { var pass =...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.