Skip to content

Commit 9597857

Browse files
committed
update samples
1 parent feeda32 commit 9597857

File tree

9 files changed

+60
-31
lines changed

9 files changed

+60
-31
lines changed

framework/wcf/Basic/Binding/WS/WS2007FederationHttp/CS/Service/Service.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<ItemGroup>
3636
<Reference Include="System" />
3737
<Reference Include="System.Core" />
38+
<Reference Include="System.IdentityModel" />
3839
<Reference Include="System.ServiceModel" />
3940
</ItemGroup>
4041
<ItemGroup>
@@ -51,4 +52,4 @@
5152
</ProjectReference>
5253
</ItemGroup>
5354
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
54-
</Project>
55+
</Project>

framework/wcf/Basic/RoutingServices/HelloRoutingService/CS/CalculatorClient/CalculatorClient.csproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
<OutputType>Exe</OutputType>
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<AssemblyName>client</AssemblyName>
12-
<PostBuildEvent></PostBuildEvent>
12+
<PostBuildEvent>
13+
</PostBuildEvent>
1314
<PublishUrl>publish\</PublishUrl>
15+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1416
</PropertyGroup>
1517
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1618
<DebugSymbols>true</DebugSymbols>
@@ -22,6 +24,7 @@
2224
<WarningLevel>4</WarningLevel>
2325
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
2426
<UseVSHostingProcess>false</UseVSHostingProcess>
27+
<Prefer32Bit>false</Prefer32Bit>
2528
</PropertyGroup>
2629
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2730
<DebugType>pdbonly</DebugType>
@@ -30,6 +33,7 @@
3033
<DefineConstants>TRACE</DefineConstants>
3134
<ErrorReport>prompt</ErrorReport>
3235
<WarningLevel>4</WarningLevel>
36+
<Prefer32Bit>false</Prefer32Bit>
3337
</PropertyGroup>
3438
<ItemGroup>
3539
<Reference Include="System" />

framework/wcf/Basic/RoutingServices/HelloRoutingService/CS/CalculatorService/CalculatorService.csproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<AssemblyName>service</AssemblyName>
1212
<StartupObject />
13+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1314
</PropertyGroup>
1415
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1516
<DebugSymbols>true</DebugSymbols>
@@ -20,6 +21,7 @@
2021
<ErrorReport>prompt</ErrorReport>
2122
<WarningLevel>4</WarningLevel>
2223
<UseVSHostingProcess>false</UseVSHostingProcess>
24+
<Prefer32Bit>false</Prefer32Bit>
2325
</PropertyGroup>
2426
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2527
<DebugType>pdbonly</DebugType>
@@ -28,6 +30,7 @@
2830
<DefineConstants>TRACE</DefineConstants>
2931
<ErrorReport>prompt</ErrorReport>
3032
<WarningLevel>4</WarningLevel>
33+
<Prefer32Bit>false</Prefer32Bit>
3134
</PropertyGroup>
3235
<ItemGroup>
3336
<Reference Include="System" />
@@ -42,6 +45,7 @@
4245
</ItemGroup>
4346
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
4447
<PropertyGroup>
45-
<PostBuildEvent></PostBuildEvent>
48+
<PostBuildEvent>
49+
</PostBuildEvent>
4650
</PropertyGroup>
4751
</Project>

framework/wcf/Extensibility/Metadata/CustomMexEndpoint/CS/MetadataResolverClient/MetadataResolverClient.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<Reference Include="System" />
3636
<Reference Include="System.Configuration" />
3737
<Reference Include="System.Data" />
38+
<Reference Include="System.IdentityModel" />
3839
<Reference Include="System.ServiceModel" />
3940
<Reference Include="System.Xml" />
4041
</ItemGroup>
@@ -46,4 +47,4 @@
4647
<None Include="App.config" />
4748
</ItemGroup>
4849
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49-
</Project>
50+
</Project>

framework/wcf/Extensibility/Metadata/CustomMexEndpoint/CS/SvcutilClient/SvcutilClient.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</PropertyGroup>
3434
<ItemGroup>
3535
<Reference Include="System" />
36+
<Reference Include="System.IdentityModel" />
3637
<Reference Include="System.ServiceModel" />
3738
<Reference Include="System.Xml" />
3839
</ItemGroup>
@@ -45,4 +46,4 @@
4546
<None Include="App.config" />
4647
</ItemGroup>
4748
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
48-
</Project>
49+
</Project>

framework/wcf/Extensibility/Security/ClientValidation/CS/client/client.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<ItemGroup>
3636
<Reference Include="System" />
3737
<Reference Include="System.Data" />
38+
<Reference Include="System.IdentityModel" />
3839
<Reference Include="System.ServiceModel" />
3940
<Reference Include="System.Xml" />
4041
</ItemGroup>
@@ -61,4 +62,4 @@
6162
<Target Name="AfterBuild">
6263
</Target>
6364
-->
64-
</Project>
65+
</Project>

framework/wcf/Extensibility/Security/TokenAuthenticator/CS/client/client.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<ItemGroup>
3131
<Reference Include="System" />
3232
<Reference Include="System.Data" />
33+
<Reference Include="System.IdentityModel" />
3334
<Reference Include="System.Security" />
3435
<Reference Include="System.ServiceModel" />
3536
<Reference Include="System.Xml" />
@@ -61,4 +62,4 @@
6162
<AppDesigner Include="Properties\" />
6263
</ItemGroup>
6364
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
64-
</Project>
65+
</Project>

framework/wcf/Scenario/DataBinding/WebForms/CS/WebForms.sln

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.9.34321.82
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "client", "client\", "{5A30DAD7-80A5-4462-89CF-6C76496378B7}"
57
ProjectSection(WebsiteProperties) = preProject
6-
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
8+
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.8"
79
Debug.AspNetCompiler.VirtualPath = "/client"
810
Debug.AspNetCompiler.PhysicalPath = "client\"
911
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\client\"
@@ -19,6 +21,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "client", "client\", "{5A30D
1921
Release.AspNetCompiler.FixedNames = "true"
2022
Release.AspNetCompiler.Debug = "False"
2123
VWDPort = "40810"
24+
SlnRelativePath = "client\"
2225
DefaultWebSiteLanguage = "Visual C#"
2326
EndProjectSection
2427
EndProject
@@ -58,4 +61,7 @@ Global
5861
GlobalSection(SolutionProperties) = preSolution
5962
HideSolutionNode = FALSE
6063
EndGlobalSection
64+
GlobalSection(ExtensibilityGlobals) = postSolution
65+
SolutionGuid = {8EA2F12C-DF83-462B-91F5-C17C177D6EAC}
66+
EndGlobalSection
6167
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
11
<?xml version="1.0"?>
22
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. -->
33
<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

Comments
 (0)