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
What does a switch do?
Explain the difference between debug.write and trace.write? When should each be used?
What is owin authentication?
How to turn off cookies for a page?
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
What are the advantages of asp.net?
What is difference between session and application in asp net?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is the request flow used for asp.net mvc framework? : asp.net mvc
What is the use of placeholder control? Can we see it at runtime?
What is the difference between page-level caching and fragment caching?
How does u get record no from 5 to 15 from a dataset of 100 records?
Is asp.net outdated?
How information about the user's locale can be accessed?
What is razor? : asp.net mvc