Link to home
Create AccountLog in
Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

asked on

Web.Config

Hi Experts,
Please help me understand the followings in web.config file.  Thanks a lot in advance.



1.
<configSections>
      <section name="XXXX.Data" type="XXXX.Core.Data.Config.DataConfigurationSection,XXXX.Core.Data" />

      <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXX">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                  <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXX" requirePermission="false" allowDefinition="MachineToApplication"/>
                  <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXX"> </sectionGroup>
            </sectionGroup>
        </sectionGroup>
</configSections>


2.
<!--Tokenization Settings-->
<add key="ApplicationID" value="8a118a276bc6-18a2x-8a11-8b61-ea9c578y4138"/>
<add key="ApplicationPassword" value="x8m7Q*.9"/>


3.
<!--LDAP Settings-->
<add key="BindPassword" value=""/>
<add key="LDAPRoot" value="LDAP://xxx.local"/>

4.
<location path="scripts">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
</location>


5.
  <system.codedom>
      <compilers>
          <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b89a6c876587e987" warningLevel="5">
            <providerOption name="CompilerVersion" value="v3.5"/>
            <providerOption name="WarnAsError" value="false"/>
         </compiler>
      </compilers>
  </system.codedom>


6.
  <system.webServer>
      <validation validateIntegratedModeConfiguration="false"/>
      <modules>
          <remove name="ScriptModule"/>
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxx"/>
      </modules>
      
      <handlers>
              <remove name="WebServiceHandlerFactory-Integrated"/>
             <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx"/>
      </handlers>
 </system.webServer>
Avatar of Kamal Khaleefa
Kamal Khaleefa
Flag of Kuwait image

hi

Web.config is the main settings and configuration file for an ASP.net web application

 The web.config file contains information that controls module loading, security configuration
and sesstion state

each time you add a webservice or a reference ... a key will be added to your web.config
Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

ASKER

Thank you king2002.  To be more spscific, do you have any idea why do we need LDAP Settings, Tokenization Settings etc.?
ASKER CERTIFIED SOLUTION
Avatar of Kamal Khaleefa
Kamal Khaleefa
Flag of Kuwait image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thank you king2002 for your help.