Zero2Cool
2013-09-08T00:22:00Z
Conceptually, I have the design done. I just need the auto refresh.

Display X messages
textbox for messagges. submit button to submit.


I just need something to fire off that display X messages without making the page do a postback.

I'd like to throw it in a web user control.



eStream would be great if ONLY needing a chat page. I like it for that. But I want something that I can morph into a Chat AND/OR ShoutBox and that is not as bulky in design.

My goal is to stop using YAF ShoutBox because i don't like how much real estate it uses.

PackersHome.com see the little sideboxes? I'd like to throw a ShoutBox over there. Then on the Chat page, have a larger Chat that emulates the same process, but bigger. This would be configured similarly as Board 1 or 2 for whichever and then size controlled by CSS.


That rambling make sense?
Zero2Cool
2013-09-08T00:48:20Z
http://www.xigla.com/shoutboxnet/ . Appearance is the only thing this link provides. I imagine I'd be able to do what I'd like with in terms of size and design (e.g. font, bgcolor, etc).
squirrel
2013-09-08T02:13:22Z

Jquery coupled with some form of a .net webservice that speaks JSON would work pretty well, I would think - would be really light overhead on bandwidth and no page refreshes -- make JQ do a sleep or round-robin cycle of some form. FB's chat protocol would be something to dissect and look at for ideas, maybe


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
squirrel
2013-09-08T02:30:13Z
http://forums.asp.net/post/4844035.aspx  -- maybe something useful?


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
johnk
  •  johnk
  • 74.8% (Friendly)
  • YAF All-the-Time
2013-09-08T06:24:19Z
You can use signalr for chat. Its been actively developed by Microsoft and is light weight. It is equivalent to NodeJS in linux.

SignalR uses websockets to keep connection open. This is much better than using ajax to query the server every few seconds for new data. If browser does not support web sockets (IE 6, etc), it would fall back to older protocol such as server sent events, forever frame, long polling, etc.

Tip: Facebook uses combination os server sent event, forever frame, etc. They do not use NodeJS though (as far as I know).
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2013-09-11T16:41:54Z
@johnk is on the right track.

https://github.com/JabbR/JabbR 

It's the best chat system for .NET period -- even has Android and iOS clients.
Zero2Cool
2013-09-14T01:59:44Z
Originally Posted by: Jaben 

@johnk is on the right track.

https://github.com/JabbR/JabbR 

It's the best chat system for .NET period -- even has Android and iOS clients.



Looks great as well, but again, way too many moving pieces.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved