Click here to Skip to main content
15,565,146 members
Home / Discussions / C#
   

C#

 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 7:35
Kentamanos14-Jan-04 7:35 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 8:45
protectorHeath Stewart14-Jan-04 8:45 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 10:05
Kentamanos14-Jan-04 10:05 
Generalremoting "newbie" questions Pin
Palladino14-Jan-04 3:24
Palladino14-Jan-04 3:24 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 4:07
LongRange.Shooter14-Jan-04 4:07 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 4:23
LongRange.Shooter14-Jan-04 4:23 
GeneralRe: remoting "newbie" questions Pin
Palladino14-Jan-04 9:13
Palladino14-Jan-04 9:13 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 11:46
LongRange.Shooter14-Jan-04 11:46 
The only item that I would say you should make an adjustment to is the ISerializable implementation. The reason I say so is that you have to implement your own serializer/deserializer!!!

Just add the [Serializable] attribute. The process of 'going remote' goes through several SinkProviders including the BinarySerializer. So implementing the ISerializable interface just creates redundancy.


Now ---> once you get everything set to run with SAO instead of CAO, all you need to do is the following:

1) Get your app finished and working so your server objects
are stabilized
2) Set up a stress test if possible
3) Now you can compare the impacts to your app on whether or
not you should be Singleton or SingleCall.

IMHO -- this ends being based on application process and design rather than just a cookie-cutter decision. For my app, I found that having the objects there was great and the Singletons will eventually be flushed if no activity occurs, but remain when activity is high.

For me, I was initializing collections of objects remotely and passing single instances back to the caller. Great setup for a Singleton. If I did not need the populated collections, I probably could get away with the SingleCall.

Enjoy!

Michael

_____________________________________________
Of all the senses I could possibly lose,
It is most often the one called 'common' that gets lost.

GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 2:36
Palladino15-Jan-04 2:36 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 3:55
LongRange.Shooter15-Jan-04 3:55 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 4:24
LongRange.Shooter15-Jan-04 4:24 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 6:43
Palladino15-Jan-04 6:43 
GeneralDebugging Pin
jyoti doiphode14-Jan-04 0:58
jyoti doiphode14-Jan-04 0:58 
GeneralRe: Debugging Pin
Heath Stewart14-Jan-04 5:41
protectorHeath Stewart14-Jan-04 5:41 
GeneralFinding names of local user accounts Pin
EnkelIk14-Jan-04 0:46
EnkelIk14-Jan-04 0:46 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 3:51
Mazdak14-Jan-04 3:51 
GeneralRe: Finding names of local user accounts Pin
EnkelIk14-Jan-04 5:54
EnkelIk14-Jan-04 5:54 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 9:20
Mazdak14-Jan-04 9:20 
GeneralReversible Frames on Windows Forms Pin
occcy13-Jan-04 23:22
occcy13-Jan-04 23:22 
GeneralRe: Reversible Frames on Windows Forms Pin
Heath Stewart14-Jan-04 5:14
protectorHeath Stewart14-Jan-04 5:14 
QuestionHow use Ms treeView In asp.net Pin
Old Gun13-Jan-04 23:03
Old Gun13-Jan-04 23:03 
AnswerRe: How use Ms treeView In asp.net Pin
Heath Stewart14-Jan-04 5:04
protectorHeath Stewart14-Jan-04 5:04 
GeneralRe: How use Ms treeView In asp.net Pin
Not Active14-Jan-04 8:02
mentorNot Active14-Jan-04 8:02 
Generalsharing internet offline files Pin
Mohamad Al Husseiny13-Jan-04 19:18
Mohamad Al Husseiny13-Jan-04 19:18 
GeneralRe: sharing internet offline files Pin
Heath Stewart14-Jan-04 5:02
protectorHeath Stewart14-Jan-04 5:02 

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.