|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <!-- Copyright (c) Microsoft Corporation. All Rights Reserved. -->
|
3 | 3 | <configuration>
|
4 |
| - <system.serviceModel> |
5 |
| - <client> |
6 |
| - <endpoint address="http://localhost/servicemodelsamples/service.svc" binding="wsHttpBinding" contract="Microsoft.Samples.WebForms.IWeatherService"/> |
7 |
| - </client> |
8 |
| - </system.serviceModel> |
9 |
| - <system.web> |
10 |
| - <compilation debug="true" targetFramework="4.0"> |
11 |
| - <assemblies> |
12 |
| - |
13 |
| - |
14 |
| - |
15 |
| - </assemblies></compilation> |
16 |
| - <pages controlRenderingCompatibilityVersion="3.5"/></system.web> |
17 |
| - <system.codedom> |
18 |
| - <compilers> |
19 |
| - <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/warnaserror-"> |
20 |
| - <providerOption name="CompilerVersion" value="v4.0"/></compiler> |
21 |
| - <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" compilerOptions="/optioninfer+"> |
22 |
| - <providerOption name="CompilerVersion" value="v4.0"/></compiler></compilers></system.codedom> |
23 |
| - <system.webServer> |
24 |
| - </system.webServer></configuration> |
| 4 | + <system.serviceModel> |
| 5 | + <client> |
| 6 | + <endpoint address="http://localhost/servicemodelsamples/service.svc" binding="wsHttpBinding" contract="Microsoft.Samples.WebForms.IWeatherService"/> |
| 7 | + </client> |
| 8 | + </system.serviceModel> |
| 9 | + <!-- |
| 10 | + For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367. |
| 11 | +
|
| 12 | + The following attributes can be set on the <httpRuntime> tag. |
| 13 | + <system.Web> |
| 14 | + <httpRuntime targetFramework="4.8" /> |
| 15 | + </system.Web> |
| 16 | + --> |
| 17 | + <system.web> |
| 18 | + <compilation debug="true" targetFramework="4.6.2"> |
| 19 | + <assemblies/> |
| 20 | + </compilation> |
| 21 | + <pages controlRenderingCompatibilityVersion="3.5"/> |
| 22 | + </system.web> |
| 23 | + <system.codedom> |
| 24 | + <compilers> |
| 25 | + <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/warnaserror-"> |
| 26 | + <providerOption name="CompilerVersion" value="v4.0"/> |
| 27 | + </compiler> |
| 28 | + <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" compilerOptions="/optioninfer+"> |
| 29 | + <providerOption name="CompilerVersion" value="v4.0"/> |
| 30 | + </compiler> |
| 31 | + </compilers> |
| 32 | + </system.codedom> |
| 33 | + <system.webServer/> |
| 34 | +</configuration> |
0 commit comments