Commit Graph

17 Commits

Author SHA1 Message Date
N. Taylor Mullen f9b9dcd79b Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:36:35 -08:00
Ajay Bhargav Baaskaran 9445574aa1 Updated Json.Net version 2016-02-04 16:04:44 -08:00
Hisham Bin Ateya b1df299ec3 Add 'UseServer' 2016-02-04 13:37:04 +03:00
Ryan Nowak 96063e2476 Remove dependency on routing in sample
Removing the routing dependency since this is moving lower in the stack.
2016-02-02 09:24:29 -08:00
Doug Bunting 7c7a4a905e Correct project dependencies
- use latest `System.Net.Http`, not hard-coded version
- add imports for the latest CLI
 - see aspnet/FileSystem@4a9a0fd for the inspiration
2016-02-01 18:53:40 -08:00
N. Taylor Mullen 9c9543dde4 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:22 -08:00
John Luo 115e89d6f8 Reacting to hosting rename 2016-01-17 17:08:20 -08:00
John Luo 807cd77307 Reacting to Hosting API changes 2016-01-12 16:03:24 -08:00
ryanbrandenburg a281b2e369 * Add functional tests for sample 2016-01-06 09:37:15 -08:00
Hao Kung 0eec60b0ac React to OptionsModel => Options 2015-12-21 14:54:54 -08:00
John Luo f49c218bdf Reacting to new Hosting API 2015-12-18 15:24:53 -08:00
Ryan Nowak 1c0996c625 Add a sample demonstrating Antiforgery with AJAX 2015-12-17 13:29:45 -08:00
Ryan Nowak 3280ff6ac5 Add Header support
This change adds support for retrieving an antiforgery CSRF token via a
configurable header in addition to the form field. This helps with doing
ajax requests in a 1st-party SPA when using cookie auth, and is similar to
functionality provided by a bunch of different frameworks.

In this change there's also a bunch of churn due to avoiding the term
'form' in favor of 'request' and 'session' in favor of 'cookie'. Where
code and error message now mention 'form' they specifically mean
form-encoded content.
2015-12-15 14:18:09 -08:00
Pranav K 7a0068ede2 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:46 -07:00
Hao Kung 83ea8051c8 Update test 2015-09-02 15:44:39 -07:00
Ryan Nowak b3e92da7d8 Add an IAntiforgery interface and simplify API 2015-06-24 15:56:03 -07:00
Ryan Nowak b474ef9b23 Add sample of using Antiforgery outside of MVC 2015-06-10 14:53:44 -07:00