Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
AnswerRe: Database Pin
Pete O'Hanlon24-Sep-08 9:31
mvePete O'Hanlon24-Sep-08 9:31 
AnswerRe: Database Pin
Giorgi Dalakishvili24-Sep-08 20:19
mentorGiorgi Dalakishvili24-Sep-08 20:19 
QuestionWinForm to PDA? Pin
NewToAspDotNet24-Sep-08 7:52
NewToAspDotNet24-Sep-08 7:52 
AnswerRe: WinForm to PDA? Pin
DaveyM6924-Sep-08 8:08
professionalDaveyM6924-Sep-08 8:08 
GeneralRe: WinForm to PDA? Pin
NewToAspDotNet24-Sep-08 22:55
NewToAspDotNet24-Sep-08 22:55 
GeneralRe: WinForm to PDA? Pin
DaveyM6925-Sep-08 8:07
professionalDaveyM6925-Sep-08 8:07 
GeneralRe: WinForm to PDA? Pin
NewToAspDotNet25-Sep-08 13:10
NewToAspDotNet25-Sep-08 13:10 
QuestionSafe Event-Based Chat Server Pin
davidhere4024-Sep-08 7:30
davidhere4024-Sep-08 7:30 
What is the best way to avoid connection, or thread pool limitations for my application? And am I doing it correctly?

I'm designing my own chat. It's necessary because my design is very different from any available out there. Because of the new security features in IE I can't use a different server than my website server for processing chat requests. I'm forced to combine my web app with my chat server.

So, my plan was to use ajax to make a page request. The page would then use asp.net 2.0's asynchronous pages feature to start a new thread and release the Thread that processes page requests. Then my plan was to have the thread wait until a new message comes in if I have no messages to send to the client immediately.

My two main uncertainties are this:
1) How do I best wait for new messages? Should I use a wait and notify? Should I use a WaitHandle(never used it before). Will I run out of threads in the thread pool from using these methods because they block? Is there a way to wait and release the threads at the same time?
2) Is there a limit on the number of connections that can be made to a web server. I want every client on my website to be able to receive notifications of new chat messages immediately, without polling. So, am I doing it right or should I use some sort of callback method that doesn't keep a connection open. is that possible???
QuestionStart Outlook Mail Message w/Attachments Pin
J$24-Sep-08 6:48
J$24-Sep-08 6:48 
AnswerRe: Start Outlook Mail Message w/Attachments Pin
J$24-Sep-08 8:27
J$24-Sep-08 8:27 
QuestionXml Serialization Pin
CodingYoshi24-Sep-08 6:03
CodingYoshi24-Sep-08 6:03 
AnswerRe: Xml Serialization Pin
Le centriste24-Sep-08 6:25
Le centriste24-Sep-08 6:25 
GeneralRe: Xml Serialization Pin
CodingYoshi24-Sep-08 7:50
CodingYoshi24-Sep-08 7:50 
AnswerRe: Xml Serialization [modified] Pin
DaveyM6924-Sep-08 7:30
professionalDaveyM6924-Sep-08 7:30 
GeneralRe: Xml Serialization Pin
CodingYoshi24-Sep-08 7:48
CodingYoshi24-Sep-08 7:48 
GeneralRe: Xml Serialization Pin
DaveyM6924-Sep-08 8:01
professionalDaveyM6924-Sep-08 8:01 
GeneralRe: Xml Serialization Pin
Mark Salsbery24-Sep-08 8:05
Mark Salsbery24-Sep-08 8:05 
AnswerRe: Xml Serialization Pin
PIEBALDconsult24-Sep-08 17:23
mvePIEBALDconsult24-Sep-08 17:23 
Questionhow can i save the images,circles,rectangle,lines or etc together.. Pin
maifs24-Sep-08 4:20
maifs24-Sep-08 4:20 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
Wes Aday24-Sep-08 4:40
professionalWes Aday24-Sep-08 4:40 
GeneralRe: how can i save the images,circles,rectangle,lines Pin
maifs24-Sep-08 5:05
maifs24-Sep-08 5:05 
GeneralRe: how can i save the images,circles,rectangle,lines Pin
Wes Aday24-Sep-08 5:20
professionalWes Aday24-Sep-08 5:20 
GeneralRe: how can i save the images,circles,rectangle,lines Pin
maifs24-Sep-08 6:23
maifs24-Sep-08 6:23 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
Pedram Behroozi24-Sep-08 6:12
Pedram Behroozi24-Sep-08 6:12 
AnswerRe: how can i save the images,circles,rectangle,lines or etc together.. Pin
oobimoo24-Sep-08 6:16
oobimoo24-Sep-08 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.