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

What do you mean by View State and what is its role?

524


What New Features comes with ASP.NET Web API 2.0?

537


Explain the difference between debug.write and trace.write?

525


What is a web farm?

586


What is the difference between session object and application object?

583






How many types of session state management options available in asp.net?

531


Why is xap important?

591


What can we do with asp.net?

505


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

578


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1458


Can you set which type of comparison you want to perform by the comparevalidator control?

514


How about the security in Activex DLL and Activex EXE ?

1777


In Code-Behind class which kind of code (server or client) is found ?

590


What are the different types of sessions in asp.net?

486


what are the ihttphandler and ihttphandlerfactory interfaces ?

509