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

C#

 
GeneralRe: How would I implement this? Pin
Nick Parker20-Aug-03 3:25
protectorNick Parker20-Aug-03 3:25 
GeneralRe: How would I implement this? Pin
Philip Fitzsimons20-Aug-03 4:42
Philip Fitzsimons20-Aug-03 4:42 
GeneralRe: How would I implement this? Pin
Nick Parker20-Aug-03 4:53
protectorNick Parker20-Aug-03 4:53 
GeneralRe: How would I implement this? Pin
Philip Fitzsimons20-Aug-03 5:07
Philip Fitzsimons20-Aug-03 5:07 
General.net remoting and business objects Pin
Member 9619-Aug-03 16:43
Member 9619-Aug-03 16:43 
GeneralRe: .net remoting and business objects Pin
Carl Mercier19-Aug-03 17:06
Carl Mercier19-Aug-03 17:06 
GeneralRe: .net remoting and business objects Pin
Member 9619-Aug-03 19:54
Member 9619-Aug-03 19:54 
GeneralRe: .net remoting and business objects Pin
Heath Stewart20-Aug-03 2:35
protectorHeath Stewart20-Aug-03 2:35 
Inheriting from MarshalByRefObject doesn't hurt anything if you're not using remoting. Heck, almost everything in the Windows Forms does! (those that inherit from Control, which inherits from Component, that inherits from MarshalByRefObject). It that way with any OO design and inheritance - only use what you want to. It's field values that take up space in memory - not a gazillion methods and properties. And such methods and properties won't do anything unless they're called. Heck, most of those controls aren't even remoting because they're not serializable (although you could either implement an ISerializationSurrogate for them, or extend them and mark your control as [Serializable]).

The best place to put such an object is in an assembly that both the client and server share, such as the one where the remoting interface is (assuming you're doing it that way, and you might as well since you are using a shared assembly now - it makes for easier maintainence rather than generating a new one using soapsuds.exe or something when you change your remoting object).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
QuestionAgain C# performance ..? Pin
kumaru_san19-Aug-03 16:14
kumaru_san19-Aug-03 16:14 
AnswerRe: Again C# performance ..? Pin
Member 9619-Aug-03 16:44
Member 9619-Aug-03 16:44 
GeneralRe: Again C# performance ..? Pin
Stephane Rodriguez.19-Aug-03 22:51
Stephane Rodriguez.19-Aug-03 22:51 
AnswerRe: Again C# performance ..? Pin
J. Dunlap19-Aug-03 16:45
J. Dunlap19-Aug-03 16:45 
AnswerRe: Again C# performance ..? Pin
Ista19-Aug-03 17:04
Ista19-Aug-03 17:04 
GeneralRe: Again C# performance ..? Pin
Meysam Mahfouzi19-Aug-03 17:28
Meysam Mahfouzi19-Aug-03 17:28 
GeneralRe: Again C# performance ..? Pin
Ista19-Aug-03 17:36
Ista19-Aug-03 17:36 
AnswerRe: Again C# performance ..? Pin
Rocky Moore19-Aug-03 22:07
Rocky Moore19-Aug-03 22:07 
GeneralRe: Again C# performance ..? Pin
Meysam Mahfouzi20-Aug-03 21:42
Meysam Mahfouzi20-Aug-03 21:42 
GeneralRe: Again C# performance ..? Pin
J. Dunlap20-Aug-03 22:07
J. Dunlap20-Aug-03 22:07 
QuestionDo .NET functions call Win32 API? Pin
kumaru_san19-Aug-03 15:45
kumaru_san19-Aug-03 15:45 
AnswerRe: Do .NET functions call Win32 API? Pin
J. Dunlap19-Aug-03 16:05
J. Dunlap19-Aug-03 16:05 
GeneralRe: Do .NET functions call Win32 API? Pin
Ista19-Aug-03 16:59
Ista19-Aug-03 16:59 
GeneralRe: Do .NET functions call Win32 API? Pin
J. Dunlap19-Aug-03 17:08
J. Dunlap19-Aug-03 17:08 
GeneralDropDownButtons Pin
ksjanjua19-Aug-03 12:04
ksjanjua19-Aug-03 12:04 
GeneralC# Performance Pin
Jack Puppy19-Aug-03 11:20
Jack Puppy19-Aug-03 11:20 
GeneralRe: C# Performance Pin
Member 9619-Aug-03 16:46
Member 9619-Aug-03 16: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.