Click here to Skip to main content
15,741,407 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi why we use xml file in & what is advantage of xml in
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

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.
Share this answer
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)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900