Advertisement
Guest User

Untitled

a guest
Dec 4th, 2017
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.74 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. https://go.microsoft.com/fwlink/?LinkId=169433
  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. <system.web>
  12. <compilation debug="true" targetFramework="4.5.2" />
  13. <httpRuntime targetFramework="4.5.2" />
  14. <pages>
  15. <namespaces>
  16. <add namespace="System.Web.Optimization" />
  17. </namespaces>
  18. <controls>
  19. <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
  20. </controls>
  21. </pages>
  22. <httpModules></httpModules>
  23. </system.web>
  24. <system.webServer>
  25. <validation validateIntegratedModeConfiguration="false" />
  26. <modules runAllManagedModulesForAllRequests="true" />
  27. <handlers>
  28. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  29. <remove name="OPTIONSVerbHandler" />
  30. <remove name="TRACEVerbHandler" />
  31. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  32. </handlers>
  33. <rewrite>
  34. <rules>
  35. <rule name="AngularJS Routes" enabled="true" stopProcessing="true">
  36. <match url=".*" />
  37. <conditions logicalGrouping="MatchAll">
  38. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  39. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  40. <add input="{REQUEST_URI}" pattern="api/(.*)" negate="true" />
  41. </conditions>
  42. <action type="Rewrite" url="/" />
  43. </rule>
  44. </rules>
  45. </rewrite>
  46. <defaultDocument>
  47. <files>
  48. <clear />
  49. <add value="login.aspx" />
  50. </files>
  51. </defaultDocument>
  52. </system.webServer>
  53. <runtime>
  54. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  55. <dependentAssembly>
  56. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  57. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  58. </dependentAssembly>
  59. <dependentAssembly>
  60. <assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35" />
  61. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  62. </dependentAssembly>
  63. <dependentAssembly>
  64. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  65. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  66. </dependentAssembly>
  67. </assemblyBinding>
  68. </runtime>
  69. <connectionStrings>
  70. <add name="TESTEloCalculatorEntities" connectionString="metadata=res://*/Models.EloCalculator.csdl|res://*/Models.EloCalculator.ssdl|res://*/Models.EloCalculator.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=mySource;initial catalog=db;persist security info=True;user id=me;password=you;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  71. </connectionStrings>
  72. <entityFramework>
  73. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  74. <parameters>
  75. <parameter value="mssqllocaldb" />
  76. </parameters>
  77. </defaultConnectionFactory>
  78. <providers>
  79. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  80. </providers>
  81. </entityFramework>
  82. <system.codedom>
  83. <compilers>
  84. <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
  85. <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  86. </compilers>
  87. </system.codedom>
  88. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement