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

.NET (Core and Framework)

 
GeneralSocket type/protocol question Pin
harningt17-Mar-04 16:44
harningt17-Mar-04 16:44 
QuestionHow to set "Special Build" attribute in Assembly? Pin
Noodnik15-Mar-04 19:04
Noodnik15-Mar-04 19:04 
AnswerRe: How to set "Special Build" attribute in Assembly? Pin
Mike Dimmick16-Mar-04 1:56
Mike Dimmick16-Mar-04 1:56 
QuestionChannelServices out of scope exception? Pin
LilyofValley15-Mar-04 19:00
sussLilyofValley15-Mar-04 19:00 
QuestionSystem-wide singleton? Pin
NameOfTheDragon15-Mar-04 0:12
NameOfTheDragon15-Mar-04 0:12 
AnswerRe: System-wide singleton? Pin
Colin Angus Mackay15-Mar-04 0:32
Colin Angus Mackay15-Mar-04 0:32 
GeneralRe: System-wide singleton? Pin
NameOfTheDragon15-Mar-04 1:07
NameOfTheDragon15-Mar-04 1:07 
GeneralRe: System-wide singleton? Pin
Philip Fitzsimons15-Mar-04 2:43
Philip Fitzsimons15-Mar-04 2:43 
Yes, just create a service and expose an interface using .net remoting, that interface should not be the singleton.

i.e. you can create it as WellKnownObjectMode.Singleton but this will backfire. It is better to make the singleton a seperate class from the remoting object:

The reason for this is if your object has not been used for a long time then remoting may create a new instance, and since this is done by serialization you can end up with multiple instances!

alternativly see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeserializationiserializableclasstopic.asp[^] for info on how to handle this issue.




"When the only tool you have is a hammer, a sore thumb you will have."

AnswerRe: System-wide singleton? Pin
Curi0us_George22-Mar-04 14:17
Curi0us_George22-Mar-04 14:17 
General.Net Remoting Pin
Daniel Popa15-Mar-04 0:08
Daniel Popa15-Mar-04 0:08 
GeneralRe: .Net Remoting Pin
Philip Fitzsimons15-Mar-04 2:45
Philip Fitzsimons15-Mar-04 2:45 
Generalget your email i'll send you a c# remoting pdf book Pin
yzs18-Mar-04 0:24
yzs18-Mar-04 0:24 
GeneralDatabinding drives me crazy Pin
Jasper van Rooijen15-Mar-04 0:07
Jasper van Rooijen15-Mar-04 0:07 
GeneralRe: Databinding drives me crazy Pin
cosminadrianpopescu21-Mar-04 21:13
cosminadrianpopescu21-Mar-04 21:13 
General.NET Assembly is MFC Pin
Tarundeep Singh Kalra11-Mar-04 17:33
Tarundeep Singh Kalra11-Mar-04 17:33 
GeneralRe: .NET Assembly is MFC Pin
ian mariano11-Mar-04 18:14
ian mariano11-Mar-04 18:14 
GeneralRe: .NET Assembly is MFC Pin
Tarundeep Singh Kalra11-Mar-04 18:55
Tarundeep Singh Kalra11-Mar-04 18:55 
GeneralTreeviewnode Highlighting Pin
Anonymous11-Mar-04 14:17
Anonymous11-Mar-04 14:17 
GeneralSyntax highlghting editor Pin
Ryan Roberts10-Mar-04 23:49
Ryan Roberts10-Mar-04 23:49 
GeneralRe: Syntax highlghting editor Pin
Werdna12-Mar-04 4:40
Werdna12-Mar-04 4:40 
GeneralRe: Syntax highlghting editor Pin
Ryan Roberts12-Mar-04 4:55
Ryan Roberts12-Mar-04 4:55 
QuestionC# for Mac and Linux ? Pin
Matthew Hazlett10-Mar-04 11:13
Matthew Hazlett10-Mar-04 11:13 
AnswerRe: C# for Mac and Linux ? Pin
ian mariano11-Mar-04 18:17
ian mariano11-Mar-04 18:17 
GeneralRe: C# for Mac and Linux ? Pin
Werdna12-Mar-04 4:43
Werdna12-Mar-04 4:43 
GeneralRe: C# for Mac and Linux ? Pin
IGx8923-Mar-04 15:59
IGx8923-Mar-04 15:59 

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.