I want to create small chat application between two users.
Users should Login if they are not logged in they should be registered.
plz tell the code
View Complete Post
I have to develope Jquery chat application Like Gmail in My Web application. For this i spend My lots of hours in Googling. AT THE time of searching I got one script. which is very helpful. But in the script author has used all the members who has logged will be appeared in the chat box. instead of this i have to put only the members who's are in the friendlist. i have to show only these members.
Following is the project from where i get script.
As well as in the code author has passed dynamic userid to session but i have to pass actuall userid from database.
from Here I download the code. but the code is in the 3.5 framework. i m using 2.0 framwork. so most of the code I have changed but not getting how to make changes for list.
Please help me to solve the Problem.
Thanks In Advance
I am new to this WCF and WCF forum. I need to develop a peer to peer chat application using wcf. I have gone through many chat application using wcf, it works fine
for me in my LAN. But while i am trying to connect a Wan IP, i am getting some exception. so i need a chat application that works for me in wan ip also. Please provide any solution for this.
I am new to this WCF and WCF forum. I want to develop a chat application using wcf , so i have downloaded a chat application from "http://www.codeproject.com/KB/WCF/Chat_application_using_WC.aspx ". It works fine in my "LAN"
but if i am trying to connect to a wan ip i am getting err ors. I have used "Port forwarding" also in that applicatiion. But still i am getting this error. I have
mentioned the error code below. Please provide any solution for this.
System.InvalidOperationException: Could not find endpoint element with name 'ChatEndPoint' and Contract 'ChatClient.ICharService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application,
or because no endpoint element matching this name could be found in the client element. at System.servieModel.Description.ConfigLoader.LoadChannelBehaviours(ServiceEndPoint serviceEndpoints, String ConfigurationName)
at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)
at System.ServiceModel.ChannelFactory.InitializeEndpoint(String confgurationName, Endpoint Address address)
at System.ServiceModel.DuplexChannelFactory '
Hi there. I want to create high-perfomance chat application compatible with mobile platforms. (It is not actually chat, but architecture is pretty similar)
My biggest concerns are: I need to update messages for everybody every 1 second. Also I need to insert very often to database.
I'm just wondering whether there is a better way than doing trips every second to database?
And also, what are the best practices on creating this kind of applications?
My application is MVC Web App Chat Room , it supports following features:
2.Send message in room (just live message, offline message might be supported in future)
I have done logic for application, but I'm considering where to save
chat room data (message,room information, and users in room) ? I see
there are 2 options:
1. Application variable
2. Using file or database
-What if I saved in Application variable:
In case of there are 2000 rooms and 10000 users online, mean I have to
persistence in Application variable (actually in RAM memory) information
of 2000 rooms, more than 10000 message (text), these numbers might be
increased by second if there are more users online in real time. and
what's next ? I don't know what will happen to server, crash ? or my web
app will be terminated ? whatever I don't want both results !
-What if I saved in file or DB (i.e: SQL Server DB)
Because of web application, clients have to send request every 1 second
to fetch data (messages and user list in room). So in case of there are
2000 rooms and 10000 users online, means they will make 10000 requests
every 1 second to DB. I don't know what will happen to DB, there are a
lot of connections and in EVERY 1 second, can
I wan to integrate any one-to-one chat web application in Microsoft CRM 4.0. Searched for few samples over the ent but all are of room chat functionality with no private/one-to-one chat option.
Can we use socket programming for web based cahts?
Moreover, is it possible using reverse ajax/comet technology to push back the content to the concerned person's browser client only? or it will send back the content to all browsers? If so, what choices we have to achieve the private/one-to-one chat functionality in web based chat apps? (like MSMQ).
If you have any sample regarding this in your knowlege please provide the link.
I need to create service that can handle clients connections and administrator connection.The clients that connects to service are handled by Durable duplex, so the service can send commands to clients in any time when client is connected. When some client
connects, the service should add its callback to clients collection. Then when administrator connects to service he should be able to send some commands to clients. I have created a workflow that is on the image below. In that workflow there is a problem because
any time when the new connection is initialized the client variable is reseted to its default value. How to create static/global variable, or solve a problem in some other way?