Reputation: 3241
I need to read from a XML file, get some data from the file and return the data.
Do I need to create a WCF service for that?
If so, do i need to host the service? Im not too sure how exactly WCF works, (though Ive been through quite a few tutorials) What exactly do I need to implement? I guess the IService interface, the actual Service implementation, what about the client, do I need to worry about the client?
Thanks
Upvotes: 1
Views: 816
Reputation: 6825
WCF developed not for working with XML. You can use LinqToXml for work with XML documents. It can be simpler then using XMLReader but, you'll have problems if you want to work with really BIG XML documents.
Upvotes: 2
Reputation: 3275
No, you need an XMLReader
OLD example of a XMLReader
About WCF Services - just FYI
Upvotes: 3