markus / License / Web.config @ 77cdac33
이력 | 보기 | 이력해설 | 다운로드 (2.46 KB)
1 |
<?xml version="1.0" encoding="utf-8"?> |
---|---|
2 |
<configuration> |
3 |
<configSections> |
4 |
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> |
5 |
</configSections> |
6 |
<log4net debug="true"> |
7 |
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> |
8 |
<file value="logs\log.txt" /> |
9 |
<appendToFile value="true" /> |
10 |
<rollingStyle value="Size" /> |
11 |
<maxSizeRollBackups value="10" /> |
12 |
<maximumFileSize value="100KB" /> |
13 |
<staticLogFileName value="true" /> |
14 |
<layout type="log4net.Layout.PatternLayout"> |
15 |
<conversionPattern value="%-5p %d %5rms %-22.22c{1} %-18.18M - %m%n" /> |
16 |
</layout> |
17 |
</appender> |
18 |
<root> |
19 |
<level value="DEBUG" /> |
20 |
<appender-ref ref="RollingLogFileAppender" /> |
21 |
</root> |
22 |
</log4net> |
23 |
<appSettings> |
24 |
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> |
25 |
<add key="UploadUri" value="https://markuslicense.azurewebsites.net/Upload" /> |
26 |
<add key="Site" value="BSENG"/> |
27 |
</appSettings> |
28 |
<system.web> |
29 |
<compilation debug="true" targetFramework="4.5" /> |
30 |
<httpRuntime targetFramework="4.5"/> |
31 |
</system.web> |
32 |
<system.serviceModel> |
33 |
<bindings> |
34 |
<customBinding> |
35 |
<binding name="scureBinding"> |
36 |
<textMessageEncoding /> |
37 |
<!--<security> |
38 |
<localClientSettings maxClockSkew="00:10:00" /> |
39 |
<localServiceSettings maxClockSkew="00:10:00" /> |
40 |
</security>--> |
41 |
<httpTransport /> |
42 |
</binding> |
43 |
</customBinding> |
44 |
<wsHttpBinding> |
45 |
<binding name="BindingConfig" /> |
46 |
</wsHttpBinding> |
47 |
</bindings> |
48 |
<services> |
49 |
<service name="License.LicenseService"> |
50 |
<endpoint binding="customBinding" bindingConfiguration="scureBinding" name="binding" |
51 |
contract="license.iLicenseService" /> |
52 |
</service> |
53 |
</services> |
54 |
<behaviors> |
55 |
<serviceBehaviors> |
56 |
<behavior name=""> |
57 |
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /> |
58 |
<serviceDebug includeExceptionDetailInFaults="false" /> |
59 |
</behavior> |
60 |
</serviceBehaviors> |
61 |
</behaviors> |
62 |
<protocolMapping> |
63 |
<remove scheme="http" /> |
64 |
<add scheme="http" binding="wsHttpBinding"/> |
65 |
<add scheme="https" binding="basicHttpsBinding"/> |
66 |
</protocolMapping> |
67 |
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> |
68 |
</system.serviceModel> |
69 |
<system.webServer> |
70 |
<directoryBrowse enabled="true"/> |
71 |
<modules runAllManagedModulesForAllRequests="true"> |
72 |
<remove name="ServiceRedirector"/> |
73 |
</modules> |
74 |
</system.webServer> |
75 |
</configuration> |