Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sun, 16 Mar 2008 19:19:28 -0400
Dave wrote:
We have a DB2 database. I am assuming I can write a WCF service to access this database and return the data from the service to a WPF front end app (the service and front end will be on different machines).
Yes. Note though that a SOA web service is supposed to expose
business services not raw table data.
Will the data from the service be returned in only XML format or can the service send the data back in another format?
WCF support multiple formats including SOAP and Remoting (equivalent
to Java RMI).
If it sends back only in XML then can I use LINQ to XML to display the data in a WPF front end?
In theory yes, but that would be a cumbersome way to do it.
Let .NET unpack it so you have the same data structure as the server
send.
Arne
.
- Prev by Date: Re: C# app with COM Interface for array of COM structs
- Next by Date: Re: Casting DataTable to typed when using DataTableExtensions.CopyToDataTable
- Previous by thread: Casting DataTable to typed when using DataTableExtensions.CopyToDataTable
- Next by thread: Re: Beginner with Questions re: WPF, WCF, LINQ
- Index(es):
Relevant Pages
|
Loading