Commit Graph

21737 Commits

Author SHA1 Message Date
Chris Ross b44ffdb745 #111 - Remove DataProtectionOptions from the service collection. 2014-11-18 13:02:58 -08:00
Ryan Nowak 5c116db6a5 Add a sample of building a customize 'MapRoute' method
This is a sample of the pattern for building a MapRoute method that
customizes routing by adding constraints, datatokens, or defaults. This is
the replacement for adding data to the route directly.

Also fixed up the sample to work. It was massively out of date.
2014-11-18 11:58:29 -08:00
Ryan Nowak 01345eca91 Fix for #92 - Make Constraints, DataTokens, and Defaults readonly
The properties on TemplateRoute for DataTokens and Defaults are now
readonly. This prevents modifying these collections in a way that
invalidates cached data, or violates thread-safety.

To do the same for constraints, this change includes a substantial refactor
of how we realize inline constraints, and moves the constraint resolver
out of the parsing phase.

This allow creates a builder for the constraint map, that will make it
easier to implement features like optional constraints, and is reusable
for anyone building their own type of routing system.
2014-11-18 11:24:25 -08:00
rowanmiller fad5ba4323 Copy of Microsoft.AspNet.Diagnostics.Entity code from EntityFramework
Straight copy of code with no modification so that we have a baseline of changes made to port the code to the Diagnostics repo
2014-11-17 15:49:09 -08:00
Chris Ross 8caec74f03 Add a HotAdd/Remove prefix sample. 2014-11-17 09:24:52 -08:00
Chris Ross ecf9454efe Make prefix add & remove thread safe. 2014-11-17 09:24:46 -08:00
Chris Ross 46a11be2ed #39 - Hot add/remove prefixes. #13 - Support Add/Remove(string). 2014-11-17 09:24:42 -08:00
Chris Ross 6a4f49a188 Fix facebook endpoint tests. 2014-11-15 08:13:56 -08:00
Chris Ross b5156a00b3 Argument validation cleanup. 2014-11-14 15:14:16 -08:00
Chris Ross ba693dd383 Code cleanup. 2014-11-14 15:11:41 -08:00
Chris Ross 1dd3a2ee1f #147 - OWIN: Throw KeyNotFoundException if the underlying Feature is missing. Return defaults for required entries. 2014-11-14 15:11:40 -08:00
Chris Ross 0fee3c87a0 #85 - Update the targeted Facebook API version to v2.2. 2014-11-14 15:05:31 -08:00
Chris Ross b7bb7f8fcf Fix issue with empty path. 2014-11-14 09:43:33 -08:00
Suhas Joshi 8709721890 Merge branch 'UpdateKestrel' of https://github.com/aspnet/Security into UpdateKestrel 2014-11-13 16:51:52 -08:00
Suhas Joshi 4f90920b6d Added kestrel and running on IIS support 2014-11-13 16:50:53 -08:00
Chris Ross bf5d14f477 #78 - Enable TestServer to populate the PathBase. 2014-11-13 16:23:03 -08:00
Suhas Joshi 2f7c186b24 Adding necesary files for IIS hosting 2014-11-13 12:57:01 -08:00
Suhas Joshi 0815681a95 Added kestrel to run samples on Mono 2014-11-13 11:16:36 -08:00
Victor Hurdugaci 2970af14b1 Update KProj to the latest format 2014-11-12 15:56:14 -08:00
Victor Hurdugaci c0d8e94287 Update KProj to the latest format 2014-11-12 15:43:31 -08:00
Victor Hurdugaci 15344d8d7a Update KProj to the latest format 2014-11-12 15:39:40 -08:00
Victor Hurdugaci a3a59f122d Update KProj to the latest format 2014-11-12 15:36:26 -08:00
Victor Hurdugaci ee162013a5 Update KProj to the latest format 2014-11-12 15:33:16 -08:00
Victor Hurdugaci 1b8f25f7d4 Update KProj to the latest format 2014-11-12 15:15:40 -08:00
Victor Hurdugaci 76bb27e5d3 Update KProj to the latest format 2014-11-12 15:09:59 -08:00
Victor Hurdugaci d25ffec655 Update KProj to latest version 2014-11-12 15:06:43 -08:00
Victor Hurdugaci b466013235 Update KProj to the latest format 2014-11-12 15:01:34 -08:00
Doug Bunting 3edc04741c Address PR comments
- "K_build_options" -> "KPM_build_options" environment variable
- "K_build_options" -> "KPM_restore_options" (oops)
- "set-quiet" -> "--quiet" target

nit: remove trailing whitespace
2014-11-12 08:45:54 -08:00
Doug Bunting dd5e65eb1d Get build and restore options from environment; provide set-quiet target
- see #123
- leaves default build unchanged
- run `build set-quiet default` for a much-quieter build
2014-11-12 08:40:44 -08:00
Pranav K ac129c71ac Updating update-master to reset to release and copy NuGet.master.config to
repos
2014-11-12 07:41:24 -08:00
Troy Dai 73a439804b Skip calling clean-npm-modules from #run-grunt on Mono 2014-11-11 17:02:42 -08:00
DamianEdwards 88ebb165e7 Fixed kproj artifacts dir location 2014-11-11 12:06:43 -08:00
DamianEdwards 9c279164c4 Updated the grunt target to delete node_modules directory afterward
- It shelss out to "robocopy" tool as that is safe for long paths
- Doing this to work around the issue with KRE compile failing when long paths are present in the project folder
2014-11-11 11:15:36 -08:00
DamianEdwards 1e2152cd26 Update kproj files to move artifacts out of project folder 2014-11-10 14:20:49 -08:00
Pranav K fc99ba1426 Updating kvm.ps1 and kvm.sh scripts 2014-11-10 10:12:30 -08:00
Kirthi Krishnamraju 424099bd57 Updated readme 2014-11-07 10:52:23 -08:00
Pranav K 8f16060f94 Fixing dev NuGet.config 2014-11-06 22:17:09 -08:00
Pranav K 72604cb327 Fixing dev NuGet.config 2014-11-06 22:05:03 -08:00
DamianEdwards 0352ef8a79 MusicStore.Spa changes:
- Added buddy validation provider

Created SimpleMapper in MusicStore.Spa

- Fixed EF mapping config
- Made SimpleMapper to map DTOs to EF objects (and vice-versa)
- Admin screens now return Artist/Genre names when showing Album details

- Unhook grunt/npm/bower from project.json due to long-path issue in KRE build

- Remove unneeded AngularHtmlHelper<T> class
2014-11-06 14:07:27 -08:00
Pranav K 45f6bcde4a Merge branch 'release' into dev 2014-11-06 12:49:52 -08:00
Pranav K 087552dc5f Updating to release NuGet.config 2014-11-06 12:49:38 -08:00
Pranav K 6f543a7302 Merge branch 'release' into dev 2014-11-06 12:48:00 -08:00
Pranav K cd184e3e33 Updating to release NuGet.config 2014-11-06 12:46:58 -08:00
Chris Ross 045a6eb4ba Add new HeadersSent API. 2014-11-06 12:10:15 -08:00
Chris Ross 65f595ca02 Add new HeadersSent API. 2014-11-06 12:01:14 -08:00
Chris Ross f6c1a559a0 Add new HeadersSent API. 2014-11-06 11:56:23 -08:00
Pranav K 8db4a11819 Merge branch 'release' into dev 2014-11-06 11:28:23 -08:00
Pranav K 641c4528e9 Updating to release NuGet.config 2014-11-06 11:24:42 -08:00
Chris Ross 389e27e460 #134 - Add HeadersSent api. 2014-11-06 10:59:52 -08:00
Pranav K 1c3c7a0eef Merge branch 'release' into dev 2014-11-06 10:55:35 -08:00