add ssl 1.2
[CPE_learningsite] / CPE / CPE.App / CPE.App.Api / Web.config
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   For more information on how to configure your ASP.NET application, please visit
4   http://go.microsoft.com/fwlink/?LinkId=301879
5   -->
6 <configuration>
7   <configSections>
8     <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
9     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
10   <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
11   <connectionStrings>
12     <add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-CPE.App.Api-20151016073126.mdf;Initial Catalog=aspnet-CPE.App.Api-20151016073126;Integrated Security=True" providerName="System.Data.SqlClient" />
13    <add name="CPE.DATA" connectionString="Data Source=DESKTOP-Q4S6BS5;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=1" providerName="System.Data.SqlClient" />
14     <add name="CPE.DATA.Local" connectionString="Data Source=DESKTOP-Q4S6BS5;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=1" providerName="System.Data.SqlClient"/>
15         <!--<add name="CPE.DATA" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=webcpe_reporting;Password=Pa$$w0rd" providerName="System.Data.SqlClient" />-->
16         <!--<add name="CPE.DATA.Local" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=webcpe_reporting;Password=Pa$$w0rd" providerName="System.Data.SqlClient" />-->
17
18
19   </connectionStrings>
20   <log4net configSource="log4net.config" />
21   <appSettings>
22     <add key="LrsEndpoint" value="http://api.cpeonlinewebcasts.com/api/statements"/>
23     <add key="LrsEndpointUsername" value="admin"/>
24     <add key="LrsEndpointPassword" value="password"/>
25     <add key="EmailSender" value="csreg@cpeincmail.com"/>
26     <add key="EmailReceiver" value="sswebcast@cpeincmail.com"/>
27         <add key="EmailSubject" value="Your certificate of completion from CPE Inc." />
28     <add key="MS_WebHookReceiverSecret_GitHub" value="c54c44faafdf9584547f8209a8033ee47994f9a1" />
29         <add key="MS_WebHookReceiverSecret_Elucidat" value="FE966693-65D7-0AE0-2CC6-E576109A0BF5" />
30     <add key="MS_WebHookReceiverSecret_GenericJson" value="12345678901234567890123456789012" />
31     <add key="RouteDebugger:Enabled" value="false" />
32         <add key="Elucidat.PublicKey" value="FE966693-65D7-0AE0-2CC6-E576109A0BF5" /> 
33     <add key="Elucidat.Secretkey" value="9CB149B8-F419-36FB-CCD3-D45864BC7B1E" />       
34         <add key="Elucidat.BaseUrl" value="https://api.elucidat.com/v2/"/>
35         
36         <add key="CertLink" value="http://api.cpeonlinewebcasts.com/Certificate?a={0}&amp;b={1}&amp;c={2}"/>
37   </appSettings>
38   <!--
39     For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
40
41     The following attributes can be set on the <httpRuntime> tag.
42       <system.Web>
43         <httpRuntime targetFramework="4.5" />
44       </system.Web>
45   -->
46   <system.web>
47     <authentication mode="None" />
48     <compilation debug="true" targetFramework="4.5" />
49     <httpRuntime />
50     <pages controlRenderingCompatibilityVersion="4.0" />
51   </system.web>
52   <system.webServer>
53     <httpErrors errorMode="Detailed" existingResponse="PassThrough"></httpErrors>
54     <modules>
55       <remove name="FormsAuthentication" />
56     </modules>
57     
58   <handlers>
59       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
60       <remove name="OPTIONSVerbHandler" />
61       <remove name="TRACEVerbHandler" />
62       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
63     </handlers>
64         <directoryBrowse enabled="false" /></system.webServer>
65   <runtime>
66     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
67       <dependentAssembly>
68         <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
69         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
70       </dependentAssembly>
71       <dependentAssembly>
72         <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
73         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
74       </dependentAssembly>
75       <dependentAssembly>
76         <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
77         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
78       </dependentAssembly>
79       <dependentAssembly>
80         <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
81         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
82       </dependentAssembly>
83       <dependentAssembly>
84         <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
85         <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
86       </dependentAssembly>
87       <dependentAssembly>
88         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
89         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
90       </dependentAssembly>
91       <dependentAssembly>
92         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
93         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
94       </dependentAssembly>
95       <dependentAssembly>
96         <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
97         <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
98       </dependentAssembly>
99       <dependentAssembly>
100         <assemblyIdentity name="System.Net.Http.WebRequest" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
101         <bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
102       </dependentAssembly>
103       <dependentAssembly>
104         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
105         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
106       </dependentAssembly>
107       <dependentAssembly>
108         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
109         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
110       </dependentAssembly>
111       <dependentAssembly>
112         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
113         <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
114       </dependentAssembly>
115       <dependentAssembly>
116         <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
117         <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
118       </dependentAssembly>
119       <dependentAssembly>
120         <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
121         <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
122       </dependentAssembly>
123     </assemblyBinding>
124   </runtime>
125   <entityFramework>
126     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
127       <parameters>
128         <parameter value="mssqllocaldb" />
129       </parameters>
130     </defaultConnectionFactory>
131     <providers>
132       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
133     </providers>
134   </entityFramework>
135   <system.codedom>
136     <compilers>
137       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
138       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
139     </compilers>
140   </system.codedom>
141 </configuration>