forked from Walk4Muscle/S3PUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
107 lines (105 loc) · 4.5 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<customErrors mode="Off"/>
<!--<authorization>
<allow users="dxu@microsoft.com" />
<deny users="*" />
</authorization>-->
<!--<httpHandlers>
<add verb="*" path="data/*.json" type="jsonhandler"/>
</httpHandlers>-->
</system.web>
<appSettings>
<add key="ida:ClientId" value="482514c8-43d4-4421-a58e-73771b9e9e4c" />
<!--<add key="ida:ClientId" value="d2a4db8d-c2d3-43d6-8294-7733fefab23e" />-->
<add key="ida:AADInstance" value="https://login.microsoftonline.com/{0}" />
<add key="ida:Tenant" value="microsoft.onmicrosoft.com" />
<add key="ida:PostLogoutRedirectUri" value="https://localhost:44303" />
<add key="DocDBEndpoint" value="https://s3p.documents.azure.com:443/" />
<add key="DocDBKey" value="v0K2HB9MD0kjVRX0MlvvNFu3Xi5xgHHbDLgyUEqEEly80OzdRG5HKOH2g3KSpmR6MlpDxjVKXLcwdG4XjnQ0pA==" />
<add key="DocDBName" value="S3PRawData" />
<add key="DocInitialSettingsCollection" value="InitialSettingsCollection" />
<add key="DocDBTwitterCollection" value="TwitterCollection" />
<add key="DocDBMSDNCollection" value="MSDNCollection" />
<add key="DocDBTNCollection" value="TechNetCollection" />
<add key="DataEndpoints" value="http://s3pdata.azurewebsites.net/"/>
</appSettings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<defaultDocument enabled="true">
<files>
<clear/>
<add value="index.html"/>
</files>
</defaultDocument>
<staticContent>
<remove fileExtension=".json"/>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".data" mimeType="text/plain" />
</staticContent>
<rewrite>
<rules>
<rule name="AngularJS Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
</conditions>
<action type="Rewrite" url="/" />
</rule>
</rules>
</rewrite>
<!--<handlers>
<add verb="*" path="data/*.json" name="jsonhandler" type="jsonhandler"/>
</handlers>-->
</system.webServer>
<system.serviceModel>
<services>
<service name="S3PDataServiceForClient.S3PDataService">
<endpoint address="" behaviorConfiguration="RESTEndpointBehavivor" binding="webHttpBinding" bindingConfiguration="RESTBinding" contract="S3PDataServiceForClient.IS3PDataService" />
<!--<endpoint address="mex" binding="mexHttpsBinding" contract="S3PDataServiceForClient.IS3PDataService" />-->
</service>
</services>
<bindings>
<webHttpBinding>
<binding name="RESTBinding" allowCookies="true">
<!-- <security mode="Transport">
<transport clientCredentialType="None" />
</security>-->
</binding>
</webHttpBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="RESTEndpointBehavivor">
<webHttp helpEnabled="true" faultExceptionEnabled="true" />
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
</system.serviceModel>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.20622.1351" newVersion="4.0.20622.1351" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.IdentityModel.Protocol.Extensions" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.2.33" newVersion="1.0.2.33" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>