60d407dfeeb41f15422dad550711a4f3bbe1d086
[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     
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 --><sectionGroup name="elmah">
11       <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
12       <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
13       <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
14       <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
15     </sectionGroup></configSections>
16   <connectionStrings>
17     <!--<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" />-->
18     <!--<add name="CPE.DATA" connectionString="Data Source=cpeonlinewebcasts.com;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=webcpe_reporting;Password=Pa$$w0rd" providerName="System.Data.SqlClient" />-->
19       <!--<add name="CPE.DATA" connectionString="Data Source=DESKTOP-6Q8LB2M\SQL2014;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient"/>
20       <add name="CPE.DATA.Local" connectionString="Data Source=DESKTOP-6Q8LB2M\SQL2014;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient"/>-->
21     <add name="CPE.DATA" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient" />
22     <add name="CPE.DATA.Local" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient" />
23
24   </connectionStrings>
25   <appSettings>
26     <add key="LrsEndpoint" value="http://api.cpeonlinewebcasts.com/api/statements" />
27     <add key="LrsEndpointUsername" value="admin" />
28     <add key="LrsEndpointPassword" value="password" />
29     <add key="EmailSender" value="csreg@cpeincmail.com" />
30     <add key="EmailReceiver" value="sswebcast@cpeincmail.com" />
31     <add key="EmailSubject" value="Self-Study Webcast Certificate of Completion" />
32     <add key="RouteDebugger:Enabled" value="true" />
33  <!--   <add key="Elucidat.PublicKey" value="FE966693-65D7-0AE0-2CC6-E576109A0BF5" /> CPE's public key-->
34     <add key="Elucidat.PublicKey" value="1558A022-336C-6922-4B1F-AD3505839D5A" />
35     <add key="Elucidat.SecretKey" value="A393E5ED-C79F-4EB7-7DAE-9CB6C090B9E8" />
36     <!--<add key="Elucidat.Secretkey" value="9CB149B8-F419-36FB-CCD3-D45864BC7B1E" /> secret key for CPE-->
37     <add key="Elucidat.BaseUrl" value="https://api.elucidat.com/v2/" />
38     <add key="elmah.mvc.disableHandler" value="false" /><add key="elmah.mvc.disableHandleErrorFilter" value="false" />
39     <add key="elmah.mvc.requiresAuthentication" value="false" />
40     <add key="elmah.mvc.IgnoreDefaultRoute" value="false" />
41     <add key="elmah.mvc.allowedRoles" value="*" />
42     <add key="elmah.mvc.allowedUsers" value="*" />
43     <add key="elmah.mvc.route" value="elmah" />
44     <add key="elmah.mvc.UserAuthCaseSensitive" value="true" />
45   </appSettings>
46   <!--
47     For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
48
49     The following attributes can be set on the <httpRuntime> tag.
50       <system.Web>
51         <httpRuntime targetFramework="4.5" />
52       </system.Web>
53   -->
54   <system.web>
55
56     <customErrors mode="On" redirectMode="ResponseRedirect" >
57      
58     </customErrors>
59     <authentication mode="None" />
60     <compilation debug="true" targetFramework="4.5" />
61     <httpRuntime />
62     <pages controlRenderingCompatibilityVersion="4.0" />
63   <httpModules>
64       <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
65       <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
66       <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
67     </httpModules></system.web>
68   <system.webServer>
69     <modules>
70       <remove name="FormsAuthentication" />
71     <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" /><add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" /><add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" /></modules>
72     
73   <handlers>
74       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
75       <remove name="OPTIONSVerbHandler" />
76       <remove name="TRACEVerbHandler" />
77       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
78     </handlers><validation validateIntegratedModeConfiguration="false" /></system.webServer>
79   <runtime>
80     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
81       <dependentAssembly>
82         <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
83         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
84       </dependentAssembly>
85       <dependentAssembly>
86         <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
87         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
88       </dependentAssembly>
89       <dependentAssembly>
90         <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
91         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
92       </dependentAssembly>
93       <dependentAssembly>
94         <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
95         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
96       </dependentAssembly>
97       <dependentAssembly>
98         <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
99         <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
100       </dependentAssembly>
101       <dependentAssembly>
102         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
103         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
104       </dependentAssembly>
105       <dependentAssembly>
106         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
107         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
108       </dependentAssembly>
109       <dependentAssembly>
110         <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
111         <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
112       </dependentAssembly>
113       <dependentAssembly>
114         <assemblyIdentity name="System.Net.Http.WebRequest" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
115         <bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
116       </dependentAssembly>
117       <dependentAssembly>
118         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
119         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
120       </dependentAssembly>
121       <dependentAssembly>
122         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
123         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
124       </dependentAssembly>
125       <dependentAssembly>
126         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
127         <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
128       </dependentAssembly>
129       <dependentAssembly>
130         <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
131         <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
132       </dependentAssembly>
133       <dependentAssembly>
134         <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
135         <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
136       </dependentAssembly>
137     </assemblyBinding>
138   </runtime>
139   <entityFramework>
140     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
141       <parameters>
142         <parameter value="mssqllocaldb" />
143       </parameters>
144     </defaultConnectionFactory>
145     <providers>
146       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
147     </providers>
148   </entityFramework>
149   <system.codedom>
150     <compilers>
151       <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" />
152       <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+" />
153     </compilers>
154   </system.codedom>
155 <elmah>
156   </elmah></configuration>