What is custom tag in web.config ?

Answers were Sorted based on User's Feedback



What is custom tag in web.config ?..

Answer / jignesh panchal

user defined setting

Is This Answer Correct ?    13 Yes 1 No

What is custom tag in web.config ?..

Answer / 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

More ASP.NET Interview Questions

What is the difference between user control an custom control?

0 Answers  


How do you do exception management

1 Answers   Infosys,


You create an ASP.NET application for a hotel. The application contains a page that displays current weather conditions for the city in which the hotel is located. The application calls an XML Web service every 10 minutes to update the current weather conditions. A new page is then displayed for subsequent requests. You want the same page to be cached and retrieved from the cache during the time between calls to the XML Web service. You decide to use a Page directive to accomplish this goal. Which Page directive should you use? A . <%@ Cache Seconds="600 '' VaryByParam="Page" %> B . <%@ OutputCache Time="600" %> C . <%@ OutputCache Duration="600" VaryByParam="None" %> D . <%@ OutputCache Duration="600" %>

2 Answers   Syntax Softtech,


Where would you use an ihttpmodule, and what are the limitations of any?

0 Answers  


can i call the java script to code behind file?if yes how?

4 Answers   Wipro,






What is work flow gen? how can it will work with .Net?

0 Answers   TCS,


What are the advantages of Web API?

0 Answers  


What is the base class of .NET?

6 Answers  


For a webapplication if i want to gice access controls like admin,users how can i give security like rolebased?

2 Answers   CTS, Syncfusion,


What is a Cookie? Where is it used in ASP.NET?

0 Answers   MindCracker,


Can a user browsing my Web site read my Web.config or Global.asax files ?

1 Answers  


In ViewState How much lifespan items stored?

0 Answers   Siebel,


Categories