Click here to Skip to main content
12,547,922 members (44,933 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
why we use xml file in & what is advantage of xml in
Posted 18-Jan-13 4:53am
Sergey Alexandrovich Kryukov 18-Jan-13 19:49pm
The term "advantage" is only good it you compare something with something. Without it, the question is totally pointless.
XML is important (most of all, not because it is good — it is not so good), but because it is standardized. However, it does not matter if it is ASP.NET or not. Again, incorrect question.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

We don't really use xml in ASP.Net.
We use a file called the web.config file. This can be used to store tons of information related to the website.
For e.g. session information, web service endpoint configuration or simply connection strings.

Web.config File - ASP.NET[^] is a quick reference to this web site.
Espen Harlinn 18-Jan-13 11:46am
Abhinav S 18-Jan-13 12:03pm
Thank you Espen.
Sergey Alexandrovich Kryukov 18-Jan-13 19:50pm
Frankly, we have no evidence that OP needs anything like Web.config. The question is just quite incorrect, based on some wrong assumption. I tried to explain it in my comment to the question, please see...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161021.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100