Commit Graph

697 Commits

Author SHA1 Message Date
Pranav K 8046dcc0f2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K b3afbc79d2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:27 -08:00
Pranav K 7f6410bc55 Updating versions to 1.2.0-* 2016-11-09 14:20:20 -08:00
Pranav K 97d7bf7468 Updating versions to 1.2.0-* 2016-11-09 14:18:06 -08:00
Pranav K 8e4ab2c6ff Updating versions to 1.2.0-* 2016-11-09 14:17:00 -08:00
Ajay Bhargav Baaskaran 34f419f446 Added tags to project.json 2016-11-05 00:09:47 -07:00
jacalvar 7c6583986c Created public API baselines 2016-11-04 13:06:13 -07:00
Andrew Stanton-Nurse 5858c0a64a fix #85 by making HandshakeHelpers internal and tidying doc comments
we don't need to share it with anything in the current implementation
2016-11-03 10:27:15 -07:00
Andrew Stanton-Nurse f58a373704 fix #106 by removing ReplaceFeature 2016-11-02 15:58:17 -07:00
pan-wang 4569d6d6d5 fix issue #26 AspNetCoreModule needs to abort failed responses (#34) 2016-10-31 13:03:13 -07:00
Andrew Stanton-Nurse 303f9ea2de update version to prepare for 1.1 release (#125)
* update version to prepare for 1.1 release

* update projects that reference WebSockets
2016-10-29 12:45:38 -07:00
Sourabh Shirhatti df997dcb3e Update LICENSE information 2016-10-26 14:08:58 -07:00
pan-wang ef19455912 sync up the code with IIS OOB branch (#21) 2016-10-26 13:44:02 -07:00
Pranav K 7d1f5f9818 Remove build quality pinning 2016-10-14 10:08:10 -07:00
Pavel Krymets 8d8e1ee8dc Avoid calling User.Identity.AuthenticationType (#282) 2016-10-12 09:54:11 -07:00
pan-wang 64ab88fa66 fix build warning (#18) 2016-10-04 13:51:48 -07:00
Pavel Krymets 6eacfd2679 Rename Azure.Storage to AzureStorage (#183) 2016-10-04 11:51:50 -07:00
pan-wang b9fda49649 allowing flow app_offline to remote client (#17) 2016-10-03 14:49:16 -07:00
Pranav K 35cae5da7d Updating partner package versions 2016-10-03 14:28:45 -07:00
Pranav K f1c53378c3 Updating partner package versions 2016-10-03 14:23:59 -07:00
Pranav K 3d3d6a3fba Updating partner package versions 2016-10-03 12:06:50 -07:00
Pavel Krymets 89c39a6c28 Update StackExchange.Redis.StrongName (#182) 2016-10-03 10:59:04 -07:00
Martin Andreas Ullrich b8471455a7 Fix NuGet project description ASP.NET 5 > Core (#120)
changed leftover "ASP.NET 5" in project.json description to "ASP.NET Core"
2016-10-03 09:56:14 -07:00
Chris R 3181c3f2e3 Only challenge if not already accepted. 2016-09-29 17:15:30 -07:00
Pavel Krymets 7a3fd8af33 Rename DataProtection.Azure.Blob to DataProtection.Azure.Storage (#180) 2016-09-29 15:23:42 -07:00
Pavel Krymets e4cf12017b Make UseIISIntegration idempotent (#274) 2016-09-29 09:43:03 -07:00
Sourabh Shirhatti cfd963c484 Merge branch 'shirhatti/nuget' into dev 2016-09-26 17:28:55 -07:00
Sourabh Shirhatti d245ded51d Produce fake nupkg for testing 2016-09-26 17:08:07 -07:00
pan-wang 191e14b276 fix build warning and a memory leak 2016-09-23 10:59:40 -07:00
Sourabh Shirhatti c6b3bb1243 Change output directory to work with KoreBuild 2016-09-21 17:21:37 -07:00
Pranav K 3e62285de5 Making build use Sake 2016-09-21 17:21:36 -07:00
Sourabh Shirhatti 0327e3b993 Change output directory to work with KoreBuild 2016-09-21 15:02:10 -07:00
Pranav K 210686a405 Making build use Sake 2016-09-20 17:50:54 -07:00
Sourabh Shirhatti 21b683b733 MC wasn't getting invoked for release builds 2016-09-20 16:57:03 -07:00
Sourabh Shirhatti f558c5de99 Update the filewatcher
Add a reference counter to avoid AV in case web.config was changed
2016-09-20 15:47:50 -07:00
Nate McMaster 359faf7e51
Remove Microsoft.AspNetCore.Server.IISIntegration.Tools 2016-09-08 15:58:30 -07:00
Pavel Krymets 50f066579a Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#257)
Instead of Task.FromResult(0)
2016-09-08 08:46:31 -07:00
Pavel Krymets 7dcbb27b6f Updated Redis repository project to support .NET Core (#175) 2016-09-06 14:10:13 -07:00
Pavel Krymets 0e210dadea Port DataProtection blob XmlRepository (#163) 2016-09-06 08:09:13 -07:00
Pavel Krymets 8f8152f910 Fix build error 2016-09-02 16:16:41 -07:00
Andrew Stanton-Nurse b996ee39a4 port dotnet/corefx#11348 (#114)
also adds some tests and extra features to the EchoApp test sample
2016-09-02 14:02:06 -07:00
Pavel Krymets b340b0f0f7 Add Redis IXmlRepository implementation (#173) 2016-09-02 11:56:47 -07:00
Sourabh Shirhatti dff0db80ca Initial upload 2016-08-25 12:23:56 -07:00
Andrew Stanton-Nurse c51aec5292 port dotnet/corefx#10792 (#111)
* port dotnet/corefx#10792
* add EchoApp sample
2016-08-19 15:22:20 -07:00
John Luo 2f397d6f63 Switch to UsePathBase instead of relying on Kestrel feature #236 2016-08-16 20:20:55 -07:00
Chris R e94db64619 #242 Delay registering the url until Build. 2016-08-15 17:43:29 -07:00
Andrew Stanton-Nurse 33e3e5b186 remove our WebSocket client
we'll use the one from dotnet/corefx now instead

fixes #108
2016-08-04 10:30:13 -07:00
Andrew Stanton-Nurse 45f0fe178f import WebSockets code from CoreFX (#105)
* import WebSockets code from CoreFX

* sync pr feedback from dotnet/corefx#10510
2016-08-03 11:07:01 -07:00
Ajay Bhargav Baaskaran 1ad5d0e317 var cleanup 2016-07-28 17:29:06 -07:00
Ajay Bhargav Baaskaran 3733b53700 Removed unnecessary methods in DataProtectionServiceDescriptors 2016-07-28 17:17:27 -07:00
Doug Bunting 4f30dddb14 To de-dupe, we must remove
- part of aspnet/Common#93
- use `WebEncoders` from Common repo

Also let VS have its way w/ test `.xproj` files
2016-07-12 16:24:41 -07:00
moozzyk ef6533cf85 Fixing wording/casing in command line tool output
Fixes #229
2016-07-11 10:58:16 -07:00
Doug Bunting 80437e878a 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-07 14:16:10 -07:00
Doug Bunting c4a4e86708 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-07 12:05:28 -07:00
Doug Bunting 332e0a0b87 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:03:23 -07:00
Pranav K 38ba07487a Updating to dev versions 2016-06-16 10:18:54 -07:00
Pranav K fb09e5323c Updating to dev versions 2016-06-16 10:18:06 -07:00
Pranav K 69fa821522 Updating to dev versions 2016-06-16 10:17:41 -07:00
jacalvar b1af033529 Remove unncessary imports 2016-06-08 15:04:56 -07:00
Pavel Krymets 47d3ffdddc Add activator fallback to support rc1 keys 2016-06-03 12:27:17 -07:00
Pranav K 263d764215 Fix assembly metadata to fix package verifier warnings 2016-06-02 10:57:04 -07:00
moozzyk 31a6a126e3 Always overwrite stdoutLogPath when publishing for Azure
Addresses #167
2016-05-31 10:35:51 -07:00
John Luo f45e533533 Update metadata 2016-05-27 15:29:53 -07:00
John Luo 5095594cd3 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:26:02 -07:00
John Luo 3a1c463e02 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:19:13 -07:00
N. Taylor Mullen cc9873ae6c Unique-ify extension types to not be ambiguous.
- Also updated test class names to reflect new extension naming.

#148
2016-05-26 10:31:13 -07:00
Chris R ed85f504d8 #102 Filter out DEBUG requests under the debugger. 2016-05-25 10:39:52 -07:00
Chris R fa3a0e7c7a #140 Disable header symmetry check on azure. 2016-05-23 14:59:44 -07:00
David Fowler a5b1172676 Remove dependency on hosting
- IIS integration only needs hosting.abstractions
- Fixed launch profiles
- Added AddDebug logging provider
2016-05-21 09:17:24 -07:00
moozzyk 152c11394e Do not overwrite arguments for portable apps
Addresses #147
2016-05-18 14:20:05 -07:00
Pranav K 297c5d3ac0 Revert "React to updated CoreCLR packages"
This reverts commit b7be616f83.
2016-05-18 09:44:03 -07:00
Pranav K f20a8acb61 Revert "React to updated CoreCLR packages"
This reverts commit 5ddbe38630.
2016-05-18 09:42:58 -07:00
John Luo b7be616f83 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-17 15:45:07 -07:00
John Luo 5ddbe38630 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-17 14:45:03 -07:00
moozzyk f58641be49 Adding support for outputName build option
Addresses #128
2016-05-12 15:45:49 -07:00
Pranav K c3dc279642 Merge branch 'release' into dev 2016-05-06 14:10:05 -07:00
Pranav K 4ac0811585 Revise the version for Microsoft.AspNetCore.Server.IISIntegration.Tools
Additionally fix project.json warnings
2016-05-06 14:07:14 -07:00
Pranav K 95b6a0a999 Fix build warnings 2016-05-02 11:27:30 -07:00
Pranav K 2205f33a59 Fix build warnings 2016-05-02 11:27:18 -07:00
Pranav K 5abd3bf076 Fix build warnings 2016-05-02 11:27:08 -07:00
John Luo e344edc2a3 React to default hosting configuration changes 2016-04-27 11:36:23 -07:00
Pranav K 5e81b89378 Replace IApplicationEnvironment with IHostingEnvironment 2016-04-25 16:54:35 -07:00
John Luo 34b5097149 Convert to portable and add tests for standalone and portable 2016-04-22 16:18:17 -07:00
Chris R fcdf8ddc2f #141 Require the MSAspNetCoreToken or send a 400. 2016-04-22 13:23:23 -07:00
moozzyk 4d24efc439 Removing %LAUNCHER_ARGS% from arguments for portable apps
Addresses #150
2016-04-22 11:07:08 -07:00
moozzyk b034849756 Making the path to app relative for Azure
Removing startupLimitType - it is obsolete in AspNetCoreModule

Addresses #142
2016-04-21 16:32:31 -07:00
John Luo 6b1ffb55b3 Remove old IISPlatformHandler and dotnet-publish-iis packages #122 2016-04-15 17:48:16 -07:00
moozzyk 1410a5a096 Enabling publishing portable apps
Addresses #109
2016-04-15 13:09:55 -07:00
Pranav K ab50213acd Fix reference to Microsoft.NetCore.App 2016-04-14 19:12:28 -07:00
Pranav K 49fd345192 Remove Microsoft.DotNet.Cli.Utils 2016-04-14 10:15:19 -07:00
moozzyk 7f7742577d Removing .log extension from the log file name
AspNetCoreModule appends a timestamp followed by ".log" to log file name. Removing extension prevents from creating log files with names like stdout.log.{timestamp}.log
2016-04-14 09:23:19 -07:00
moozzyk 362c093174 The web.config file needs to have Windows slashes even if published on *nix
Addresses #104
2016-04-14 09:21:54 -07:00
Pranav K e06a0f0898 Removing imports from src projects 2016-04-08 06:49:22 -07:00
Pranav K 31732c3d91 Removing imports from src projects 2016-04-08 06:48:39 -07:00
moozzyk e5d651fc30 Updating publish-iis to be a portable app 2016-04-07 15:16:37 -07:00
Chris R ee7bb86407 #121 Rename UseIIS() to UseIISIntegration() 2016-04-07 11:26:31 -07:00
Pranav K 40091fcb22 Fixing build break 2016-04-06 19:18:10 -07:00
Pranav K 8f5a75b26b Fix versions 2016-04-06 18:18:57 -07:00
John Luo 7a923d1d6f Published web.config to application root instead of web root #115 2016-04-06 14:01:23 -07:00
Ajay Bhargav Baaskaran 5654310a68 [Fixes #130] Added few DataProtectionProvider.Create overloads 2016-04-06 13:10:55 -07:00
John Luo cc69cacaea Reacting to Configuration API update 2016-04-04 12:18:35 -07:00
Doug Bunting 52e5ccdac7 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:07:22 -07:00
David Fowler cf9509baca Fixed the build 2016-03-25 01:56:45 -07:00
Eilon Lipton 7cace9a7fe Fix package metadata 2016-03-24 23:50:57 -07:00
Pranav K 92cb5120ae React to Hosting changes 2016-03-24 14:11:36 -07:00
John Luo c43fb71cff Reacting to Hosting changes 2016-03-24 11:47:56 -07:00
Pranav K f2a42d1f71 Reacting to CoreCLR package changes 2016-03-23 13:00:46 -07:00
Pranav K 968eec59ae Revert "Revert "Reacting to CoreCLR package changes""
This reverts commit 3b02600566.
2016-03-22 16:02:09 -07:00
Pranav K 3574a25316 Revert "Revert "Reacting to CoreCLR package changes""
This reverts commit 33dd349cd0.
2016-03-22 15:07:20 -07:00
Doug Bunting 3b02600566 Revert "Reacting to CoreCLR package changes"
This reverts commit 1d91b7bb0d.
2016-03-22 09:38:50 -07:00
Pranav K 33dd349cd0 Revert "Reacting to CoreCLR package changes"
This reverts commit 1786e21426.
2016-03-21 14:24:00 -07:00
Pranav K 1786e21426 Reacting to CoreCLR package changes 2016-03-21 06:51:32 -07:00
Pranav K 1d91b7bb0d Reacting to CoreCLR package changes 2016-03-20 23:54:07 -07:00
Doug Bunting 0f9e4eba02 React to HttpAbstractions change: `WebSocketAcceptContext` in new namespace
- see issue aspnet/HttpAbstractions#590 and pull aspnet/HttpAbstractions#589
2016-03-20 18:06:55 -07:00
Pranav K 8503e161d0 Reacting to CoreCLR package changes 2016-03-19 11:43:51 -07:00
moozzyk a15826399d Racting to ASPNETCORE_APPLICATIONBASE -> ASPNETCORE_CONTENTROOT rename 2016-03-18 14:52:00 -07:00
Chris R 712b6f78bb #95 Add the ForwardedHeadersMiddleware by default. 2016-03-18 11:21:17 -07:00
moozzyk a3f8648710 Reacting to ASPNET_ => ASPNETCORE_ rename 2016-03-15 13:21:54 -07:00
moozzyk 54bc8022af Moving publish-iis from httpPlatformHandler to aspNetCoreModule 2016-03-15 13:21:53 -07:00
moozzyk 5c50ba0898 Creating Microsoft.AspNetCore.Server.IISIntegration.Tools package
See #95
2016-03-15 13:21:52 -07:00
jacalvar aa1495deb0 [Fixes #120, Fixes #121, Fixes #122] Make data protection follow the options model
* Add an IDataProtectionBuilder interface and move methods on DataProtectionConfiguration
  to extension methods on IDataProtectionBuilder.
* Make AddDataProtection return an IDataProtectionBuilder instance for further configuration.
* Make AddDataProtection take in an action with a GlobalConfigurationOptions parameter instead
  of a DataProtectionConfiguration parameter.
* Make DataProtectionProvider static
* Remove ConfigureGlobalOptions
* Change Option suffix in classes that are not actually options to Settings.
* Add extension method for configuring key management options.
* Cleanups.
2016-03-15 15:20:59 -07:00
Chris R 9e6dc5b2da #95 Add the IISMiddleware via a IStartupFilter. 2016-03-14 09:59:49 -07:00
Pranav K 3d4e0d41c8 Fixing CI build failure 2016-03-11 13:44:34 -08:00
Brice Lambson 9750924973 Don't reference facades 2016-03-10 13:05:04 -08:00
Chris R 126ed6c4de #95 Switch the middleware from HttpPlatfromHandler to AspNetCoreModule. 2016-03-10 10:11:49 -08:00
moozzyk 3e7efd04da Appending .exe to the project name instead of just changing the extension
Fixes #93
2016-03-08 16:43:22 -08:00
Ajay Bhargav Baaskaran 8474003b14 Removed duplicate attributes 2016-03-03 22:45:10 -08:00
Ajay Bhargav Baaskaran a561fecb91 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:30 -08:00
Ajay Bhargav Baaskaran c737227b3c Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:54 -08:00
Ajay Bhargav Baaskaran 078cbb5d78 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:02 -08:00
Doug Bunting 51997b2bfc 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 21:40:10 -08:00
Doug Bunting 83c93c79e6 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 18:54:50 -08:00
Pranav K 73cf5b3f84 Fixing build break 2016-03-02 17:07:03 -08:00
Doug Bunting a424475be7 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:36:52 -08:00
N. Taylor Mullen 8f2c77caac Re-add netstandard for non-tool project. 2016-03-02 11:23:31 -08:00
N. Taylor Mullen 911506dc6b Revert "Transition to netstandard."
This reverts commit 078604f3a8.
2016-03-02 10:06:46 -08:00
N. Taylor Mullen 1e06560676 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:37:16 -08:00
N. Taylor Mullen 078604f3a8 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:12 -08:00
N. Taylor Mullen d33c2ac377 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:31:31 -08:00
moozzyk f4e69beea1 Creating webroot if one does not exists
One scenario it is useful is where the webroot does not contain any files. In this case even if the webroot is included in the "content" section dotnet publish does will not publish it.
2016-02-22 17:11:57 -08:00
Ajay Bhargav Baaskaran 3007398648 Enabled xml doc generation 2016-02-19 15:44:54 -08:00
Ajay Bhargav Baaskaran 33d07b8f7c Enabled xml doc generation 2016-02-19 12:29:48 -08:00
Ajay Bhargav Baaskaran a0169238d0 Enabled xml doc generation 2016-02-18 16:17:02 -08:00
N. Taylor Mullen 2abc6a2343 Update System.Linq 4.0.2-* => 4.1.0-*. 2016-02-18 15:36:49 -08:00
moozzyk edff3a563c Adding messages showing that the tool is running 2016-02-11 10:55:43 -08:00
moozzyk 971667e7da Strong naming dotnet-publish-iis 2016-02-11 10:48:05 -08:00
Pranav K 99fbeb6ac3 Reacting to CoreCLR package version changes 2016-02-08 09:33:51 -08:00
Pranav K 4e68e8f3ab Reacting to CoreCLR package version changes 2016-02-08 09:33:41 -08:00
N. Taylor Mullen cdf1d1f6c6 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:23:13 -08:00
moozzyk 186c26f6a1 Adding ASPNET_APPLICATIONBASE environment variable to fix MVC views in IIS 2016-02-03 13:05:12 -08:00
Brennan 1fd703e56f React to Logging API changes 2016-01-27 14:39:00 -08:00
Pranav K 68b5c950c9 Temporarily revert "Adding messages showing that the tool is running" until we can sort out fetching packages
This reverts commit 824acd1ace.
2016-01-25 11:15:43 -08:00
moozzyk 824acd1ace Adding messages showing that the tool is running 2016-01-25 10:23:58 -08:00
moozzyk bed9432275 Adding creating Azure specific configuration 2016-01-25 10:17:11 -08:00
moozzyk 674efca4de Adding HttpPlatformHandler logging defaults to web.config
- writing a default path to log file if one does not exist
 - setting stdoutLogEnabled to false if the attribute does not exist
2016-01-25 10:17:10 -08:00
N. Taylor Mullen 342676925f Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:39:12 -08:00
N. Taylor Mullen 43dfd15a01 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:32:33 -08:00
N. Taylor Mullen 9beb46dff1 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:42 -08:00
N. Taylor Mullen e28aa5f568 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:49 -08:00
N. Taylor Mullen 5227607c58 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:46 -08:00
N. Taylor Mullen 3541bb01c2 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:23:57 -08:00
N. Taylor Mullen 9cec1b4e10 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:23:55 -08:00
N. Taylor Mullen b87a8001fe Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:16:08 -08:00
Pranav K 91ee0f323b Reacting to CoreCLR package version change 2016-01-20 21:03:04 -08:00
Pranav K c8aa4c2c51 Reacting to CoreCLR version changes 2016-01-20 20:39:57 -08:00
Chris R c157d601a2 Avoid merging with anonymous users. 2016-01-20 16:29:20 -08:00
John Luo 488187ff79 Reacting to hosting rename 2016-01-17 16:33:48 -08:00
moozzyk 4d4dfedd59 dotnet-publish-iis refactoring
- moving command logic to a dedicated class
- adding logic for reading webroot value from a parameter, hosting.json file and folder structure
- reading application name from project.json instead of a parameter
2016-01-15 10:36:38 -08:00
Chris R 3458f80ec4 Rename windows auth forwarder header to MS-PLATFORM-HANDLER-WINAUTHTOKEN. 2016-01-14 10:29:39 -08:00
Chris R cc1cb1d480 #27 Forward client certificates. 2016-01-13 15:07:14 -08:00
moozzyk b2a3f871c0 Microsoft.AspNet.Tools.PublishIIS -> dotnet-publish-iis
Renaming Microsoft.AspNet.Tools.PublishIIS to dotnet-publish-iis as this is the convention dotnet tools must follow
2016-01-12 14:15:21 -08:00
Chris R 0589b883b8 #14, 52 Add IWebApplicationBuilder.UseIISPlatformHandlerUrl, include path base 2016-01-12 13:33:21 -08:00
John Luo 11025b894e Updating to new options pattern 2016-01-08 17:06:11 -08:00
moozzyk deca0f3bef fixing build 2016-01-08 16:35:37 -08:00
John Luo d8b6b27a5d Adding publish iis as a project and minor cleanup 2016-01-08 14:55:38 -08:00
moozzyk ae61490092 publish-iis command 2016-01-08 10:29:40 -08:00
John Luo cd813844a0 Updating to new options pattern 2016-01-07 16:37:39 -08:00
John Luo 8872037812 Adding back middleware initialization with options instance 2015-12-23 15:43:52 -08:00
John Luo 460b0c993a Adding back middleware initialization with options instance. 2015-12-23 15:43:05 -08:00
John Luo 6d202b0fdf Standardizing middleware to use configureOptions lambda 2015-12-22 20:42:09 -08:00
John Luo fe41412eeb Stardardizing option initialization using lambdas 2015-12-21 16:44:01 -08:00
Hao Kung f073d0556b React to OptionsModel => Options 2015-12-21 14:47:58 -08:00
Chris R 3809613618 Add missing System.ComponentModel dependency. 2015-12-17 15:37:20 -08:00
Brennan 41cd7bf45e Remove display name for Negotiate and Ntlm 2015-12-10 10:19:13 -08:00
Pranav K 6fabd6f064 Removing unused dependencies 2015-12-07 19:09:28 -08:00
Hisham Bin Ateya 29b90ea070 Simplify AuthenticationHandler using LINQ 2015-12-07 14:01:57 -08:00
John Luo 79fca22b3b Reacting to verbose rename 2015-12-07 11:58:53 -08:00
Chris R f8ff2cd6d1 Remove x-fowarded-for and x-forwarded-proto. 2015-12-07 10:10:31 -08:00
Pavel Krymets cc384ff272 Add an option to disable windown auth 2015-11-24 10:56:34 -08:00
Pranav K ca3e4669dc Updating tests to use moq.netcore 2015-11-20 14:40:50 -08:00
Pavel Krymets 09f54d6857 Fix build 2015-11-18 12:38:28 -08:00
Pavel Krymets c48173c948 Add event ids to all log calls 2015-11-18 11:36:15 -08:00
Pavel Krymets 8ee803d255 Handle Remote header with ip and port correctly 2015-11-18 11:10:27 -08:00
Hao Kung 0b808ca75a ConfigureDP => AddDP 2015-11-17 13:46:52 -08:00
Pranav K d09551af46 Reacting to DependencyInjection changes 2015-11-13 10:30:54 -08:00
Troy Dai 4c97cbb9b2 Update Microsoft.Win32.Registry reference's version 2015-11-12 15:28:21 -08:00
N. Taylor Mullen 37e4a80160 Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:24:19 -08:00
N. Taylor Mullen 9910254f3d Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:23:49 -08:00
N. Taylor Mullen ca2629c004 Remove System beta tag in project.json for coreclr packages. 2015-11-12 12:22:57 -08:00
Cesar Blum Silveira 9e7a3ae335 Strong name Microsoft.AspNet.IISPlatformHandler. 2015-11-03 20:48:36 -08:00
Cesar Blum Silveira 7770e5f4db Strong name everything. 2015-11-03 12:05:40 -08:00
Cesar Blum Silveira acd8d3d44d Strong name everything. 2015-11-02 15:32:44 -08:00
David Fowler 327589d41e Fixed ifdefs 2015-10-24 01:07:01 -07:00
David Fowler 0c064dfb6c Generations and vanilla .NET Framework support 2015-10-23 23:21:08 -07:00
Pavel Krymets bc80dab39d Compiles and passes tests 2015-10-22 18:15:32 -07:00
Pranav K c3a24cbe72 Switching to generations TFMs 2015-10-22 01:04:17 -07:00
Pranav K 1a40e7254d Switching to using generations TFM 2015-10-21 18:31:51 -07:00
Chris R c93e4f09f2 React to Authentication changes. 2015-10-15 10:09:33 -07:00
Chris R 2fe2e0d841 #1 Implement a full authentication handler. 2015-10-13 13:47:45 -07:00
Pranav K 9fc75d395d Replace NotNullAttribute with thrown exceptions 2015-10-07 18:05:26 -07:00
Pranav K bc6502825f Replacing NotNullAttribute with thrown exceptions 2015-10-07 17:44:11 -07:00
Cesar Blum Silveira 76cbb57f9a Fix build on Linux. 2015-10-07 15:06:50 -07:00
Pranav K aea8716df6 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:48 -07:00
Pranav K fcd5b55611 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:45 -07:00
Pranav K ad9d75a599 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:36 -07:00
Chris R 4510d20a83 #2 Platform handler middleware, sample, tests, functional tests. 2015-09-28 15:16:55 -07:00
Pranav K 98af679b0b Adding NeutralResourcesLanguageAttribute 2015-09-10 18:45:23 -07:00
Pranav K 5bf429d212 Adding NeutralResourcesLanguageAttribute 2015-09-10 16:41:24 -07:00
Chris R 6bc7df851f Use new HttpContext.Features API. 2015-08-31 09:45:21 -07:00
Chris R 821f470bb5 React to string[] -> StringValues changes. 2015-08-28 14:40:15 -07:00
Hao Kung a4144caedd React to options 2015-08-26 16:05:51 -07:00
Chris R b51cf63637 #49 React to CoreCLR Cryptography package changes. 2015-08-11 14:43:06 -07:00
Pranav K 4342f25ece Reacting to DI changes 2015-08-11 13:04:40 -07:00
Chris R 9bebd183d7 #396 React to CoreCLR Cryptography package refactoring. Remove transitive dependencies. 2015-08-11 10:34:11 -07:00
Troy Dai e174d2e154 Update CoreCLR versions 2015-08-04 10:15:38 -07:00
Troy Dai 7fe2a43b05 Update CoreCLR versions 2015-08-04 10:15:23 -07:00
Victor Hurdugaci 81e8830c67 React to DNX renames 2015-07-29 00:30:44 -07:00
Pranav K 4103d947f4 Merge remote-tracking branch 'origin/release' into dev 2015-07-16 08:26:01 -07:00
mikary bbd57217f2 React to API change in DependencyInjection 2015-07-07 14:40:20 -07:00
Victor Hurdugaci 6438362e0a Add repository information to project files 2015-07-01 20:34:07 -07:00
Victor Hurdugaci e332375f0e Add repository information to project files 2015-07-01 19:42:39 -07:00
anurse f65ad82c6b use the factory method to create RNG 2015-06-29 12:39:57 -07:00
anurse 1c50ec7166 clean-up 2015-06-29 12:21:46 -07:00
anurse 61894cb4e0 attempt 57: just don't support web socket client from dnxcore 2015-06-29 12:20:16 -07:00
anurse cc1b0c36ac fix #26 by using RNGCryptoServiceProvider on net45 2015-06-29 10:45:04 -07:00
Hisham Abdullah Bin Ateya a1409e0294 React to common package name change 2015-06-11 23:42:32 +03:00
Hisham Abdullah Bin Ateya e632831c09 Using [NotNull] 2015-06-11 22:49:17 +03:00
Hisham Abdullah Bin Ateya 208fa4af36 Using 'nameof' operator instead of magic strings 2015-06-11 22:44:11 +03:00
Troy Dai 430c903f65 Add System.IO to framework assemblies 2015-06-04 10:47:36 -07:00
Chris R 74c8363855 React to CoreClr dependency changes. 2015-05-15 11:34:15 -07:00
Pranav K 0d3c29f46a Reacting to CoreCLR package updates 2015-05-15 09:57:18 -07:00
Chris R ff406ecdf1 React to Http namespace changes. 2015-05-07 14:16:46 -07:00
Troy Dai 2f09b07adc Package rename: Microsoft.AspNet.DataProtection.Shared -> Microsoft.AspNet.DataProtection.Sources 2015-05-07 10:16:20 -07:00
Troy Dai fe80a65ffc React to common package name change 2015-05-07 09:36:15 -07:00
N. Taylor Mullen 552b336a78 Update LICENSE.txt and license header on files. 2015-05-01 14:07:00 -07:00
N. Taylor Mullen c6416f3520 Update LICENSE.txt and license header on files. 2015-05-01 13:45:56 -07:00
Troy Dai 4a58540bdf React to DNX packages name change 2015-05-01 11:05:09 -07:00
Brennan d578779fa6 Revert Runtime.Abstractions 2015-04-29 23:58:04 -07:00
Brennan a1144274a1 React to Interface package renames 2015-04-29 22:42:00 -07:00
Brennan 7ecbee2f7d Interfaces->Abstractions 2015-04-29 17:21:04 -07:00
Chris Ross 66b669aa22 React to WebSocket feature API changes. 2015-04-24 10:53:07 -07:00
Matt Ellis d386e78ee6 Use $HOME as a possible storage location
If LOCALAPPDATA and USERPROFILE are both null (as is the case on
Linux/OSX) use "$HOME/.aspnet" as the root folder for data protection
keys

Fixes #76
2015-04-19 21:52:35 -07:00
Pranav K 8983a03fed Reacting to changes in OptionsModel 2015-04-16 16:57:44 -07:00
Chris Ross a10245d39f Replace WebSocket dependency. 2015-04-08 14:50:42 -07:00
N. Taylor Mullen e0a651e9a6 Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:54:43 -07:00
N. Taylor Mullen 8b9b809ecd Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:41:49 -07:00
Doug Bunting cf2ba5aa25 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:31 -07:00
Doug Bunting 19567ad39d Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:24 -07:00
Praburaj 33fa06a25c Fixing dataprotection on IIS
Fixes: https://github.com/aspnet/DataProtection/issues/73

On IIS where there is no user profile, the code tries to always read the 32bit registry view irrespective of the bitness of the worker process. So in case of 64 bit app pools the registry key is null so it falls back to in memory ephemeral repository. On 32 bit app pool it can find an appropriate registry key, but the keyRepositoryDescriptor is not populated resulting in a null reference exception.

Current behavior:
X86 throws
X64 falls back to in memory ephemeral

With fix:
Both X86 and X64 will use DPAPI.
2015-04-01 11:54:24 -07:00
Levi B d2def94712 Reliability: Tweak comparison in key revocation checks 2015-03-18 15:15:58 -07:00
Levi B fd08325918 Skip registry checks on non-Windows platforms 2015-03-18 10:42:09 -07:00
Levi B ca840d3711 Code cleanup in KeyDerivation
- Rename PRF members to be HMAC functions (which is technically correct)
- Use NotNullAttribute where possible
2015-03-17 22:03:43 -07:00
Levi B 271ec1bd4b Move IApplicationDiscriminator to Infrastructure namespace 2015-03-17 20:56:58 -07:00
Levi B 22927ec289 Add simple file-based provider instantiation APIs 2015-03-17 15:36:58 -07:00
Levi B 84490846b6 Move time-limited data protector to Extensions project 2015-03-17 14:52:15 -07:00
Levi B 94233e76ff Remove experimental .Azure project 2015-03-17 10:45:21 -07:00
Levi B d673df7ef3 Reliability improvements to key ring updates
- Optimistically treat failures as transient and continue to use any existing cached key ring for a short period of time
- Updates to the key ring shouldn't block other threads; they can use the outdated version while waiting for the update
2015-03-17 00:46:24 -07:00
Levi B 612a81d9ce Defer processing <key> descriptors until necessary
- Make CreateNewKey more robust against bad key repositories
- Don't hide key deserialization errors
2015-03-16 23:32:20 -07:00
Levi B 4365b531d8 Use C# 6 string interpolation feature
Provides cleanup in logging and removes calls to String.Format
2015-03-16 21:38:21 -07:00
Levi B 0966e37d94 Doc comment cleanup on GetApplicationUniqueIdentifier 2015-03-14 15:43:39 -07:00
Levi B 82d92064c5 Continued API improvements and refactoring
- Add helpful extension methods to Interfaces project
- Auto heuristic detection now writes default protection settings to the ILogger
- Cleanup dead methods / add useful methods in DataProtectionConfiguration
- Update System.Web compatibility project to allow mapping MachineKey.Protect directly to IDataProtector.Protect
2015-03-14 14:29:39 -07:00
Levi B bf7283697d Flow logging through the AuthenticatedEncryption types 2015-03-12 16:12:17 -07:00
Levi B 7fe33e8159 DataProtectionServices should prefer registry over defaults
Comment cleanup in CNG-GCM ExportToXml
2015-03-12 14:22:45 -07:00
Levi B 4f2288c3da Introduce concept of a "fallback key"
This key is used if there is no preferred default key and the developer has disabled automatic key generation. This will keep the service from falling over if the keys are not rolled and they all expire.
2015-03-11 19:39:41 -07:00
Levi B 58c823bc45 Rename KeyLifetimeOptions -> KeyManagementOptions
Simplify default key resolution logic
Introduce API for disabling automatic key generation
2015-03-11 19:39:35 -07:00
N. Taylor Mullen a43664286a Update .kproj => .xproj. 2015-03-11 14:09:20 -07:00
N. Taylor Mullen 8c7a47fb00 Update .kproj => .xproj. 2015-03-11 14:05:01 -07:00
Levi B bb1b49cc1c Fix PoliCheck violations. 2015-03-10 23:40:39 -07:00
Levi B e8cc1106d8 Significant refactorings throughout the data protection stack
- Move IDataProtectionProvider, IDataProtector, and extension methods to their own package
- Simplify the APIs for registering and configuring the system
- Default implementation now auto-detects capabilities of OS
- Use EncryptedXml for X.509 certificate-based encryption
- Add ability to escrow secret material upon key creation
- Use centralized system policy for default algorithm selection
- Simplify System.Web compatibility layer
- Add unit tests, logging, and doc comments throughout solution
2015-03-10 22:43:45 -07:00
N. Taylor Mullen 37a3c7f2a6 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 13:02:12 -07:00
N. Taylor Mullen 8f0b9a56b8 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:52:23 -07:00
N. Taylor Mullen 00a38659d5 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 13:00:50 -07:00
N. Taylor Mullen cb5e7d82f9 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:48:15 -07:00
Praburaj 9bcc863321 Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 16:36:21 -08:00
Brennan 88eb10dcfe DI API changes 2015-03-05 14:21:35 -08:00
Hao Kung 32ff156923 React to DI changes, AddDataProtection no longer takes Config 2015-03-04 16:35:33 -08:00
Levi B bf0f94ce20 Store reg keys in a different folder to mitigate impact of renaming changes 2015-02-26 23:46:02 -08:00
Levi B e4db4b1189 Temporarily store keys in different folder to resolve issues caused by package renaming 2015-02-26 10:35:40 -08:00
Levi B e2ca9fc652 Rename to Microsoft.AspNet.DataProtection
from Microsoft.AspNet.Security.DataProtection
2015-02-25 16:49:33 -08:00
Levi B 544c83812c Add unit tests for WeakReferenceHelpers
Doc comment cleanup on IOptimizedAuthenticatedEncryptor
2015-02-24 18:19:31 -08:00
Levi B ab18f52e98 Add CreateProtector convenience extension method 2015-02-24 17:48:29 -08:00
Levi B 6637cb264f Split KeyDerivation into its own project
Move shared crypto code to a common project
2015-02-24 16:20:10 -08:00
Levi B 8ec6dc3712 Code cleanup
Rename IAuthenticatedEncryptor2 -> IOptimizedAuthenticatedEncryptor
Rename ProtectedMemoryBlob -> Secret
Add some missing doc comments explaining
2015-02-24 15:49:30 -08:00
Pranav K 71a2712c5a Reacting to XDocument verson change 2015-02-19 10:15:18 -08:00
Levi B 04e7bca8bf Normalize .kproj files BOM and line endings 2015-01-20 13:49:29 -08:00
Stephen Halter 48e8f92aab Handle HttpFeature rename 2015-01-18 21:01:48 -08:00
Pranav K 8136affef9 Updating exception filters to use when instead of if 2014-12-16 10:21:48 -08:00
Pranav K 017549aa46 Reacting to System.Threading version changes 2014-12-15 15:10:39 -08:00
Victor Hurdugaci f505d52771 Add schema version to kproj files 2014-11-25 11:10:52 -08:00
Victor Hurdugaci 0c841f934e Add schema version to kproj files 2014-11-25 10:36:04 -08:00
Hao Kung f3e9381f16 GetServices -> AddDataProtection 2014-11-24 16:40:13 -08:00
Victor Hurdugaci c0d8e94287 Update KProj to the latest format 2014-11-12 15:43:31 -08:00
Levi B cce11ad2ae Update .kproj files to follow modern conventions 2014-11-05 14:48:56 -08:00
David Fowler e1a88b6503 Merge branch 'release' into dev 2014-10-31 03:04:33 -07:00
David Fowler 1768bfd25f Added package descriptions 2014-10-31 03:00:59 -07:00
David Fowler f0bec06fe0 Merge branch 'release' into dev 2014-10-31 02:57:48 -07:00
David Fowler 82511a8489 Added package descriptions 2014-10-31 02:57:32 -07:00
Levi B fc4213b1f8 Reliability: Don't compile against 'experimental' language features.
This will help prevent Roslyn changes from breaking us.
2014-10-27 16:18:42 -07:00
Levi B 5899177af2 Merge branch 'release' into dev 2014-10-27 15:31:23 -07:00
Levi B 6797dfea48 Fix %APPDATA% detection logic. 2014-10-27 12:55:59 -07:00
Chris Ross be8859d07c Cleanup. 2014-10-24 15:25:41 -07:00
Chris Ross 035983f90e Add missing dependency. 2014-10-24 15:24:01 -07:00
Pranav K f38e258f89 Removing unused references from project.json 2014-10-24 08:24:39 -07:00
Chris Ross 98e9285fa8 #13 - Detailed UTF-8 validation. 2014-10-23 17:34:26 -07:00
Chris Ross ae77def939 #20 - Validate OpCodes. 2014-10-23 10:08:14 -07:00
Chris Ross 08441efeae #18 - Validate close status codes. 2014-10-23 09:38:10 -07:00
Chris Ross b7c8d5cd42 #17 - Validate close frame body. 2014-10-23 09:15:11 -07:00
Chris Ross e8c4985322 Verify contination frames. 2014-10-23 08:24:19 -07:00
Chris Ross 31c76a0032 Clean up error handling. Check for control frame fragmentation. 2014-10-22 17:09:57 -07:00
Chris Ross 7d11034790 #14 - Validate reserved bits. 2014-10-22 16:26:20 -07:00
Chris Ross 207767a9b0 #15 - Validate ping frame size limits. 2014-10-22 16:25:22 -07:00
Chris Ross 4a5dbccb46 #13 - Utf8 validation. 2014-10-22 15:55:26 -07:00
Levi B bd529b3b5b Fix ManagedAuthenticatedEncryptor not round-tripping payloads properly. 2014-10-22 11:45:39 -07:00
Levi B 6e557dc193 Fix ManagedAuthenticatedEncryptor not round-tripping payloads correctly. 2014-10-21 15:39:48 -07:00
Levi B 76b76ba099 DataProtectionServices should use keys stored in HKLM auto-gen registry when running on IIS without user profile. 2014-10-20 14:54:43 -07:00
Levi B ca95189a3b Allow DpapiNGXmlEncryptor to get the current identity's SID on CoreCLR. 2014-10-20 13:43:03 -07:00
Levi B 8fc3607a68 Fix Win7 vs Win8 detection logic for SP800-108-CTR-HMACSHA512. 2014-10-17 11:34:29 -07:00
Stephen Halter fd677047f4 Change GetService call to GetRequiredService
Remove the assertion that the returned service is not null, since the
GetRequiredService extension method will throw instead of ever
returning null.
2014-10-16 17:34:19 -07:00
Levi B cd33cbfc8f Add unit tests for CngAuthenticatedEncryptorBase, PBKDF2, and SP800_108-CTR-HMACSHA512. 2014-10-16 15:54:35 -07:00
Levi B 796acc0e34 Restore Win7 + Server Core support routines. 2014-10-15 19:51:51 -07:00
Levi B 132802435b Add time-limiting data protection capabilities. 2014-10-15 12:57:04 -07:00
Levi B a0138735a8 Add string-based extension methods to IDataProtector. 2014-10-15 11:51:00 -07:00
Hao Kung 4e43fa24cf React to options changes 2014-10-14 19:03:51 -07:00
Levi B e2ad2f1386 Remove dead code from EphemeralDataProtectionProvider.cs. 2014-10-14 17:29:13 -07:00
Levi B c3b76d14a3 Make EphemeralDataProtectionProvider and ProtectedMemoryBlob work on non-Windows platforms. 2014-10-14 17:26:21 -07:00
Hao Kung d9119f4c47 React to options rename 2014-10-14 16:38:20 -07:00
Pranav K 7d5a29a9fd Cleaning up comments 2014-10-10 16:13:57 -07:00
Levi B 769f21783a Implement new DataProtection pipeline. 2014-10-10 11:17:37 -07:00
Pranav K 542d87d9d2 Removing version from framework assemblies node 2014-10-10 10:45:08 -07:00
Pranav K 83f4d0261d Reacting to CLR package versioning changes 2014-10-10 10:34:52 -07:00
Pranav K e1f5c0a4b1 Reacting to CLR package versioning changes 2014-10-10 10:30:37 -07:00
David Fowler 787138322b Fixup references 2014-10-05 14:21:22 -07:00
David Fowler 55922d9107 Fixed references 2014-10-05 04:31:21 -07:00
jhawk42 47f0699235 Win7PlusCoreSystem 2014-10-01 14:57:08 -07:00
Chris Ross a2fc6e28a8 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 14:39:52 -07:00
David Fowler ddcce629cf Made the server project aspnet50 instead of net45 2014-09-04 01:41:48 -07:00
David Fowler ca360a25f7 Updated to use the new target framework in project.json 2014-08-29 00:10:01 -07:00
David Fowler f7e3823bf1 Updated to use the new target framework in project.json 2014-08-28 22:43:50 -07:00
Levi B 990fe49df1 Remove old Win7-only PBKDF2 implementation. 2014-08-20 23:17:09 -07:00
Levi B 4588b1c898 Add preliminary PBKDF2 routines to unblock identity work.
Win7 and Win8 optimizations will be committed as part of the larger DataProtection overhaul.
2014-08-20 22:47:47 -07:00