Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
hi
why we use xml file in asp.net? & what is advantage of xml in asp.net.
Posted 18-Jan-13 4:53am
Comments
Sergey Alexandrovich Kryukov at 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.
—SA

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
Espen Harlinn at 18-Jan-13 11:46am
   
5'ed!
Abhinav S at 18-Jan-13 12:03pm
   
Thank you Espen.
Sergey Alexandrovich Kryukov at 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...
—SA

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 676
1 OriginalGriff 385
2 CPallini 240
3 PIEBALDconsult 150
4 Magic Wonder 131
0 OriginalGriff 5,835
1 Sergey Alexandrovich Kryukov 5,198
2 CPallini 4,740
3 George Jonsson 3,167
4 Gihan Liyanage 2,470


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
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