Commit 1a05681d83f85d1ff41c602e926aab83b989abcc
1 parent
8d717a35
testing
Showing
3 changed files
with
180 additions
and
181 deletions
400-SOURCECODE/AIAHTML5.ADMIN.API/Web.config
@@ -4,8 +4,7 @@ | @@ -4,8 +4,7 @@ | ||
4 | http://go.microsoft.com/fwlink/?LinkId=301879 | 4 | http://go.microsoft.com/fwlink/?LinkId=301879 |
5 | --> | 5 | --> |
6 | <configuration> | 6 | <configuration> |
7 | - <configSections> | ||
8 | - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | 7 | + <configSections> |
9 | <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | 8 | <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
10 | </configSections> | 9 | </configSections> |
11 | <appSettings> | 10 | <appSettings> |
400-SOURCECODE/AIAHTML5.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 | - <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
10 | - <section name="AIAHTML5.API.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | ||
11 | - </sectionGroup> | ||
12 | - </configSections> | ||
13 | - | ||
14 | - <log4net debug="true"> | ||
15 | - <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
16 | - <file value="Logs\AIALogs.log" /> | ||
17 | - <appendToFile value="true" /> | ||
18 | - <rollingStyle value="Size" /> | ||
19 | - <maxSizeRollBackups value="10" /> | ||
20 | - <maximumFileSize value="10MB" /> | ||
21 | - <staticLogFileName value="true" /> | ||
22 | - <layout type="log4net.Layout.PatternLayout"> | ||
23 | - <conversionPattern value="%-5p %d %5rms %-22.22c{1} %-18.18M - %m%n" /> | ||
24 | - </layout> | ||
25 | - </appender> | ||
26 | - | ||
27 | - <root> | ||
28 | - <level value="DEBUG" /> | ||
29 | - <appender-ref ref="RollingLogFileAppender" /> | ||
30 | - </root> | ||
31 | - </log4net> | ||
32 | - | ||
33 | - <appSettings> | ||
34 | - <add key="SenderEmailAddress" value="support@interactiveanatomy.com" /> | ||
35 | - <add key="ErrorNotificationEmailAddress" value="support@interactiveanatomy.com" /> | ||
36 | - <add key="SenderPassword" value="" /> | ||
37 | - <add key="SMTPAddress" value="10.100.12.13" /> | ||
38 | - <add key="SMTPPort" value="25" /> | ||
39 | - <add key="EnableSSL" value="false" /> | ||
40 | - <add key="Site_Url" value ="http://qa.beta.interactiveanatomy.com/"/> | ||
41 | - <add key ="HostAddress" value="10.100.12.13" /> | ||
42 | - <add key="AdminSupport" value="amrita.vishnoi@ebix.com,nikita.kulshreshtha@ebix.com"/> | ||
43 | - <add key ="AIADatabaseV5Context" value="Data Source=192.168.90.53;Initial Catalog=AIADatabaseV5;User ID=AIA_Dev;Password=india123;"/> | ||
44 | - <add key ="LogoPath" value="~/content/images/logo.png"/> | ||
45 | - <add key ="UnblockUserEmailTemplate" value="~/Templates/unblock-User.html"/> | ||
46 | - <add key ="ForgotPasswordEmailTemplate" value="~/Templates/forgot-Password.html"/> | ||
47 | - <add key ="ForgotUserIdEmailTemplate" value="~/Templates/forgot-UserId.html"/> | ||
48 | - | ||
49 | - | ||
50 | - <!--<add key ="AIADatabaseV5Context" value="Data Source=52.6.248.70;Initial Catalog=AIADatabase;User ID=amrita;Password=Ebix@2017;"/>--> | ||
51 | - | ||
52 | - </appSettings> | ||
53 | - <system.web> | ||
54 | - <compilation debug="true" targetFramework="4.5" /> | ||
55 | - <httpRuntime targetFramework="4.5" /> | ||
56 | - </system.web> | ||
57 | - | ||
58 | - <applicationSettings> | ||
59 | - <AIAHTML5.API.Properties.Settings> | ||
60 | - <setting name="AIAConnectionString" serializeAs="String"> | ||
61 | - <value>localhost:27017</value> | ||
62 | - </setting> | ||
63 | - <setting name="database" serializeAs="String"> | ||
64 | - <value>AIA</value> | ||
65 | - </setting> | ||
66 | - </AIAHTML5.API.Properties.Settings> | ||
67 | - </applicationSettings> | ||
68 | - <runtime> | ||
69 | - <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
70 | - <dependentAssembly> | ||
71 | - <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | ||
72 | - <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" /> | ||
73 | - </dependentAssembly> | ||
74 | - <dependentAssembly> | ||
75 | - <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
76 | - <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" /> | ||
77 | - </dependentAssembly> | ||
78 | - <dependentAssembly> | ||
79 | - <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
80 | - <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" /> | ||
81 | - </dependentAssembly> | ||
82 | - <dependentAssembly> | ||
83 | - <assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
84 | - <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> | ||
85 | - </dependentAssembly> | ||
86 | - </assemblyBinding> | ||
87 | - </runtime> | ||
88 | - <system.webServer> | ||
89 | - <handlers> | ||
90 | - <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> | ||
91 | - <remove name="OPTIONSVerbHandler" /> | ||
92 | - <remove name="TRACEVerbHandler" /> | ||
93 | - <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> | ||
94 | - </handlers> | ||
95 | - </system.webServer> | 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 | + <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
10 | + <section name="AIAHTML5.API.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | ||
11 | + </sectionGroup> | ||
12 | + </configSections> | ||
13 | + | ||
14 | + <log4net debug="true"> | ||
15 | + <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
16 | + <file value="Logs\AIALogs.log" /> | ||
17 | + <appendToFile value="true" /> | ||
18 | + <rollingStyle value="Size" /> | ||
19 | + <maxSizeRollBackups value="10" /> | ||
20 | + <maximumFileSize value="10MB" /> | ||
21 | + <staticLogFileName value="true" /> | ||
22 | + <layout type="log4net.Layout.PatternLayout"> | ||
23 | + <conversionPattern value="%-5p %d %5rms %-22.22c{1} %-18.18M - %m%n" /> | ||
24 | + </layout> | ||
25 | + </appender> | ||
26 | + | ||
27 | + <root> | ||
28 | + <level value="DEBUG" /> | ||
29 | + <appender-ref ref="RollingLogFileAppender" /> | ||
30 | + </root> | ||
31 | + </log4net> | ||
32 | + | ||
33 | + <appSettings> | ||
34 | + <add key="SenderEmailAddress" value="support@interactiveanatomy.com" /> | ||
35 | + <add key="ErrorNotificationEmailAddress" value="support@interactiveanatomy.com" /> | ||
36 | + <add key="SenderPassword" value="" /> | ||
37 | + <add key="SMTPAddress" value="10.100.12.13" /> | ||
38 | + <add key="SMTPPort" value="25" /> | ||
39 | + <add key="EnableSSL" value="false" /> | ||
40 | + <add key="Site_Url" value ="http://qa.beta.interactiveanatomy.com/"/> | ||
41 | + <add key ="HostAddress" value="10.100.12.13" /> | ||
42 | + <add key="AdminSupport" value="amrita.vishnoi@ebix.com,nikita.kulshreshtha@ebix.com"/> | ||
43 | + <add key ="AIADatabaseV5Context" value="Data Source=192.168.90.53;Initial Catalog=AIADatabaseV5;User ID=AIA_Dev;Password=india123;"/> | ||
44 | + <add key ="LogoPath" value="~/content/images/logo.png"/> | ||
45 | + <add key ="UnblockUserEmailTemplate" value="~/Templates/unblock-User.html"/> | ||
46 | + <add key ="ForgotPasswordEmailTemplate" value="~/Templates/forgot-Password.html"/> | ||
47 | + <add key ="ForgotUserIdEmailTemplate" value="~/Templates/forgot-UserId.html"/> | ||
48 | + | ||
49 | + | ||
50 | + <!--<add key ="AIADatabaseV5Context" value="Data Source=52.6.248.70;Initial Catalog=AIADatabase;User ID=amrita;Password=Ebix@2017;"/>--> | ||
51 | + | ||
52 | + </appSettings> | ||
53 | + <system.web> | ||
54 | + <compilation debug="true" targetFramework="4.5" /> | ||
55 | + <httpRuntime targetFramework="4.5" /> | ||
56 | + </system.web> | ||
57 | + | ||
58 | + <applicationSettings> | ||
59 | + <AIAHTML5.API.Properties.Settings> | ||
60 | + <setting name="AIAConnectionString" serializeAs="String"> | ||
61 | + <value>localhost:27017</value> | ||
62 | + </setting> | ||
63 | + <setting name="database" serializeAs="String"> | ||
64 | + <value>AIA</value> | ||
65 | + </setting> | ||
66 | + </AIAHTML5.API.Properties.Settings> | ||
67 | + </applicationSettings> | ||
68 | + <runtime> | ||
69 | + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
70 | + <dependentAssembly> | ||
71 | + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | ||
72 | + <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="6.0.0.0" /> | ||
73 | + </dependentAssembly> | ||
74 | + <dependentAssembly> | ||
75 | + <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
76 | + <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" /> | ||
77 | + </dependentAssembly> | ||
78 | + <dependentAssembly> | ||
79 | + <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
80 | + <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" /> | ||
81 | + </dependentAssembly> | ||
82 | + <dependentAssembly> | ||
83 | + <assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
84 | + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.0.0" /> | ||
85 | + </dependentAssembly> | ||
86 | + </assemblyBinding> | ||
87 | + </runtime> | ||
88 | + <system.webServer> | ||
89 | + <handlers> | ||
90 | + <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> | ||
91 | + <remove name="OPTIONSVerbHandler" /> | ||
92 | + <remove name="TRACEVerbHandler" /> | ||
93 | + <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> | ||
94 | + </handlers> | ||
95 | + </system.webServer> | ||
96 | </configuration> | 96 | </configuration> |
97 | \ No newline at end of file | 97 | \ No newline at end of file |
400-SOURCECODE/AIAHTML5.Web/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=169433 | ||
5 | - --> | ||
6 | -<configuration> | ||
7 | - <configSections> | ||
8 | - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | ||
9 | - <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | ||
10 | - </configSections> | ||
11 | - | ||
12 | - <appSettings> | ||
13 | - <add key="owin:AutomaticAppStartup" value="false" /> | ||
14 | - | ||
15 | - </appSettings> | ||
16 | - <system.web> | ||
17 | - <compilation debug="true" targetFramework="4.5" /> | ||
18 | - <httpRuntime targetFramework="4.5" /> | ||
19 | - </system.web> | ||
20 | - <location path="app/views"> | ||
21 | - | ||
22 | -</location> | ||
23 | - <system.webServer> | ||
24 | - <rewrite> | ||
25 | - <rules> | ||
26 | - <rule name="AngularJS Routes" stopProcessing="true"> | ||
27 | - <match url=".*" /> | ||
28 | - <conditions logicalGrouping="MatchAll"> | ||
29 | - <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | ||
30 | - <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> | ||
31 | - <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> | ||
32 | - </conditions> | ||
33 | - <action type="Rewrite" url="/" /> | ||
34 | - </rule> | ||
35 | - </rules> | ||
36 | - </rewrite> | ||
37 | - <staticContent> | ||
38 | - | ||
39 | - <remove fileExtension=".mp3" /> | ||
40 | - <!--<clientCache cacheControlMode="DisableCache" />--> | ||
41 | - <remove fileExtension=".woff" /> | ||
42 | - <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> | ||
43 | - <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> | ||
44 | - <mimeMap fileExtension=".vtt" mimeType="text/vtt" /> | ||
45 | - <!--<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />--> | ||
46 | - | ||
47 | - | ||
48 | - </staticContent> | ||
49 | - <defaultDocument enabled="true"> | ||
50 | - <files> | ||
51 | - <clear /> | ||
52 | - <add value="index.html" /> | ||
53 | - <add value="login.html" /> | ||
54 | - <add value="Default.asp" /> | ||
55 | - <add value="iisstart.htm" /> | ||
56 | - <add value="default.aspx" /> | ||
57 | - </files> | ||
58 | - </defaultDocument> | ||
59 | - <handlers> | ||
60 | - <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> | ||
61 | - <remove name="OPTIONSVerbHandler" /> | ||
62 | - <remove name="TRACEVerbHandler" /> | ||
63 | - <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> | ||
64 | - </handlers> | ||
65 | - <directoryBrowse enabled="true" /> | ||
66 | - </system.webServer> | ||
67 | - <runtime> | ||
68 | - <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
69 | - <dependentAssembly> | ||
70 | - <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
71 | - <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" /> | ||
72 | - </dependentAssembly> | ||
73 | - </assemblyBinding> | ||
74 | - </runtime> | ||
75 | - <entityFramework> | ||
76 | - <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> | ||
77 | - <parameters> | ||
78 | - <parameter value="v11.0" /> | ||
79 | - </parameters> | ||
80 | - </defaultConnectionFactory> | ||
81 | - <providers> | ||
82 | - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> | ||
83 | - </providers> | ||
84 | - </entityFramework> | 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=169433 | ||
5 | + --> | ||
6 | +<configuration> | ||
7 | + <!--<configSections>--> | ||
8 | + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | ||
9 | + <!--<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />--> | ||
10 | + <!--</configSections>--> | ||
11 | + | ||
12 | + <appSettings> | ||
13 | + <add key="owin:AutomaticAppStartup" value="false" /> | ||
14 | + | ||
15 | + </appSettings> | ||
16 | + <system.web> | ||
17 | + <compilation debug="true" targetFramework="4.5" /> | ||
18 | + <httpRuntime targetFramework="4.5" /> | ||
19 | + </system.web> | ||
20 | + <location path="app/views"> | ||
21 | + | ||
22 | +</location> | ||
23 | + <system.webServer> | ||
24 | + <!--<rewrite> | ||
25 | + <rules> | ||
26 | + <rule name="AngularJS Routes" stopProcessing="true"> | ||
27 | + <match url=".*" /> | ||
28 | + <conditions logicalGrouping="MatchAll"> | ||
29 | + <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | ||
30 | + <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> | ||
31 | + <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> | ||
32 | + </conditions> | ||
33 | + <action type="Rewrite" url="/" /> | ||
34 | + </rule> | ||
35 | + </rules> | ||
36 | + </rewrite>--> | ||
37 | + <staticContent> | ||
38 | + | ||
39 | + <remove fileExtension=".mp3" /> | ||
40 | + <!--<clientCache cacheControlMode="DisableCache" />--> | ||
41 | + <remove fileExtension=".woff" /> | ||
42 | + <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> | ||
43 | + <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> | ||
44 | + <mimeMap fileExtension=".vtt" mimeType="text/vtt" /> | ||
45 | + <!--<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />--> | ||
46 | + | ||
47 | + | ||
48 | + </staticContent> | ||
49 | + <defaultDocument enabled="true"> | ||
50 | + <files> | ||
51 | + <clear /> | ||
52 | + <add value="index.html" /> | ||
53 | + <add value="login.html" /> | ||
54 | + <add value="Default.asp" /> | ||
55 | + <add value="iisstart.htm" /> | ||
56 | + <add value="default.aspx" /> | ||
57 | + </files> | ||
58 | + </defaultDocument> | ||
59 | + <handlers> | ||
60 | + <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> | ||
61 | + <remove name="OPTIONSVerbHandler" /> | ||
62 | + <remove name="TRACEVerbHandler" /> | ||
63 | + <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> | ||
64 | + </handlers> | ||
65 | + <directoryBrowse enabled="true" /> | ||
66 | + </system.webServer> | ||
67 | + <runtime> | ||
68 | + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
69 | + <dependentAssembly> | ||
70 | + <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
71 | + <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" /> | ||
72 | + </dependentAssembly> | ||
73 | + </assemblyBinding> | ||
74 | + </runtime> | ||
75 | + <!--<entityFramework> | ||
76 | + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> | ||
77 | + <parameters> | ||
78 | + <parameter value="v11.0" /> | ||
79 | + </parameters> | ||
80 | + </defaultConnectionFactory> | ||
81 | + <providers> | ||
82 | + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> | ||
83 | + </providers> | ||
84 | + </entityFramework>--> | ||
85 | </configuration> | 85 | </configuration> |
86 | \ No newline at end of file | 86 | \ No newline at end of file |