Commit Graph

80 Commits

Author SHA1 Message Date
Priyanshu Agrawal ce82951c56 Remove extra white-spaces 2018-02-05 23:52:53 +05:30
Priyanshu Agrawal e0e4b007ec Use http method names from HttpAbstractions
This uses http method names from strings defined HttpMethods class instead of hard coded strings.
2018-02-03 01:36:28 +05:30
Priyanshu Agrawal 58411b4cc4 Use header names from HttpAbstractions
Closes aspnet/Home#2319

This will use constants defined in HeaderNames class instead of hard coded strings.
2018-02-03 01:24:56 +05:30
Jass Bagga 95c663a289
Handle malformed origin Uri (#139)
Addresses aspnet/Home#2318
2018-01-08 11:04:57 -08:00
Nate McMaster 8fd36866f9 Pin tool and package versions to make builds more repeatable 2017-10-31 18:04:49 -07:00
Kiran Challa 5eae687ddd Updated EnableCorsAttribute and UseCors extension to not have to supply a policy name. 2017-09-12 17:06:05 -07:00
Nate McMaster 370bc7d7c5 Use PackageLineup to manage PackageReference versions 2017-08-30 17:22:09 -07:00
Nate McMaster 51aecc2c18 Use Directory.Build.props/targets 2017-08-22 12:32:16 -07:00
Jass Bagga c2262b7234 Update TFM to netstandard2.0 (#112) 2017-05-22 16:42:46 -07:00
John Luo 905114e960 Migration 2017-05-04 16:32:12 -07:00
Pranav K 275cd6b8d1 Remove net451 as a cross-compile target 2017-03-22 18:58:46 -07:00
Nate McMaster fd3486df0f Unify dependency versions to one file and remove workarounds 2017-03-15 12:58:08 -07:00
Nate McMaster f34848b760 Upgrade to VS 2017 2017-01-30 16:04:19 -08:00
Pranav K bdf9d2a2e2 Updating to 4.4 CoreFx packages 2016-12-21 16:16:12 -08:00
Michiel Post 2dbfb8839b Include VaryByOrigin when there are multiple Origins configured (#84)
Fixes #97 

* Added negative test and updated origin to valid origin url

* Fixed tabs and spaces
2016-12-21 15:49:50 -08:00
Choc 8214954d5b Add support for clients to configure a policy with custom logic about whether an origin should be allowed and provide a default implementation of the functionality to allow wildcard subdomains 2016-11-29 12:27:00 -08:00
Jass Bagga fd4cb7394b organize usings 2016-11-21 17:19:39 -08:00
Jass Bagga b3bdba1559 PR comments incorporated. Working on making SampleDestination dynamic- define the policy within the sample through a UI. 2016-11-21 15:31:14 -08:00
Jass Bagga 5dcf47ef12 PR comments incorporated 2016-11-17 17:36:18 -08:00
Jass Bagga 517dc3c860 Added tests for logging 2016-11-16 18:25:15 -08:00
Jass Bagga 98bb5d67fd Design PR for CORS sample and logging 2016-11-16 15:46:47 -08:00
Jass Bagga 4de03b6dff Added logging for preflight requests and origin headers 2016-11-15 15:07:17 -08:00
Pranav K de383b7ee4 Updating versions to 1.2.0-* 2016-11-09 14:16:56 -08:00
jacalvar 9b95754b0f Created public API baselines 2016-11-04 13:00:41 -07:00
Pranav K fa5dcf55a6 Updating partner package versions 2016-09-28 11:49:51 -07:00
Kiran Challa 15b66cec1f [Fixes #77] Make HTTP method match as case-insensitive 2016-08-08 14:28:16 -07:00
Doug Bunting 5842964919 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-06 22:02:12 -07:00
Pranav K f742566f3f Updating to dev versions 2016-06-16 10:17:39 -07:00
Pranav K 02f86494a9 Fix build warnings 2016-05-02 11:27:07 -07:00
Pranav K 909f22df38 Removing imports from src projects 2016-04-08 06:49:10 -07:00
jacalvar e68df4611e Return IServiceCollection from AddCors extension methods 2016-03-28 15:09:29 -07:00
Ajay Bhargav Baaskaran 553e2e3c01 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:04 -08:00
Doug Bunting 36adff25e4 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 16:35:52 -08:00
N. Taylor Mullen d237c78278 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:40 -08:00
jacalvar 140cdfb2d2 Make ServiceCollectionExtensions consistent 2016-02-29 12:22:33 -08:00
Eilon Lipton f29649c749 Fix package metadata 2016-02-28 15:53:57 -08:00
Eilon Lipton 7ed26eabf7 Move files to the right folder 2016-02-28 15:53:51 -08:00
Ajay Bhargav Baaskaran 80ea4b9035 Enabled xml doc generation 2016-02-17 15:40:13 -08:00
N. Taylor Mullen d858078d69 Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:37 -08:00
N. Taylor Mullen 8ed31de917 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:27 -08:00
N. Taylor Mullen 28c03ef2e7 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:25 -08:00
John Luo 5bf58a08e9 Remove redundant AddOptions which is now a default hosting service 2016-01-07 17:26:50 -08:00
Hao Kung d79969aecb React to OptionsModel => Options 2015-12-21 14:41:52 -08:00
Doug Bunting c3c0b45225 Move functional tests of CORS middleware to this repo
- related to aspnet/Mvc#3612
2015-12-15 08:42:26 -08:00
Kiran Challa 80f1655478 [Fixes #51] Missing null check in CorsPolicyBuilder 2015-11-24 09:17:02 -08:00
Cesar Blum Silveira 926a6a7aff Strong name Microsoft.AspNet.Cors. 2015-11-03 12:53:40 -08:00
Pranav K 3a0080439b Switching to generations TFMs 2015-10-22 00:23:51 -07:00
Kiran Challa 475771250b [Fixes #41] Api review changes 2015-10-15 13:16:34 -07:00
Pranav K 5ce58c790f Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:47 -07:00
Pranav K bf66dcea69 Update CORS package version to 6.0.0
Fixes #24
2015-09-22 08:51:42 -07:00