Frequently Asked Question

FAQ / Windows Shared Hosting


What is the coding used in section group of the web.config file?

Use the below mentioned code in 'Section Group' of the web.config file to declare a section group and declare sections within a section group.

Code:

</b>
<font color="#0033ff">
<configuration>
</font>
<font color="#0033ff"> 
<configSections>
</font>
<font color="#0033ff">   
<sectionGroup name="mySectionGroup">
</font>
<font color="#0033ff">     
<section name="mySection"
</font>
<font color="#0033ff">               type="System.Configuration.NameValueSectionHandler,System" />
</font>
<font color="#0033ff">   
</sectionGroup>
</font>
<font color="#0033ff"> 
</configSections>
</font>
<font color="#0033ff"> 
<mySectionGroup>
</font>
<font color="#0033ff">   
<mySection>
</font>
<font color="#0033ff">     
<add key="key1" value="value1" />
</font>
<font color="#0033ff">   
</mySection>
</font>
<font color="#0033ff"> 
</mySectionGroup>
</font>
<font color="#0033ff">
</configuration>
</font>
<b>


How this faq is helpful:

Not at all
helpful
Not much
helpful
Some what
helpful
Very
helpful
Extremely
helpful

What could be better? (Optional)
X
  Not related to my issue
  Too complicated explanations
  Too much information
  Incorrect information
  Unclear information
  Incomplete information
  Too old information
Do you have any other feedback about this faq ?
1000

Related Tags :