What is custom tag in web.config ?
Answers were Sorted based on User's Feedback
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 |
What is the difference between user control an custom control?
How do you do exception management
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" %>
Where would you use an ihttpmodule, and what are the limitations of any?
can i call the java script to code behind file?if yes how?
What is work flow gen? how can it will work with .Net?
What are the advantages of Web API?
What is the base class of .NET?
For a webapplication if i want to gice access controls like admin,users how can i give security like rolebased?
What is a Cookie? Where is it used in ASP.NET?
Can a user browsing my Web site read my Web.config or Global.asax files ?
In ViewState How much lifespan items stored?