Click here to Skip to main content
15,911,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir,

I would like to know what is the reason that our web.config made up of xml why not it is made up of javascript or any other language.

THanks in advance
Posted

First thing you need to note is
XML is Markup language and Javascript is Scripting language

Markup languages are modern systems for annotating a text in a way that is syntactically distinguishable from that text. they are more descriptive than text.

Javascript, vbscripting are scripting languages used to validate client input and process data.
 
Share this answer
 
Comments
Manisha Tambade 22-Nov-11 6:22am    
My vote 5,for more elaboration.
Michel [mjbohn] 22-Nov-11 8:00am    
Good explanation. My 5
Since Xml is very user friendly and self describing compare to other.
 
Share this answer
 
v2
XML tags are not predefined. You can define your own tags as you need.In config file, all tags have special meaning.These tags use to configure ASP.Net setting.
Web.config files modify the default settings stipulated in Machine.config.
take a look of web.config
Web.config

Hope it helps....
 
Share this answer
 

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