What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I realize there is a similar, broader question here. But the answer is old and does not include the chat technology. Let me know (even if they completely rolled their own). Thanks!

I am most interested in how they implemented Comet (aka HTTP push) it in .NET.

share|improve this question
4  
Did you ever find out the answer to this question? I would like to know which framework was used and how. –  Steve Jan 19 '11 at 10:09
    
@Steve - they used .NET and jQuery, but not sure about the details. –  Bill Paetzke Apr 5 '11 at 21:12

2 Answers 2

But the answer is old and does not include the chat technology.

Actually it's more or less up-to-date, and does indeed include chat technology, because the chat is built on the same stack.

The chat is more or less a plain ol' ASP.NET MVC application. Obviously it's very JavaScript-heavy on the client-side, but the client-server communication is just simple XHRs (actually JHRs) that ask the server what happened.

I am most interested in how they implemented Comet (aka HTTP push) in .NET.

We didn't originally. We went with a simple polling model; see Why is the Stack Exchange chat room using simple polling instead of other Comet techniques?. We later added (optional) support for Websockets; see Does the chat system support sending data via WebSockets?. We're using a custom-written Websocket server that Marc wrote (SignalR did not yet exist back when this was added).

We're planning on putting up a blog post at some point to give an overview of some of the ideas and decisions that went into the chat.

If you have any specific questions feel free to ask them.

Some interesting questions that already exist and that offer some insight and discussions (in no particular order):

share|improve this answer
2  
Was the blog post done? I can't remember. –  Tshepang Jul 29 '13 at 17:20

I'm going to assume that jQuery was one of them.

On the server-side, I'm guessing the technology used is the same as the rest of the network. (ASP.net, SQL Server, etc.)

share|improve this answer
3  
I guess I am most interested in how they implemented Comet (aka HTTP push) in .NET. –  Bill Paetzke Sep 22 '10 at 23:15
1  
@Bill How do you know the chat uses Comet? –  NullUserException อ_อ Sep 22 '10 at 23:35
4  
@Bill, the chat polls for events every two seconds. –  badp Sep 22 '10 at 23:38
    
Yes jQuery was used. Just look in the source. –  Peter Ajtai Sep 22 '10 at 23:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .