Click here to Skip to main content
15,911,132 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: .Net app crashes on startup Pin
#realJSOP31-Oct-08 0:23
professional#realJSOP31-Oct-08 0:23 
Questionenterprise application...? Pin
DavidRF29-Oct-08 1:57
DavidRF29-Oct-08 1:57 
GeneralRe: enterprise application...? Pin
Simon P Stevens29-Oct-08 5:41
Simon P Stevens29-Oct-08 5:41 
AnswerRe: enterprise application...? Pin
Mark Churchill2-Nov-08 14:48
Mark Churchill2-Nov-08 14:48 
QuestionNot able to create bluetooth socket on wince device - HP iPAQ Pin
yudhisthira28-Oct-08 18:55
yudhisthira28-Oct-08 18:55 
QuestionAssigning a custom TypeConverter to array of ushort in the property grid Pin
jonesst9928-Oct-08 8:23
jonesst9928-Oct-08 8:23 
QuestionSOAP Timeout Pin
Patje27-Oct-08 23:41
Patje27-Oct-08 23:41 
AnswerRe: SOAP Timeout Pin
Mark Churchill28-Oct-08 14:35
Mark Churchill28-Oct-08 14:35 
I had a similar issue where I needed to calculate machine collision data on demand, which took a few seconds. This taking a few seconds means that the data doesnt need to be that fresh (as its going to take a while to calculate anyway). I'm assuming that if the client can be happy with a timeout on the call, then getting old data won't matter.

If you want to just speed up the number of calls while still service relatively fresh data, stick your intensive calcuation in a block, and cache the results. Set your WCF service to multithreaded. Use Monitor.TryEnter to only allow one thread to enter the calculation code, and if the request isn't calculating (TryEnter returns false) then serve them the cached result of the last calculation.

If you absolutely need everyones data, and its all sequential then they might just have to post data, get a sequence number, and retrieve their results in a second call. This would ensure you won't drop any data.


GeneralRe: SOAP Timeout Pin
Patje28-Oct-08 22:23
Patje28-Oct-08 22:23 
QuestionUnicode Pin
Hooman12327-Oct-08 3:55
Hooman12327-Oct-08 3:55 
AnswerRe: Unicode Pin
Luc Pattyn27-Oct-08 6:12
sitebuilderLuc Pattyn27-Oct-08 6:12 
QuestionRe: Unicode Pin
Mark Salsbery27-Oct-08 6:31
Mark Salsbery27-Oct-08 6:31 
GeneralRe: Unicode Pin
Luc Pattyn27-Oct-08 6:42
sitebuilderLuc Pattyn27-Oct-08 6:42 
GeneralRe: Unicode Pin
Mark Salsbery27-Oct-08 6:46
Mark Salsbery27-Oct-08 6:46 
QuestionAsynchronous messaging with web service Pin
Metal7625-Oct-08 0:55
Metal7625-Oct-08 0:55 
AnswerRe: Asynchronous messaging with web service Pin
Wendelius25-Oct-08 2:19
mentorWendelius25-Oct-08 2:19 
QuestionFetching values from GAL using Outlook Component [modified] Pin
Vipul Mehta23-Oct-08 22:48
Vipul Mehta23-Oct-08 22:48 
QuestionUNC (Uniform naming convention) paths Pin
pacoxl23-Oct-08 4:28
pacoxl23-Oct-08 4:28 
QuestionRe: UNC (Uniform naming convention) paths Pin
led mike23-Oct-08 5:54
led mike23-Oct-08 5:54 
AnswerRe: UNC (Uniform naming convention) paths Pin
pacoxl23-Oct-08 6:18
pacoxl23-Oct-08 6:18 
QuestionGuard Conditions and Control Enablement Pin
Tristan Rhodes23-Oct-08 2:59
Tristan Rhodes23-Oct-08 2:59 
QuestionRe: Guard Conditions and Control Enablement Pin
led mike23-Oct-08 5:20
led mike23-Oct-08 5:20 
AnswerRe: Guard Conditions and Control Enablement [modified] Pin
Tristan Rhodes23-Oct-08 5:58
Tristan Rhodes23-Oct-08 5:58 
GeneralRe: Guard Conditions and Control Enablement Pin
Pete O'Hanlon23-Oct-08 22:06
mvePete O'Hanlon23-Oct-08 22:06 
GeneralRe: Guard Conditions and Control Enablement Pin
Tristan Rhodes24-Oct-08 5:10
Tristan Rhodes24-Oct-08 5:10 

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.