What is custom tag in web.config ?
Answer Posted / chauhan rakesh botad
Custom tag allows you to create your own tag and specify key
value pair for it.
Providing a new header information in which you can store up
your customized information. So that, by parsing appropriate
tags you can retrieve the values in run time.
To add a custom tag to Web.config you need to first
explicitly specify the new tag name in Web.config via the
<configSections> tag
<appSettings>
<add key=”Name” value=”Rakesh Chauhan”/>
<add key=”Address” value=”Botad, Gujarat” />
<add key=”Contact” value=”chauhan.rakesh514@gmail.com” />
</appSettings>
Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
What is the good practice to implement validations in aspx page?
What is the difference between custom web user control and a custom web server control?
What are the difference between overriding and overloading?
How to handle errors in Web API?
What is the current version of asp.net?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
Why is asp.net so popular?
What is localhost in asp.net?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
What is a ashx file?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
What is the difference between session and viewstate in asp.net?
What are session and cookies?
How ViewstateMac works?