Why can not datareader by returned from a web services method?
Answer / Anurag Khare
{"DataReader cannot be returned from a web service because it is a forward-only, read-only data stream that does not support serialization. ASOX (XML Serialization) or JSON are commonly used to transfer data from a web service to the client."}
| Is This Answer Correct ? | 0 Yes | 0 No |
What does a linq query return?
Is linq to sql dead?
What is difference between XElement and XDocument?
What is the difference between the Select clause and SelectMany() method in LINQ?
What is select clause and where clause in linq?
What is lambda expression in linq?
What is difference between linq and lambda expression?
When linq query is executed?
Which one is fast between SingleOrDefault and FirstOrDefault?
What are linq extension methods?
What are lazy/deferred loading and eager loading?
What is into in linq?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)