Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: App configuration file (App.config) Pin
xoph21-Aug-03 0:26
xoph21-Aug-03 0:26 
Generalremote shutdown Pin
Podolak19-Aug-03 23:12
Podolak19-Aug-03 23:12 
GeneralRe: remote shutdown Pin
Kannan Kalyanaraman19-Aug-03 23:59
Kannan Kalyanaraman19-Aug-03 23:59 
GeneralRe: remote shutdown Pin
Turtle Hand20-Aug-03 7:55
Turtle Hand20-Aug-03 7:55 
GeneralRe: remote shutdown Pin
Alex Korchemniy20-Aug-03 12:51
Alex Korchemniy20-Aug-03 12:51 
GeneralI want to test the activity on the com ports/ SP2 etc Pin
Regardt19-Aug-03 22:59
Regardt19-Aug-03 22:59 
QuestionLifetime for server activated singleton? Pin
devvvy19-Aug-03 21:31
devvvy19-Aug-03 21:31 
AnswerRe: Lifetime for server activated singleton? Pin
James T. Johnson19-Aug-03 22:23
James T. Johnson19-Aug-03 22:23 
norm wrote:
What's the difference between server activated SingleCall and Singleton again?

Using SingleCall will result in a new object being created for each method call, so lifetime isn't really a concern here.

Using Singleton will result in either a new object or the same object being used for each method call. At any one time there will be 0 or 1 of the Singleton objects available. And that object will be available as long as the object is kept alive.

By default the life time of an object starts out at a set value and gets extended for every call to that object. You can change this behavior by overriding the two Lifetime related methods on your MarshalByRefObject class.

MSDN has more information available on the various Lifetime topics, I think a search for ILease will help.

James

"My words but a whisper -- your deafness a SHOUT.
I may make you feel but I can't make you think.
" - Thick as a Brick, Jethro Tull 1972

GeneralRe: Lifetime for server activated singleton? Pin
Philip Fitzsimons20-Aug-03 2:47
Philip Fitzsimons20-Aug-03 2:47 
GeneralPosting Forms Pin
Meysam Mahfouzi19-Aug-03 18:29
Meysam Mahfouzi19-Aug-03 18:29 
GeneralRe: Posting Forms Pin
xoph21-Aug-03 0:38
xoph21-Aug-03 0:38 
GeneralRe: Posting Forms Pin
Meysam Mahfouzi21-Aug-03 19:51
Meysam Mahfouzi21-Aug-03 19:51 
GeneralRe: Posting Forms Pin
xoph23-Aug-03 0:42
xoph23-Aug-03 0:42 
GeneralRe: Posting Forms Pin
Meysam Mahfouzi23-Aug-03 16:56
Meysam Mahfouzi23-Aug-03 16:56 
GeneralRegular Expression query Pin
Nish Nishant19-Aug-03 18:10
sitebuilderNish Nishant19-Aug-03 18:10 
GeneralRe: Regular Expression query Pin
Nish Nishant19-Aug-03 18:18
sitebuilderNish Nishant19-Aug-03 18:18 
GeneralRe: Regular Expression query Pin
Nick Parker19-Aug-03 18:36
protectorNick Parker19-Aug-03 18:36 
GeneralRe: Regular Expression query Pin
Nish Nishant19-Aug-03 18:44
sitebuilderNish Nishant19-Aug-03 18:44 
GeneralRe: Regular Expression query Pin
Nick Parker19-Aug-03 18:49
protectorNick Parker19-Aug-03 18:49 
GeneralRe: Regular Expression query Pin
Nish Nishant19-Aug-03 19:06
sitebuilderNish Nishant19-Aug-03 19:06 
GeneralRe: Regular Expression query Pin
Nish Nishant19-Aug-03 18:41
sitebuilderNish Nishant19-Aug-03 18:41 
GeneralRe: Regular Expression query Pin
Philip Fitzsimons20-Aug-03 2:51
Philip Fitzsimons20-Aug-03 2:51 
QuestionHow would I implement this? Pin
deanoA19-Aug-03 17:07
deanoA19-Aug-03 17:07 
AnswerRe: How would I implement this? Pin
Nick Parker19-Aug-03 17:37
protectorNick Parker19-Aug-03 17:37 
GeneralRe: How would I implement this? Pin
Frank Olorin Rizzi20-Aug-03 1:54
Frank Olorin Rizzi20-Aug-03 1:54 

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.