Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Any performance variations between dataset and xmldatasource control?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Showjumper - 25 Jul 2007 14:36 GMT
Is one better than the other with handling xml files?

Ashok
Masudur - 26 Jul 2007 07:43 GMT
> Is one better than the other with handling xml files?
>
> Ashok

Hi Ashok

thanks for you post...  i was also curious about the issue... and did
a little google... and found some interesting facts...

"The XmlDataSource control is typically used with an XML file, and
opening and reading an XML file every time a page requested can affect
the performance of your application. Therefore, caching is enabled for
the XmlDataSource control by default"

"It is recommended that you set the EnableCaching property to false
when client impersonation is enabled and the source file for the
XmlDataSource control is retrieved based on the client identity. If
caching is enabled, cached XML data for a single user can be viewed by
all users and sensitive information could be exposed to an unwanted
source."

these above two para is mentioned in http://msdn2.microsoft.com/en-us/library/494y92bs.aspx

and i found more interesting post where it was suggested how to use
xml with dataset effectively...

"if you call ReadXml to load a very large file, you may encounter slow
performance. To ensure best performance for ReadXml, on a large file,
call the DataTable.BeginLoadData method for each table in the DataSet,
then call ReadXml. Finally, call DataTable.EndLoadData for each table
in the DataSet"

http://forums.asp.net/p/1124689/1770065.aspx...

i am expecting microsoft support gurus will help with some more detail
explanations.......... because its really a question when i should use
xmldatasource and when dataset... ????

Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.