Documentation for ASP.NET Core
 
 
 
 
 
 
Go to file
Ryan O'Neill dcf39ad601 Fix demo code for AddAuthentication.AddCookie
In .Net Core 2.0 using the code as supplied results in an exception, the fix is to pass the scheme name when calling AddCookie.

Fails:
services.AddAuthentication("MyCookieAuthenticationScheme")
        .AddCookie

Works:
Fix demo code for services.AddAuthentication.AddCookie
services.AddAuthentication("MyCookieAuthenticationScheme")
        .AddCookie("MyCookieAuthenticationScheme",
2017-09-27 15:05:58 +01:00
.github PR template changes (#2949) 2017-03-10 13:05:47 -10:00
aspnet Fix typo 2017-09-26 21:55:10 -05:00
aspnetcore Fix demo code for AddAuthentication.AddCookie 2017-09-27 15:05:58 +01:00
.gitattributes Added more WebHook docs 2015-09-13 21:38:50 -07:00
.gitignore .gitignore file cleanup 2017-09-25 10:09:55 -05:00
.openpublishing.build.ps1 Initialize open publishing repository: https://github.com/aspnet/Docs of branch master 2016-10-27 04:44:38 +00:00
.openpublishing.publish.config.json Updating master branch to allow pdf generation 2017-01-10 13:13:44 -08:00
.openpublishing.redirection.json Merge branch 'master' into guardrex/resp-caching-update 2017-09-25 14:53:21 -05:00
CONTRIBUTING.md Contribution guidelines update 2017-09-20 10:30:16 -05:00
LICENSE Legal updates from CELA (#2977) 2017-03-15 11:31:01 -10:00
LICENSE-CODE Legal updates from CELA (#2977) 2017-03-15 11:31:01 -10:00
README.md Fixes #3763 2017-07-18 14:36:00 -05:00
ThirdPartyNotices Remove Deadlinks in aspnetcore section of repo (#4241) 2017-09-11 20:58:51 -05:00

README.md

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

ASP.NET Docs

This project provides the source for docs.microsoft.com/aspnet. You can learn more about ASP.NET Core at the Home repo. See the Contributing Guide and the issues list if you would like to help out.

API PR's ( api/autoapi/... ) should not be made here. Changes to API documentation should be made in the source repository against the triple slash /// comments.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.