aspnetcore/test/WebSites/AntiForgeryWebSite
Doug Bunting fc1017fba8 Quick fixes: Clean up test code
- remove useless `configuration` variables and `Configuration` instances
- remove "Review" code comment
 - unintentionally included in commit 4b5dd19
- reduce repeated code in `TestHelper` for functional tests
 - `CreateServer()` methods had duplicate code, an ambiguous match, and an odd order
- rename `GetTestConfiguration()` to `UseCultureReplacer()` in functional tests
2015-03-24 13:42:27 -07:00
..
Controllers Revert "Revert "Added SetAntiForgeryCookieAndHeader method that sets cookie token and header"" 2015-01-20 10:51:44 -08:00
Models
Views Revert "Revert "Added SetAntiForgeryCookieAndHeader method that sets cookie token and header"" 2015-01-20 10:51:44 -08:00
wwwroot Fixing Readme 2015-02-19 10:20:16 -08:00
AntiForgeryWebSite.xproj Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
Startup.cs Quick fixes: Clean up test code 2015-03-24 13:42:27 -07:00
project.json Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:42 -07:00
readme.md Fixing Readme 2015-02-19 10:20:16 -08:00

readme.md

AntiForgeryWebSite

This web site illustrates how to use anti forgery system to prevent CSRF attacks. The web site has an AccountsController which uses an anti forgery token to validate incoming form posts.