Click here to Skip to main content
15,887,822 members
Home / Discussions / C#
   

C#

 
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".
QuestionDataView error: Pin
padmanabhan N1-Jul-09 0:29
padmanabhan N1-Jul-09 0:29 
AnswerRe: DataView error: Pin
Henry Minute1-Jul-09 1:38
Henry Minute1-Jul-09 1:38 
AnswerRe: DataView error: Pin
Niladri_Biswas1-Jul-09 3:12
Niladri_Biswas1-Jul-09 3:12 
QuestionHow to remove CLI Header or how to disable dissasembling of my app Pin
Matjaz-xyz30-Jun-09 23:54
Matjaz-xyz30-Jun-09 23:54 
AnswerRe: How to remove CLI Header or how to disable dissasembling of my app Pin
OriginalGriff1-Jul-09 1:07
mveOriginalGriff1-Jul-09 1:07 
GeneralRe: How to remove CLI Header or how to disable dissasembling of my app Pin
dojohansen1-Jul-09 1:37
dojohansen1-Jul-09 1:37 
GeneralRe: How to remove CLI Header or how to disable dissasembling of my app Pin
OriginalGriff1-Jul-09 1:45
mveOriginalGriff1-Jul-09 1:45 
GeneralRe: How to remove CLI Header or how to disable dissasembling of my app Pin
Matjaz-xyz1-Jul-09 1:49
Matjaz-xyz1-Jul-09 1:49 
QuestionQuestion of reason for rule "return value void for event handling delegates" Pin
Chamundi30-Jun-09 23:38
Chamundi30-Jun-09 23:38 
AnswerRe: Question of reason for rule "return value void for event handling delegates" Pin
kstls30-Jun-09 23:49
kstls30-Jun-09 23:49 
AnswerRe: Question of reason for rule "return value void for event handling delegates" Pin
Luc Pattyn30-Jun-09 23:59
sitebuilderLuc Pattyn30-Jun-09 23:59 
GeneralRe: Question of reason for rule "return value void for event handling delegates" Pin
Chamundi1-Jul-09 0:08
Chamundi1-Jul-09 0:08 
GeneralRe: Question of reason for rule "return value void for event handling delegates" Pin
Luc Pattyn1-Jul-09 0:30
sitebuilderLuc Pattyn1-Jul-09 0:30 
GeneralRe: Question of reason for rule "return value void for event handling delegates" Pin
Chamundi1-Jul-09 5:09
Chamundi1-Jul-09 5:09 
QuestionSmartNavigation Pin
minniemooo30-Jun-09 22:59
minniemooo30-Jun-09 22:59 
AnswerRe: SmartNavigation Pin
dan!sh 30-Jun-09 23:04
professional dan!sh 30-Jun-09 23:04 
QuestionAForge.net writer.Open problem Pin
tvbarnard30-Jun-09 22:47
tvbarnard30-Jun-09 22:47 

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.