Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sun, 16 Mar 2008 19:40:31 -0400
Dave wrote:
I was thinking the webserver would do something like:
User sends "Account Number" to service
Service replies with "Account Information, Balance, etc etc".
Then the front end would display the returned information somehow.
When you say "Let .NET unpack it" to get the same "data structure", are you saying the Service can return data in a dat structure instead of just XML data? If so, what is the technical term for this so I can start investigating this way?
yes
web reference
web service stub
Let me give an example.
Oldfashioned .asmx not WCF, but anyway.
Server side:
public class Test : WebService
{
[WebMethod]
public Foobar TestIt()
{
Foobar res = new Foobar();
res.Iv = 123;
res.Sv = "ABC";
return res;
}
}
Client side:
Test serv = new Test();
Foobar tst = serv.TestIt();
The Test and Foobar class used client side are generated
from the WSDL of the web service.
Remoting works similar.
And WCF as well (from what I have read - I have not used WCF yet).
Arne
.
- Follow-Ups:
- References:
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj
- Re: Beginner with Questions re: WPF, WCF, LINQ
- Prev by Date: Re: Working with dates and times
- Next by Date: Re: Beginner with Questions re: WPF, WCF, LINQ
- Previous by thread: Re: Beginner with Questions re: WPF, WCF, LINQ
- Next by thread: Re: Beginner with Questions re: WPF, WCF, LINQ
- Index(es):
Loading