Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
AnswerRe: clickonce Pin
Manas Bhardwaj1-Jul-09 2:13
professionalManas Bhardwaj1-Jul-09 2:13 
GeneralRe: clickonce [modified] Pin
arkiboys1-Jul-09 2:27
arkiboys1-Jul-09 2:27 
QuestionTextbox Control function..... Pin
Hum Dum1-Jul-09 2:07
Hum Dum1-Jul-09 2:07 
AnswerRe: Textbox Control function..... Pin
musefan1-Jul-09 2:12
musefan1-Jul-09 2:12 
GeneralRe: Textbox Control function..... Pin
Hum Dum1-Jul-09 2:40
Hum Dum1-Jul-09 2:40 
GeneralRe: Textbox Control function..... Pin
musefan1-Jul-09 2:43
musefan1-Jul-09 2:43 
GeneralRe: Textbox Control function..... Pin
Hum Dum1-Jul-09 2:56
Hum Dum1-Jul-09 2:56 
GeneralRe: Textbox Control function..... Pin
dojohansen1-Jul-09 6:27
dojohansen1-Jul-09 6:27 
AnswerRe: Textbox Control function..... Pin
OriginalGriff1-Jul-09 2:16
mveOriginalGriff1-Jul-09 2:16 
GeneralRe: Textbox Control function..... Pin
Hum Dum1-Jul-09 2:46
Hum Dum1-Jul-09 2:46 
GeneralRe: Textbox Control function..... Pin
OriginalGriff1-Jul-09 3:46
mveOriginalGriff1-Jul-09 3:46 
AnswerRe: Textbox Control function..... Pin
K03061-Jul-09 2:19
K03061-Jul-09 2:19 
GeneralRe: Textbox Control function..... Pin
Luc Pattyn1-Jul-09 2:35
sitebuilderLuc Pattyn1-Jul-09 2:35 
GeneralRe: Textbox Control function..... Pin
Hum Dum1-Jul-09 2:52
Hum Dum1-Jul-09 2:52 
GeneralRe: Textbox Control function..... Pin
musefan1-Jul-09 3:06
musefan1-Jul-09 3:06 
GeneralRe: Textbox Control function..... Pin
Luc Pattyn1-Jul-09 3:38
sitebuilderLuc Pattyn1-Jul-09 3:38 
QuestionWinApp access variables in WebService...? Pin
Mtyb1-Jul-09 0:46
Mtyb1-Jul-09 0:46 
AnswerRe: WinApp access variables in WebService...? Pin
SeMartens1-Jul-09 1:28
SeMartens1-Jul-09 1:28 
AnswerRe: WinApp access variables in WebService...? Pin
dojohansen1-Jul-09 1:31
dojohansen1-Jul-09 1:31 
GeneralRe: WinApp access variables in WebService...? Pin
Mtyb1-Jul-09 2:10
Mtyb1-Jul-09 2:10 
GeneralRe: WinApp access variables in WebService...? Pin
dojohansen1-Jul-09 4:43
dojohansen1-Jul-09 4:43 
GeneralRe: WinApp access variables in WebService...? Pin
J4amieC1-Jul-09 2:45
J4amieC1-Jul-09 2:45 
GeneralRe: WinApp access variables in WebService...? Pin
dojohansen1-Jul-09 4:48
dojohansen1-Jul-09 4:48 
GeneralRe: WinApp access variables in WebService...? Pin
J4amieC1-Jul-09 7:06
J4amieC1-Jul-09 7:06 
GeneralRe: WinApp access variables in WebService...? Pin
dojohansen1-Jul-09 21:26
dojohansen1-Jul-09 21:26 
I think we need to clarify our terms here. What does it mean to pass by reference? To pass the address of the thing we're passing (which may itself be a value or a reference) rather than the value.

Since web services and clients can run on completely disparate systems there is no type affinity and no common memory management between them. It is therefore meaningless to pass by reference in the sense described above.

However, if you are using .net to implement both the web service and the client, then the tool generates a proxy object that you use on the client to invoke the operations of the service. Since the proxy runs in the client appdomain there are no issues whatsoever with passing stuff to the proxy by reference. But the proxy method still passes the parameter as a SOAP-formatted XML message to the server, receives a respose as it does for any other request, and proceeds to update the external variable using the reference that was passed to it.

In other words, the reference never leaves the client at all and it is at best misleading to say that anything is "passed to the service as a reference".

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.