6 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
Tommy Parnell
72c55bd87b src link pkg 2017-10-27 19:10:16 -04:00
Tommy Parnell
e940621548 include source link 2017-10-27 19:06:55 -04:00
Tommy Parnell
aa72521275 Update Readme.md 2017-06-21 13:03:24 -04:00
Tommy Parnell
12414ae258 Update Readme.md 2017-06-21 08:51:58 -04:00
Tommy Parnell
27790bfd7d remove pre 2017-06-17 17:29:07 -04:00
Tommy Parnell
b7a6de3c17 add build badge 2017-06-17 17:28:05 -04:00
4 changed files with 19 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
# Hard Hat
[![Build status](https://ci.appveyor.com/api/projects/status/orm7sjpwxde03pbj/branch/master?svg=true)](https://ci.appveyor.com/project/tparnell8/hardhat/branch/master)
<img src="Hat.png" width="350px"/>
HardHat is a set of .net core middleware that adds various headers to help protect your site from vulnerabilities. Inspired by [helmetJS](https://helmetjs.github.io). We have [some docs](docs/Readme.md) they are still a work in progress, so please feel free to submit changes to them.
@@ -51,5 +53,5 @@ In short this allows:
## Getting started
* Install the nuget package `Install-Package HardHat -Pre`
* Install the nuget package `Install-Package HardHat`
* Add the middleware you desire to your configure block.

View File

@@ -9,6 +9,10 @@ build_script:
{
dotnet pack src\HardHat\HardHat.csproj --configuration Release --output ..\..\output /p:Version=$env:APPVEYOR_REPO_TAG_NAME
}
else
{
dotnet pack src\HardHat\HardHat.csproj --configuration Release --output ..\..\output /p:Version=0.0.1-build-$env:APPVEYOR_BUILD_NUMBER
}
test_script:
- ps: dotnet test src\HardHat.UnitTests\HardHat.UnitTests.csproj
artifacts:

View File

@@ -1,6 +1,6 @@
## Index
Hard hat is essentially a group of 12+ individual middleware that help you improve the security of your aspnet core based applications.
Hard hat is essentially a group of individual middleware that help you improve the security of your aspnet core based applications.
Each middleware has a seperate readme file. These docs were inspired by helmetjs.

View File

@@ -11,10 +11,21 @@
<PackageProjectUrl>https://github.com/TerribleDev/HardHat</PackageProjectUrl>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
<SourceLinkServerType>GitHub</SourceLinkServerType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="1.0.2" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.4.0" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);IncludePDBsInPackage</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>
<Target Name="IncludePDBsInPackage" Condition="'$(IncludeBuildOutput)' != 'false'">
<ItemGroup>
<TfmSpecificPackageFile Include="$(OutputPath)\$(AssemblyName).pdb" PackagePath="lib\$(TargetFramework)" />
</ItemGroup>
</Target>
</Project>