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

.NET (Core and Framework)

 
AnswerRe: Why do we JIT compile everytime a program runs in.NET? Pin
jschell10-Apr-13 8:22
jschell10-Apr-13 8:22 
QuestionThe SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Jak Anil9-Apr-13 6:44
Jak Anil9-Apr-13 6:44 
AnswerRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Bernhard Hiller9-Apr-13 23:34
Bernhard Hiller9-Apr-13 23:34 
GeneralRe: The SELECT permission was denied on the object 'services', database 'mssqlsystemresource', schema 'sys'. Pin
Jak Anil9-Apr-13 23:49
Jak Anil9-Apr-13 23:49 
QuestionRegarding LdapSessionOptions.SecureSocketLayer Pin
Gaurav wpf9-Apr-13 2:27
Gaurav wpf9-Apr-13 2:27 
QuestionWPF Dialog locks all threads Pin
AeroClassics8-Apr-13 18:32
professionalAeroClassics8-Apr-13 18:32 
AnswerRe: WPF Dialog locks all threads Pin
Richard Deeming9-Apr-13 4:21
mveRichard Deeming9-Apr-13 4:21 
GeneralRe: WPF Dialog locks all threads Pin
AeroClassics9-Apr-13 12:13
professionalAeroClassics9-Apr-13 12:13 
Richard, thank you. Very much! An excellent suggestion! However after a sleepless night (anybody know why stuff like this always happens on site during acceptance testing?) a good friend this morning showed me error of my ways. You, see, the only problem was I have a wretched case of idiotitis. In my zeal to explore the nooks and crannies of this Windows world I made the decision that a nice clean way to allow objects to get information from other objects was exposé an event and delegate. Seemed reasonable to me at the time. Having spent most of my life in a world where objects on different threads have REAL boundaries I assumed that if some object from another thread registered a handler that naturally when that handler was invoked from thread 2 that the event would interrupt thread 1 it would process the event and thread 2 would go merrily on its way. Nope. Thread 2 runs the event handler. Well when the thread that is minding your comms is now suddenly executing code in MainWindow which consists of putting up a dialog guess who isn't watching his comms.

Error of my ways #2 has to do with where one starts threads, which is the point you are making. I was informed that launching critical long running tasks from the MainWindow code was not a very good idea. Suggestion was to move them to the App class and override OnStartup. Which I have now done. That does create several questions but I will save them for another day.

Error of my ways #3 was to foolishly mentally assign characteristics to objects in threads as I would to a process of lightweight thread in other operating systems. Not a good analogy.


Sorry for the length but somebody out there will make the same boo-boo someday.

Thank you again,
Doug
I am a Traveler
of both Time and Space

QuestionDifference between MVC3 and MVC4 Pin
Jak Anil5-Apr-13 0:58
Jak Anil5-Apr-13 0:58 
AnswerRe: Difference between MVC3 and MVC4 Pin
Dave Kreskowiak5-Apr-13 1:55
mveDave Kreskowiak5-Apr-13 1:55 
Questionvb.net save/load from/to multiple richtextboxes Pin
Member 97065125-Apr-13 0:27
Member 97065125-Apr-13 0:27 
AnswerRe: vb.net save/load from/to multiple richtextboxes Pin
Eddy Vluggen5-Apr-13 0:32
professionalEddy Vluggen5-Apr-13 0:32 
QuestionReturning Complex Objects using Linq to Entities Pin
indian1432-Apr-13 20:59
indian1432-Apr-13 20:59 
QuestionCreating Stackbased Solutions Pin
Bram van Kampen2-Apr-13 15:08
Bram van Kampen2-Apr-13 15:08 
AnswerRe: Creating Stackbased Solutions Pin
AContractor2-Apr-13 15:31
professionalAContractor2-Apr-13 15:31 
AnswerRe: Creating Stackbased Solutions Pin
Richard MacCutchan2-Apr-13 21:55
mveRichard MacCutchan2-Apr-13 21:55 
QuestionSame reports multiple times (.rdlc) in Report viewer Pin
M. K. BASHER1-Apr-13 18:23
M. K. BASHER1-Apr-13 18:23 
AnswerRe: Same reports multiple times (.rdlc) in Report viewer Pin
Sandeep Mewara1-Apr-13 19:42
mveSandeep Mewara1-Apr-13 19:42 
GeneralRe: Same reports multiple times (.rdlc) in Report viewer Pin
M. K. BASHER1-Apr-13 20:05
M. K. BASHER1-Apr-13 20:05 
GeneralRe: Same reports multiple times (.rdlc) in Report viewer Pin
Sandeep Mewara1-Apr-13 22:05
mveSandeep Mewara1-Apr-13 22:05 
Questionlanguage conversion problem Pin
Member 995133030-Mar-13 2:03
Member 995133030-Mar-13 2:03 
AnswerRe: language conversion problem Pin
Dave Kreskowiak30-Mar-13 4:16
mveDave Kreskowiak30-Mar-13 4:16 
AnswerRe: language conversion problem Pin
Thomas Daniels30-Mar-13 4:43
mentorThomas Daniels30-Mar-13 4:43 
AnswerRe: language conversion problem Pin
Abhinav S1-Apr-13 22:24
Abhinav S1-Apr-13 22:24 
AnswerRe: language conversion problem Pin
tumbledDown2earth4-Apr-13 22:46
tumbledDown2earth4-Apr-13 22:46 

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.