Re: app.config c#

Solved! Go to solution
qwe
Helper

app.config c#

What is the configuration of the app.config in c# ?,the reference link does't work (https://github.com/visa/SampleCode/wiki/Manual)

2 REPLIES 2
jvenkata
Community Moderator

Re: app.config c#

Hi,

 

app.config sample file is attached here. Please let me know if you have any further questions.

 

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <add key="visaUrl" value="https://sandbox.api.visa.com/" />
    <add key="cert" value="YOUR p12 KEYSTORE" />
    <add key="certPassword" value="P12 PASSWORD" />
    <add key="userId" value="VDP USER ID" />
    <add key="password" value="VDP PASSWORD" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
</configuration>

 

Thanks,

Jai

qwe
Helper

Re: app.config c#

Tanks