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


Please Help Members By Posting Answers For Below Questions

How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

693


What is the good practice to implement validations in aspx page?

838


What is the difference between custom web user control and a custom web server control?

700


What are the difference between overriding and overloading?

698


How to handle errors in Web API?

860


What is the current version of asp.net?

690


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

842


Why is asp.net so popular?

694


What is localhost in asp.net?

773


Explain the namespace classes used in asp.net mvc? : asp.net mvc

729


What is a ashx file?

753


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

736


What is the difference between session and viewstate in asp.net?

846


What are session and cookies?

717


How ViewstateMac works?

2555