Skip to content

Commit 119cf97

Browse files
HongGitmconnew
andauthored
Adding Readme file for each Nuget package (#5682)
* Adding Reame file for each Nuget package * more minor fixes * rename to README.md, and delete package description * add a central step in Directory.Build.targets to pickup README.md * Fix typo in readme files * Update src/System.ServiceModel.UnixDomainSocket/src/System.ServiceModel.UnixDomainSocket.csproj --------- Co-authored-by: Matt Connew <[email protected]>
1 parent c41db59 commit 119cf97

File tree

17 files changed

+156
-7
lines changed

17 files changed

+156
-7
lines changed

Directory.Build.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
<_Parameter1>true</_Parameter1>
5858
</AssemblyAttribute>
5959
</ItemGroup>
60+
61+
<ItemGroup Condition="Exists('README.md')" >
62+
<None Include="README.md" Pack="true" PackagePath="\"/>
63+
</ItemGroup>
6064

6165
<Import Project="eng\RuntimePackages.targets" Condition="'$(StrongNameKeyId)' == 'Microsoft'" />
6266
</Project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## About
2+
3+
The System.ServiceModel.Federation provides the types that allow security communications with SOAP messages using WS-Federation.
4+
5+
### Installing the package:
6+
7+
Install System.ServiceModel.Federation package from [Nuget.org](https://www.nuget.org/packages/System.ServiceModel.Federation)
8+
9+
`dotnet add package System.ServiceModel.Federation`
10+
11+
## How to use
12+
13+
See [blog post](https://devblogs.microsoft.com/dotnet/wsfederationhttpbinding-in-net-standard-wcf/) for more information.
14+
15+
## Feedback & Contributing
16+
17+
To explore the project or contribute, visit our [GitHub repository](https://github.com/dotnet/wcf/).
18+
For reporting issues or providing feedback, please [open an issue on GitHub](https://github.com/dotnet/wcf).

src/System.ServiceModel.Federation/src/System.ServiceModel.Federation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<!-- Enable transitive pinning due to Microsoft.IdentityModel.Protocols.WsTrust not being
1111
proactively updated by the identity team and it now references vulnerable dependencies -->
1212
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
13-
<PackageDescription>Provides the types that allow security communications with SOAP messages using WS-Federation.</PackageDescription>
1413
<GenerateDocumentationFile>true</GenerateDocumentationFile>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
1515
</PropertyGroup>
1616
<ItemGroup>
1717
<ProjectReference Include="..\..\System.ServiceModel.Primitives\src\System.ServiceModel.Primitives.csproj" />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## About
2+
3+
The System.ServiceModel.Http provides the types that permit SOAP messages to be exchanged using Http (example: BasicHttpBinding).
4+
5+
### Installing the package:
6+
7+
Install System.ServiceModel.Http package from [Nuget.org](https://www.nuget.org/packages/System.ServiceModel.Http)
8+
9+
`dotnet add package System.ServiceModel.Http`
10+
11+
## How to use
12+
13+
See [WCF Samples](https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/) for samples on how to use System.ServiceModel.Http.
14+
15+
## Feedback & Contributing
16+
17+
To explore the project or contribute, visit our [GitHub repository](https://github.com/dotnet/wcf/).
18+
For reporting issues or providing feedback, please [open an issue on GitHub](https://github.com/dotnet/wcf).

src/System.ServiceModel.Http/src/System.ServiceModel.Http.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<NoWarn>$(NoWarn);NU5131</NoWarn>
1010
<TargetFrameworks>$(DotNetVersion);$(NetFrameworkVersion);netstandard2.0</TargetFrameworks>
1111
<IsShipping>$(Ship_WcfPackages)</IsShipping>
12-
<PackageDescription>Provides the types that permit SOAP messages to be exchanged using Http (example: BasicHttpBinding).</PackageDescription>
12+
<PackageReadmeFile>README.md</PackageReadmeFile>
1313
</PropertyGroup>
1414

1515
<ItemGroup Condition="'$(TargetFramework)' != '$(NetFrameworkVersion)'">
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## About
2+
3+
The System.ServiceModel.NetFramingBase contains common types for NetFraming based transports such as NetTcp and NetNamedPipe.
4+
5+
### Installing the package:
6+
7+
Install System.ServiceModel.NetFramingBase package from [Nuget.org](https://www.nuget.org/packages/System.ServiceModel.NetFramingBase)
8+
9+
`dotnet add package System.ServiceModel.NetFramingBase`
10+
11+
## How to use
12+
13+
See [WCF Samples](https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/) for samples on how to use NetTcp and NetNamedPipe.
14+
15+
## Feedback & Contributing
16+
17+
To explore the project or contribute, visit our [GitHub repository](https://github.com/dotnet/wcf/).
18+
For reporting issues or providing feedback, please [open an issue on GitHub](https://github.com/dotnet/wcf).

src/System.ServiceModel.NetFramingBase/src/System.ServiceModel.NetFramingBase.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<IsShipping>$(Ship_WcfPackages)</IsShipping>
99
<TargetFrameworks>$(DotNetVersion)</TargetFrameworks>
1010
<RootNamespace>System.ServiceModel</RootNamespace>
11-
<PackageDescription>Contain common types for NetFraming based transports such as NetTcp and NetNamedPipe.</PackageDescription>
11+
<PackageReadmeFile>README.md</PackageReadmeFile>
1212
</PropertyGroup>
1313

1414
<ItemGroup>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## About
2+
3+
The System.ServiceModel.NetNamedPipe provides the types that permit SOAP messages to be exchanged using TCP (example: NetTcpBinding).
4+
5+
### Installing the package:
6+
7+
Install System.ServiceModel.NetNamedPipe package from [Nuget.org](https://www.nuget.org/packages/System.ServiceModel.NetNamedPipe)
8+
9+
`dotnet add package System.ServiceModel.NetNamedPipe`
10+
11+
## How to use
12+
13+
See [WCF Samples](https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/) for samples on how to use NetNamePipe and NetTcpBinding.
14+
15+
## Feedback & Contributing
16+
17+
To explore the project or contribute, visit our [GitHub repository](https://github.com/dotnet/wcf/).
18+
For reporting issues or providing feedback, please [open an issue on GitHub](https://github.com/dotnet/wcf).

src/System.ServiceModel.NetNamedPipe/src/System.ServiceModel.NetNamedPipe.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<TargetFrameworks>$(DotNetVersion)</TargetFrameworks>
1010
<RootNamespace>System.ServiceModel</RootNamespace>
1111
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
12-
<PackageDescription>Provides the types that permit SOAP messages to be exchanged using named pipes (example: NetNamedPipeBinding).</PackageDescription>
12+
<PackageReadmeFile>README.md</PackageReadmeFile>
1313
</PropertyGroup>
1414

1515
<ItemGroup>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## About
2+
3+
The System.ServiceModel.NetTcp provides the types that permit SOAP messages to be exchanged using TCP (example: NetTcpBinding).
4+
5+
### Installing the package:
6+
7+
Install System.ServiceModel.NetTcp package from [Nuget.org](https://www.nuget.org/packages/System.ServiceModel.NetTcp)
8+
9+
`dotnet add package System.ServiceModel.NetTcp`
10+
11+
## How to use
12+
13+
See [WCF Samples](https://learn.microsoft.com/en-us/dotnet/framework/wcf/samples/) for samples on how to use NetTcp.
14+
15+
## Feedback & Contributing
16+
17+
To explore the project or contribute, visit our [GitHub repository](https://github.com/dotnet/wcf/).
18+
For reporting issues or providing feedback, please [open an issue on GitHub](https://github.com/dotnet/wcf).

0 commit comments

Comments
 (0)