Web.config 5.24 KB
<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=301879
  -->
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="AIAHTML5.API.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
  </configSections>

  <log4net debug="true">
    <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
      <file value="Logs\AIALogs.log" />
      <appendToFile value="true" />
      <rollingStyle value="Size" />
      <maxSizeRollBackups value="10" />
      <maximumFileSize value="10MB" />
      <staticLogFileName value="true" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%-5p %d %5rms %-22.22c{1} %-18.18M - %m%n" />
      </layout>
    </appender>

    <root>
      <level value="DEBUG" />
      <appender-ref ref="RollingLogFileAppender" />
    </root>
  </log4net>

  <appSettings>
    <!-- set Idel time 20 minute -->
    <add key="IDLE_TIME" value="1200" />
    <!-- set idle timeout 30 seconds -->
    <add key="IDLE_TIME_OUT" value="30" />
    <!-- set ping time interval 30 seconds -->
    <add key="PING_INTERVAL" value="10" />
    
    <add key="ANIMATION_HOSTING_SERVER" value="~/../content/data/AnimationMp4/" />
	  <!-- set to 50mb upload file size in byte for single file at a time -->
	  <add key="UploadMaxFileSize" value="52428800" />
  
    <add key="SenderEmailAddress" value="support@interactiveanatomy.com" />
	<!--<add key="SenderEmailAddress" value="support@interactiveanatomy.com" />-->
    <add key="ErrorNotificationEmailAddress" value="support@interactiveanatomy.com" />
    <add key="SenderPassword" value="" />
     <!-- <add key="SMTPAddress" value="10.100.12.13" />-->
    <add key="SMTPAddress" value="10.100.10.232" />
	
    <add key="SMTPPort" value="25" />
    <add key="EnableSSL" value="false" />
    <add key="Site_Url" value ="http://qa.beta.interactiveanatomy.com/"/>
    <add key ="HostAddress" value="10.100.12.13" />
    <add key="AdminSupport" value="sumit.maheshwari@ebix.com,nikita.kulshreshtha@ebix.com"/>
    <add key ="LogoPath" value="~/content/images/logo.png"/>
    <add key ="UnblockUserEmailTemplate" value="~/Templates/unblock-User.html"/>
    <add key ="ForgotPasswordEmailTemplate" value="~/Templates/forgot-Password.html"/>
    <add key ="ForgotUserIdEmailTemplate" value="~/Templates/forgot-UserId.html"/>
    
     <!-- Aod used: Added by Birendra-->
    <add key="Aod_site_Url" value="https://uat.adamondemand.com/"/>
    <add key="aiapasskey" value="as@2$eDu8Jk"/>

    <add key ="AIADatabaseV5Context" value="Data Source=192.168.90.53;Initial Catalog=AIADatabaseV5;User ID=AIA_Dev;Password=india123;"/>
	
  </appSettings>
  
  
  <system.web>
    <compilation debug="true" targetFramework="4.5" />
     <!-- maxRequestLength  allow in KB-->
    <!-- set 100mb for myanimation request posted through API to save on server -->
    <httpRuntime targetFramework="4.5" maxRequestLength="102400" />
	        <customErrors mode="Off"/>

  </system.web>

  <applicationSettings>
    <AIAHTML5.API.Properties.Settings>
      <setting name="AIAConnectionString" serializeAs="String">
        <value>localhost:27017</value>
      </setting>
      <setting name="database" serializeAs="String">
        <value>AIA</value>
      </setting>
    </AIAHTML5.API.Properties.Settings>
  </applicationSettings>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="4.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <system.webServer>
    <handlers>
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <remove name="OPTIONSVerbHandler" />
      <remove name="TRACEVerbHandler" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
  </system.webServer>
</configuration>