Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
You have a service that receives a very large XML-based history file once a month. These files can be up to 20GB in size, and you need to retrieve the header information that contains the history date range and the customer information on which this file is based.Which class would be more appropriate to retrieve the data in these files?
on 8/13/2012 | Category:
ADO.NET Interview questions
| Views: 1756 |
Select from following answers:
XmlReader class is stream-based; you can open the file and read until you retrieve the information you need and then close the file. Thus, you don't need to allocate memory to hold the entire XML file.
The XmlDocument class needs to load the complete XML file into memory before it can be used. even if your computer had enough memory, this operation would be painfully slow.
Show Correct Answer
Many Interviews |
< Previous :
Given an XML file, you want to run several queries ...
Next > :
What is difference between Web site and Web applic ...
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
Every day, you receive hundreds of XML files. You are responsible for ...
Given an XML file, you want to run several queries for data in the fil ...
You are calling a stored procedure in SQL Server 2008 that returns a U ...
You are storing custom Car objects in a data table that will be serial ...
You are storing custom Car objects in a data table whose DataView prop ...
If you want to assign a Car object to a column called CarObject, which ...
You are writing an Entity SQL query that requires you to construct a r ...
When using a LINQ query to join two tables, you must specify how the t ...
Latest Interview Questions
What is difference between Web site and Web application ?
How can you get the ColumnName, DataType ColumnSize, IsKeyColumn, IsAu ...
Considering SELECT statement, in which order the query clauses are log ...
How do you copy the COM component to the server and register ?
It is not a good idea to add ASPNET user to the Administrators group, ...
How is the ASP.NET worker process impersonated ?
What will happen when you access the Global.asax file from a browser?