Skip to content

Commit 728f4a8

Browse files
committed
Create NuGet package
1 parent fea86ec commit 728f4a8

5 files changed

Lines changed: 33 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ obj
22
bin
33
core
44
test
5+
.vscode

AsyncFastCGI.NET.csproj

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<OutputType>Exe</OutputType>
43
<TargetFramework>netcoreapp2.2</TargetFramework>
54
<LangVersion>7.3</LangVersion>
5+
6+
<PackageId>AsyncFastCGI.NET</PackageId>
7+
<Version>1.0.0</Version>
8+
<Authors>Tamas Bolner</Authors>
9+
<Title>Async FastCGI library for .NET Core</Title>
10+
<Description>Fully async FastCGI client library for .NET Core, written in C#. A non-intrusive alternative for developing web applications.</Description>
11+
<Copyright>Copyright 2019 Tamas Bolner</Copyright>
12+
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
13+
<PackageTags>fastcgi, nginx, dotnet, library, csharp</PackageTags>
14+
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
15+
<RepositoryUrl>https://github.com/bolner/AsyncFastCGI.NET</RepositoryUrl>
616
</PropertyGroup>
17+
18+
<ItemGroup>
19+
<Compile Include="lib/*.cs" Pack="true"/>
20+
<None Include="LICENSE.md" Pack="true" PackagePath="$(PackageLicenseFile)"/>
21+
</ItemGroup>
722
</Project>

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Fully async FastCGI client library for `.NET Core`, written in C#. A non-intrusi
55
All parts are implemented from the FastCGI specification, which are used by `Nginx`. Please refer to the end of this document
66
for an example NginX configuration. The performance is stable at high loads when using the KeepAlive setting in NginX for the FastCGI connections.
77

8+
## Installation
9+
10+
The library is [available on NuGet](https://www.nuget.org/packages/AsyncFastCGI.NET).
11+
12+
dotnet add package AsyncFastCGI.NET --version 1.0.0
13+
814
## Example
915

1016
Your request handler method is called after the parameters (they include the HTTP headers) are processed, but before the request payload is read.

example/Example.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<OutputType>Exe</OutputType>
4+
<TargetFramework>netcoreapp2.2</TargetFramework>
5+
<LangVersion>7.3</LangVersion>
6+
</PropertyGroup>
7+
<ItemGroup>
8+
<PackageReference Include="AsyncFastCGI.NET" Version="1.0.0" />
9+
</ItemGroup>
10+
</Project>
File renamed without changes.

0 commit comments

Comments
 (0)