Click here to Skip to main content
15,884,991 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Error 13 The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) Pin
Mark Salsbery5-Jul-11 8:21
Mark Salsbery5-Jul-11 8:21 
GeneralRe: Error 13 The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) Pin
jadughar5-Jul-11 21:53
jadughar5-Jul-11 21:53 
QuestionRe: Error 13 The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) Pin
Mark Salsbery5-Jul-11 22:04
Mark Salsbery5-Jul-11 22:04 
AnswerRe: Error 13 The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) Pin
Oludayo Alli19-Aug-11 6:04
Oludayo Alli19-Aug-11 6:04 
QuestionMultiple calls to same wcf service method from Silverlight application Pin
Pankaj Chamria3-Jul-11 23:01
Pankaj Chamria3-Jul-11 23:01 
AnswerRe: Multiple calls to same wcf service method from Silverlight application Pin
Abhinav S4-Jul-11 3:22
Abhinav S4-Jul-11 3:22 
AnswerRe: Multiple calls to same wcf service method from Silverlight application Pin
Mark Salsbery4-Jul-11 8:54
Mark Salsbery4-Jul-11 8:54 
AnswerRe: Multiple calls to same wcf service method from Silverlight application Pin
BobJanova5-Jul-11 0:59
BobJanova5-Jul-11 0:59 
You mean the UserState on the server, right?

Either you need to write the service so that it can cope with being run concurrently, or wrap the content of that method with lock(UserState){ ... }. (You don't want to use [Synchronized] because it should be able to run concurrently for different users, even if making it work concurrently for the same one is too hard.) Obviously, the first way is preferred.

I'm guessing your method is actually not just a 'GetAllXxx' but instead updates some server state, because there should be no problem with doing multiple gets in parallel, and also you would not need to call that multiple times (the result could be cached).

Can you explain a bit more about what the service method is doing and why you need to call it multiple times? I would expect that it would be possible to bundle the requests up into a single service call in some way, reducing network traffic as well as reducing your concurrency issues. But you should still write a robust service regarding concurrency.
QuestionProblem with DataGrid Rows in WPF Pin
Member 29729921-Jul-11 3:24
Member 29729921-Jul-11 3:24 
AnswerRe: Problem with DataGrid Rows in WPF Pin
Mycroft Holmes2-Jul-11 12:40
professionalMycroft Holmes2-Jul-11 12:40 
QuestionQ1: Populate TreeView from source (C#) Pin
Mc_Topaz30-Jun-11 23:34
Mc_Topaz30-Jun-11 23:34 
AnswerRe: Q1: Populate TreeView from source (C#) Pin
Pete O'Hanlon1-Jul-11 0:05
mvePete O'Hanlon1-Jul-11 0:05 
QuestionQ2: Implement TreeView with multi level of data Pin
Mc_Topaz1-Jul-11 1:19
Mc_Topaz1-Jul-11 1:19 
AnswerRe: Q2: Implement TreeView with multi level of data Pin
Pete O'Hanlon1-Jul-11 1:30
mvePete O'Hanlon1-Jul-11 1:30 
GeneralRe: Q2: Implement TreeView with multi level of data Pin
Mc_Topaz1-Jul-11 2:14
Mc_Topaz1-Jul-11 2:14 
GeneralRe: Q2: Implement TreeView with multi level of data Pin
Pete O'Hanlon1-Jul-11 2:22
mvePete O'Hanlon1-Jul-11 2:22 
QuestionQ3: Implement TreeView with two data source classes [modified] Pin
Mc_Topaz3-Jul-11 23:45
Mc_Topaz3-Jul-11 23:45 
QuestionSync call to WCF Methods Pin
NTheOne30-Jun-11 19:03
NTheOne30-Jun-11 19:03 
AnswerRe: Sync call to WCF Methods Pin
Pete O'Hanlon30-Jun-11 21:41
mvePete O'Hanlon30-Jun-11 21:41 
QuestionCreate event in UserControl Pin
jadughar30-Jun-11 10:55
jadughar30-Jun-11 10:55 
AnswerRe: Create event in UserControl Pin
Mark Salsbery30-Jun-11 13:43
Mark Salsbery30-Jun-11 13:43 
GeneralRe: Create event in UserControl Pin
jadughar30-Jun-11 21:12
jadughar30-Jun-11 21:12 
GeneralRe: Create event in UserControl Pin
Mark Salsbery1-Jul-11 6:26
Mark Salsbery1-Jul-11 6:26 
GeneralRe: Create event in UserControl Pin
jadughar1-Jul-11 7:59
jadughar1-Jul-11 7:59 
GeneralRe: Create event in UserControl Pin
Mark Salsbery1-Jul-11 8:09
Mark Salsbery1-Jul-11 8:09 

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.