GitXplorerGitXplorer
c

aspnetcore-lockdown-demo

public
6 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f9791828e40d00a447d9d72ffc1e30bcbe25b129

Update README.MD

ccecilphillip committed 8 years ago
Unverified
64a8b152e65b4e1afc07266273331f6931bff3c2

updating readme

ccecilphillip committed 8 years ago
Unverified
d67fdd17e75dbf13da5ae16aecdd20a1cbd524bc

Adding readme

ccecilphillip committed 8 years ago
Unverified
a7772d8dcf83418597deb0211fa5addc44f52f60

Antiforgery

ccecilphillip committed 8 years ago
Unverified
f2b432b663e2208c97fed6583d792809728411e0

adding another requirement

ccecilphillip committed 8 years ago
Unverified
876e6c76056e235f78f1d914d2442061ff5a89be

SecureTagHelper and clean up

ccecilphillip committed 8 years ago

README

The README file for this repository.

Code samples on Securing ASP.NET Core

Getting Setup

The samples are built with ASP .NET Core 1.0 RTM with tooling version 1.0.0-preview2-003121. You can get the installation files here. There's nothing OS specific in here so the code should run anywhere ASP.NET Core is supported. The code also assumes that you have a GitHub app setup. You can create a GitHub application for free here. Then add your keys to the secrets manager with the following commands

dotnet user-secrets set GitHub:ClientId YOUR_SECRET
dotnet user-secrets set GitHub:SecretKey YOUR_KEY

You can also just remove the Github middleware from Startup.cs. Covered in the samples

  • Cookie Authentication Middleware
  • GitHub OAuth Middleware
  • ClaimsTransformation
  • TagHelpers
  • Authorization Policies
  • User Secrets
  • Entity Framework InMemory storage (for demos/testing only)

Built With