I have some complex data which is used for application configuration in xml format. I want to keep this xml string in web.config. Is it possible to add a big xml string in w
There are several ways of achieving what you want (an XML fragment that is globally and statically accessible to your application code):
The web.config is already an XML file. You can write a custom configuration section (as described here) in order to fetch the data from your custom XML.
You can encode the XML data (all < to <, > to >, & to &, " to "e;)
You can put the XML data in a section
Don't use web.config for this, but a Settings file as @Yuck commented
That last option is the best one, in terms of ease of development and usage.