Advertisement
mickyvx

Untitled

Jan 24th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.80 KB | None | 0 0
  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=301880
  5. -->
  6. <configuration>
  7. <configSections>
  8. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  9. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  10. </configSections>
  11. <connectionStrings>
  12. <!--
  13. FIREBIRD
  14. <add name="VETtrakDatabase" providerName="FirebirdSql.Data.FirebirdClient" connectionString="Database=E:\VETtrak\Data\VETtrak.gdb;DataSource=127.0.0.1;User=SYSDBA;Password=masterkey;Port=3050;" />
  15. -->
  16. <!--
  17. SQL SERVER
  18. <add name="VETtrakDatabase" providerName="System.Data.SqlClient" connectionString="Data Source=SERVER;Initial Catalog=DB;Integrated Security=true;" />
  19. -->
  20. <add name="VETtrakDatabase" providerName="FirebirdSql.Data.FirebirdClient" connectionString="Database=E:\VETtrak\Data\VETtrak.gdb;DataSource=127.0.0.1;User=SYSDBA;Password=masterkey;Port=3050;" />
  21. </connectionStrings>
  22. <appSettings>
  23. <!--
  24. CompanyName
  25. Shown at the top of each page. Used only for display purposes.
  26. -->
  27. <add key="CompanyName" value="VETtrak Pty Ltd" />
  28. <!--
  29. CompanyPhone
  30. Shown on the login page for users to call if they forget their password.
  31. -->
  32. <add key="CompanyPhone" value="1800 VETTRAK" />
  33. <!--
  34. EnableGoogleMaps
  35. Enables or disables the display of embedded Google Maps.
  36. -->
  37. <add key="EnableGoogleMaps" value="false" />
  38. <!--
  39. NumberOfDashboardClasses
  40. The Trainer Portal dashboard allows trainers to see a list of their upcoming
  41. classes. This setting will configure how many classes the user will be able to
  42. see in the dashboard.
  43.  
  44. Default: 5
  45. -->
  46. <add key="NumberOfDashboardClasses" value="5" />
  47. <!--
  48. NumberOfDashboardEvents
  49. The Trainer Portal dashboard allows trainers to see a list of their upcoming
  50. events. This setting will configure how many events the user will be able to
  51. see in the dashboard.
  52.  
  53. Default: 5
  54. -->
  55. <add key="NumberOfDashboardEvents" value="5" />
  56. <!--
  57. NumberOfDashboardMessages
  58. The Student Portal dashboard allows students to see a list of the messages
  59. they have been sent. This setting will configure how many messages the user
  60. will be able to see in the dashboard.
  61.  
  62. Default: 5
  63. -->
  64. <!--
  65. Session time out value in minutes for an active VETtrak Session
  66. -->
  67. <add key="SessionTimeout" value="30" />
  68. <!--
  69. GoogleMapsApiKey
  70. The API key to be used when displaying embedded Google Maps. Ignored if `EnableGoogleMaps` is false.
  71. -->
  72. <add key="GoogleMapsApiKey" value="" />
  73. <!--
  74. EnableDatabaseEndpoint
  75. Enables or disables the `~/json/about/database` endpoint, which can be useful for troubleshooting.
  76. -->
  77. <add key="EnableDatabaseEndpoint" value="false" />
  78. <!--
  79. PermissionCacheTtl
  80. Permissions are cached in memory, this controls how long they are cached for (in minutes).
  81. -->
  82. <add key="PermissionCacheTtl" value="5" />
  83. <!--
  84. CacheTtl
  85. Various other items are cached in memory, this controls how long they are cached for (in minutes).
  86. -->
  87. <add key="CacheTtl" value="5" />
  88. <!--
  89. SecurityItemsCacheTtl
  90. The items viewable by a particular user are cached in memory, this controls how long they are cached for (in minutes).
  91. -->
  92. <add key="SecurityItemsCacheTtl" value="5" />
  93. <!--
  94. SmsTopUpUrl
  95. The URL to send users to for SMS top-ups.
  96. -->
  97. <add key="SmsTopUpUrl" value="https://supportcentre.vettrak.com.au/support-sms-topup" />
  98. <!--
  99. ExternalLinkUrl
  100. The URL for the `external link` menu item.
  101. -->
  102. <add key="ExternalLinkUrl" value="" />
  103. <!--
  104. ExternalLinkName
  105. The name for the `external link` menu item.
  106. -->
  107. <add key="ExternalLinkName" value="" />
  108. <add key="webpages:Version" value="3.0.0.0" />
  109. <add key="webpages:Enabled" value="false" />
  110. <add key="ClientValidationEnabled" value="true" />
  111. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  112. </appSettings>
  113. <system.web>
  114. <sessionState timeout="30" />
  115. <compilation targetFramework="4.5.1" />
  116. <httpRuntime targetFramework="4.5.1" maxRequestLength="60000" executionTimeout="1200" />
  117. <globalization uiCulture="en" culture="en-AU" />
  118. <identity impersonate="true" />
  119. </system.web>
  120. <runtime>
  121. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  122. <dependentAssembly>
  123. <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  124. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  125. </dependentAssembly>
  126. <dependentAssembly>
  127. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  128. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  129. </dependentAssembly>
  130. <dependentAssembly>
  131. <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  132. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  133. </dependentAssembly>
  134. <dependentAssembly>
  135. <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  136. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  137. </dependentAssembly>
  138. <dependentAssembly>
  139. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral" />
  140. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
  141. </dependentAssembly>
  142. <dependentAssembly>
  143. <assemblyIdentity name="WebGrease" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  144. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  145. </dependentAssembly>
  146. <dependentAssembly>
  147. <assemblyIdentity name="NLog" publicKeyToken="5120E14C03D0593C" culture="neutral" />
  148. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  149. </dependentAssembly>
  150. <dependentAssembly>
  151. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  152. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  153. </dependentAssembly>
  154. <dependentAssembly>
  155. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  156. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  157. </dependentAssembly>
  158. <dependentAssembly>
  159. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  160. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  161. </dependentAssembly>
  162. <dependentAssembly>
  163. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  164. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  165. </dependentAssembly>
  166. <dependentAssembly>
  167. <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  168. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  169. </dependentAssembly>
  170. <dependentAssembly>
  171. <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  172. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  173. </dependentAssembly>
  174. <dependentAssembly>
  175. <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  176. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  177. </dependentAssembly>
  178. <dependentAssembly>
  179. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  180. <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
  181. </dependentAssembly>
  182. <dependentAssembly>
  183. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  184. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  185. </dependentAssembly>
  186. <dependentAssembly>
  187. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  188. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  189. </dependentAssembly>
  190. <dependentAssembly>
  191. <assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
  192. <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
  193. </dependentAssembly>
  194. <dependentAssembly>
  195. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  196. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  197. </dependentAssembly>
  198. <dependentAssembly>
  199. <assemblyIdentity name="LinqKit" publicKeyToken="bc217f8844052a91" culture="neutral" />
  200. <bindingRedirect oldVersion="0.0.0.0-1.1.8.0" newVersion="1.1.8.0" />
  201. </dependentAssembly>
  202. </assemblyBinding>
  203. </runtime>
  204. <system.serviceModel>
  205. <bindings>
  206. <basicHttpBinding>
  207. <binding name="VETtrakSMSAPISoap" />
  208. </basicHttpBinding>
  209. </bindings>
  210. <client>
  211. <endpoint address="http://services.ozsoft.com.au/VETtrakSMSAPI/VETtrakSMSAPI.asmx" binding="basicHttpBinding" bindingConfiguration="VETtrakSMSAPISoap" contract="SMSService.VETtrakSMSAPISoap" name="VETtrakSMSAPISoap" />
  212. </client>
  213. </system.serviceModel>
  214. <system.webServer>
  215. <staticContent>
  216. <remove fileExtension=".eot" />
  217. <remove fileExtension=".ttf" />
  218. <remove fileExtension=".svg" />
  219. <remove fileExtension=".woff" />
  220. <remove fileExtension=".woff2" />
  221. <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
  222. <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
  223. <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
  224. <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
  225. <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
  226. </staticContent>
  227. <security>
  228. <requestFiltering>
  229. <requestLimits maxAllowedContentLength="1073741824" />
  230. </requestFiltering>
  231. </security>
  232. <directoryBrowse enabled="true" />
  233. </system.webServer>
  234. <entityFramework>
  235. <defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" />
  236. <providers>
  237. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  238. <provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" />
  239. </providers>
  240. </entityFramework>
  241. <system.data>
  242. <DbProviderFactories>
  243. <remove invariant="FirebirdSql.Data.FirebirdClient" />
  244. <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient" />
  245. </DbProviderFactories>
  246. </system.data>
  247. </configuration>
  248. <!--ProjectGuid: 5C3AE4C8-8381-4A55-816A-1F5F2E101770-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement