Commit Graph

1006 Commits

Author SHA1 Message Date
Justin Kotalik da513bd8d8 Get build.cmd working and cleanup ignored files. 2018-04-10 14:21:00 -07:00
Justin Kotalik df9efa0770 Code changes to get ANCM current working on github 2018-04-10 14:19:53 -07:00
Justin Kotalik b594130020 Adds source code from VSTS 2018-04-10 14:19:53 -07:00
Pavel Krymets 157e7f4fdd Creates two separate projects for ANCM V1 and V2. 2018-04-10 14:19:32 -07:00
Pavel Krymets 6629236a0e
Merge pull request #767 from aspnet/pakrym/perf
Improve performance
2018-04-10 12:07:26 -07:00
Pavel Krymets d63e8c5558 CPP 2018-04-10 11:04:34 -07:00
Pavel Krymets ee2e46a614 What about now? 2018-04-10 09:08:13 -07:00
Pavel Krymets 80e799d17c PR comments 2018-04-10 08:30:37 -07:00
Pavel Krymets e32b51d6e6 ENdpoint 2018-04-09 16:47:01 -07:00
Pavel Krymets f0eab4410a Cleanup 2018-04-09 15:20:28 -07:00
Pavel Krymets 7a14be006d Fast reads 2018-04-09 15:16:47 -07:00
Pavel Krymets 5e5aa90575 Remove continue with 2018-04-09 14:26:28 -07:00
Pavel Krymets 0feb83b637 Dont format some things 2018-04-09 12:10:32 -07:00
Pavel Krymets dca31cc6f6 Perf 2018-04-09 10:34:44 -07:00
Pavel Krymets 8f1781f7eb Cleanup LogEvent calls 2018-04-08 19:21:55 -07:00
Justin Kotalik 47c7c1ad8f
Disable global loading of RequestHandler for in-process (#732) 2018-04-05 10:36:15 -07:00
Pavel Krymets 5210323385 Merge release/2.1 into dev 2018-04-03 10:11:36 -07:00
Pavel Krymets 6ca61a8fc7 Merge release/2.1 to dev 2018-03-30 16:33:44 -07:00
Justin Kotalik fd6c217336 Revert "Build runtime specific metapackages"
This reverts commit ec184bc361.
2018-03-30 13:02:45 -07:00
David Fowler 9eb41ca571
Remove buffer size argument (#232)
- We're removing the buffer arugment from the API as a result of a mini review. This is a pre-emptive reaction to avoid breakage when the change comes in.
2018-03-30 10:47:12 -07:00
pan-wang 731f05df38
call exit to force shutdown in case of timeout (#726) 2018-03-23 15:19:00 -07:00
John Luo 26578f5079 Reenable API check 2018-03-23 15:01:50 -07:00
John Luo ec184bc361 Build runtime specific metapackages 2018-03-23 13:40:27 -07:00
Pavel Krymets ed801f0e88 Do not return 200 for exceptions 2018-03-22 16:43:11 -07:00
Justin Kotalik f1058f8575
Cleanup ReadAsync calls, make IISHttpContext private (#696) 2018-03-22 11:13:06 -07:00
Nate McMaster d61d723cba
Update package metadata to include commit hash (#713) 2018-03-21 17:42:18 -07:00
pan-wang ffeebfc8b9
support shutdown timeout for inprocess application (#703) 2018-03-21 13:37:26 -07:00
pan-wang 5baa53393f
fixing fowarding handler for AsyncCompletion (#669)
to make sure ANCM does not release IIS pipeline until all WinHttp handlers get closed.
2018-03-20 15:56:16 -07:00
Pavel Krymets f1d8ca3045
Add CommitHash to file info (#700) 2018-03-20 09:20:37 -07:00
pan-wang 2bb9a8aaf9 Adding handlerSettings configuration to aspnetcore schema for future use (#689) 2018-03-19 15:30:55 -07:00
Ryan Brandenburg 5e9dd7a5fc Set 2.0 baselines 2018-03-19 10:10:50 -07:00
Justin Kotalik cf4874997e
Heap allocate HTTP_DATA_CHUNK if the size of the response is too large. (#683) 2018-03-16 16:56:23 -07:00
Ryan Brandenburg ca15b2fbf6 Set 2.0 baselines 2018-03-16 10:50:27 -07:00
Ryan Brandenburg 4cf0b5d033 Set 2.0 baselines 2018-03-16 10:49:52 -07:00
Justin Kotalik 5e74b36c53
Verify read/write buffers, use offset parameter when reading. (#652) 2018-03-16 10:11:20 -07:00
Justin Kotalik 8ff9ce70c9
Fixes spelling (#679) 2018-03-16 09:27:40 -07:00
pan-wang e5661a46b7
do cleanup inside inprocessapplication destrutor (#676) 2018-03-15 16:47:21 -07:00
pan-wang 8e54e792fb
do shutdown check before processing request (#677) 2018-03-15 16:46:50 -07:00
Pavel Krymets 3ef9dd1640
Fix http_stop_calls_into_managed typo (#673) 2018-03-15 15:59:57 -07:00
pan-wang 9d064b24c7
enable debug print in aspnetcore.dll (#663) 2018-03-14 14:29:25 -07:00
David Fowler 6de76c5e69
Respect the buffer size arguments on options (#230)
* Respect the buffer size arguments on options
- Allocate a buffer for receives and pass into CreateFromStream.
2018-03-14 08:48:45 -07:00
Justin Kotalik 810c4bcb0a
Fix two AVs with InProcess (#656) 2018-03-13 16:07:55 -07:00
pan-wang d246c6f201
add port info to event log (#660) 2018-03-13 16:06:01 -07:00
pan-wang 7a511d6a94
websocket handler changes (#661)
add debug logging and reset connection in case of failure
2018-03-13 16:05:32 -07:00
Nate McMaster 016fa66640
Map properties DotNetRestoreSources => RestoreSources for metapackage builds (#955) 2018-03-13 12:23:18 -07:00
Nate McMaster 349acb5bb3
Condense restore feed configuration to single location and remove package mirroring (#945) 2018-03-13 10:56:09 -07:00
pan-wang 02abb69cb2
fix missing reference/dereference handler (#651) 2018-03-10 09:50:48 -08:00
pan-wang 0b07894ea7
fix srwlock initialize (#647) 2018-03-09 11:47:54 -08:00
Justin Kotalik cb49b98b6f
Follow windows conventions for file versions (#646) 2018-03-08 16:28:27 -08:00
Pavel Krymets 77c5d2a971
Update to new corefx (#642) 2018-03-08 14:23:16 -08:00
pan-wang 8dca8f030c
moving recycle and shutdown to applicationinfo (#639)
fix a race condition in processing request and app_offline, and optimize code logic
2018-03-08 12:24:25 -08:00
Justin Kotalik ad82bd31d8
Fix argument parsing for hostfxr, add native unit tests. (#635) 2018-03-08 11:53:12 -08:00
Justin Kotalik 00b1948937
Adds websocket feature detection, test cleanup. (#624) 2018-03-08 09:52:45 -08:00
Justin Kotalik ad4b172660
Remove build warnings and turn on warning as errors in IISLib. (#641) 2018-03-07 21:15:57 -08:00
Justin Kotalik 4eea754dc3
Don't create std log file for out of process when logs are disabled (#640) 2018-03-07 16:12:50 -08:00
pan-wang 419ae06935
fixing double locking issue (#637) 2018-03-07 12:02:04 -08:00
pan-wang f32addd408
Update RecycleApplication function (#634)
removing hostingmodel input from recycleapplication call and fix memory leak in recycle out of process application
2018-03-07 11:45:51 -08:00
pan-wang 0e28f34c1a Add general logging event to be used by the RequestHandler (#633) 2018-03-06 21:18:49 -08:00
pan-wang c833e7b994 change the logic on handling configuration change and adds shutdown logic (#610) 2018-03-06 16:47:02 -08:00
Nate McMaster e552b5861a
Switch default implementation of Pbkdf2 on Linux/macOS to Rfc2898DeriveBytes (#301)
Requires adding .NET Core 2.0 target framework to the package because only SHA1 is supported in .NET Standard 2.0
2018-03-06 09:31:03 -08:00
Justin Kotalik 4e8a9d2493
Move reading and writing of Pipelines to a single loop; Cancel Read every time we write. (#582) 2018-03-04 19:52:41 -08:00
pan-wang cbffeb33ea
fixing a stress issue (#619) 2018-03-02 17:34:09 -08:00
Nate McMaster 19c38d0af0
Merge branch 'release/2.1' into dev 2018-03-02 13:57:53 -08:00
pan-wang 17dd3e85cb
fix missing event log descriptions (#622) 2018-03-01 20:53:57 -08:00
Pavel Krymets 2dac2e34fa
Reac to pipes in corefx (#618) 2018-02-28 12:42:09 -08:00
pan-wang fcbe74fbf1
fix coding guideline issue. Use BOOL instead of bool (#620) 2018-02-28 12:02:15 -08:00
pan-wang 71b90a31a9
websocket enabled check (#612) 2018-02-27 11:28:27 -08:00
pan-wang 792b72e71a
adding error description which was commented out previously (#613) 2018-02-27 09:41:09 -08:00
pan-wang dc62b9ba38
adding mof file for freb log (#603) 2018-02-22 11:14:29 -08:00
Justin Kotalik 4775706bbc
Add version numbers on aspnetcore.dll and aspnetcorerh.dll, remove unnecessary files (#601) 2018-02-22 10:03:51 -08:00
Nate McMaster 70dcbf6ed6
Add UnprotectKeysWithAnyCertificate 2018-02-22 08:50:03 -08:00
pan-wang 782b563a58
fixing empty logfile name in event log (#602)
Empty log file path was logged as we reset the stru too earlier. Changing the code order
2018-02-21 14:08:26 -08:00
Justin Kotalik 21b1febf2b
Adds environment variable feature for inprocess (#583) 2018-02-21 12:36:39 -08:00
pan-wang 1f6e2c8029
grant the config setting on 502.5 page setting (#600)
grant the config setting on 502.5 page setting
2018-02-21 11:27:48 -08:00
pan-wang e3d3b088ae
adding logging for outprocess start and application recycle (#573)
adding logging for outprocess start and application recycle
2018-02-21 10:58:34 -08:00
Justin Kotalik ff496ca580
Fix absolute paths to dotnet (#597) 2018-02-20 15:03:37 -08:00
Justin Kotalik c395db12e6
Fix path searching for where.exe and request handler parsing (#595) 2018-02-20 08:10:13 -08:00
Nate McMaster eea8c1a146
Support decrypting keys with X509Certificate that is not in the X509Store
The default implementation of EncryptedXml doesn't support using the RSA
key from X509Certificate to decrypt xml unless that cert is in the X509
CurrentUser\My or Localmachine\My store. This adds support for
decrypting with the X509Certificate directly. This is useful for Linux
(often Docker) scenarios, where the user already has a .pfx file, but
may not have added it to X509Store.
2018-02-16 12:11:20 -08:00
Justin Kotalik 87c3ca4752
Send stderr logs to anonymous pipe instead of file when logging is disabled. (#549) 2018-02-15 18:43:06 -08:00
Justin Kotalik 4ca45d951f
Increment index by 1 as indexOf is inclusive when searching for dotnet.exe (#589) 2018-02-14 15:28:15 -08:00
Ryan Brandenburg a6165304b3 Add ExperimentalPackageVersion 2018-02-14 12:48:27 -08:00
Justin Kotalik 9162ab3436
Default to using program files if where.exe doesn't find dotnet.exe (#578) 2018-02-06 12:12:23 -08:00
PRIYANSHU AGRAWAL 5aa3529dcb Merge PR #297 - minor code cleanup - remove duplicate allocation of DateTimeOffset 2018-02-06 08:18:12 -08:00
Justin Kotalik e035d0ed96
Fail fast on .NET Full Framework and log exceptions in hostfxr utility (#533) 2018-02-04 20:54:12 -08:00
Justin Kotalik 462c1c042a Merge remote-tracking branch 'origin/release/2.1' into dev 2018-02-02 16:23:54 -08:00
Justin Kotalik 5465216be9
React to hostfxr api changes (#577) 2018-02-02 16:07:51 -08:00
John Luo 1c31731d89 Merge branch 'release/2.1' into dev 2018-02-01 15:01:46 -08:00
John Luo e4e837fa24 Flatten dependencies of Microsoft.AspNetCore.All metapackage
Remove BrowserLink from Microsoft.AspNetCore.App
Remove version locking in .All metapackage
2018-02-01 11:51:27 -08:00
Nate McMaster 864ee50b4c Merge branch 'release/2.1' into dev 2018-02-01 10:40:07 -08:00
Nate McMaster 2233481d34 Ensure all packages are included in ArtifactInfo 2018-02-01 10:24:07 -08:00
John Luo 4c79a2fe59 Merge branch 'release/2.1' into dev 2018-01-30 12:04:18 -08:00
Pavel Krymets ddf3e948ad Merge release/2.1 2018-01-30 09:54:23 -08:00
John Luo 818bb50e43 Update metapackages
.All will include all assets from .App

.All and .App will check TFM compatibility during inner builds

Remove unused runtime store templates
2018-01-29 17:40:19 -08:00
Pavel Krymets bc1a60704b
React to pipeline changes (#570) 2018-01-29 14:35:22 -08:00
Pranav K c24b577175 Merge remote-tracking branch 'origin/release/2.1' into dev 2018-01-29 13:54:35 -08:00
Nate McMaster 011cf720e6 Add IServerVariablesFeature
Enables fetching variables directly from IIS when using in-process
hosting. This is not available for out-of-process hosting.

Other changes:
 - Update tests to only run if IIS Express has been updated to support
 the new schema for hostingModel
 - Add a simpler test fixture for in-proc testing
2018-01-29 12:51:26 -08:00
Pranav K b37880c985 Downgrade version of analyzers 2018-01-29 12:24:18 -08:00
Justin Kotalik 5d4fd2a592
Add project capability in 2.1 M.A.App for inproc hosting (#796) 2018-01-28 16:59:16 -08:00
Justin Kotalik 6f54ed1c68
Merge pull request #560 from aspnet/release/2.1 2018-01-26 12:50:45 -08:00
Andrew Stanton-Nurse a6fc4776da
fix Kestrel version to fix build (#227) 2018-01-26 12:27:41 -08:00
Justin Kotalik 85ec92012a
Remove AspNetCoreHostingModelProperty (#561) 2018-01-26 10:25:05 -08:00
Justin Kotalik 2181fdc943
Invoke where.exe to find dotnet.exe (#559) 2018-01-26 10:16:05 -08:00
Justin Kotalik 06348dded7
Change request timeout validation to 1 second. (#546) 2018-01-24 17:18:23 -08:00
pan-wang d61a4ca89f
some fix for handling configuration change and recycling (#539) 2018-01-24 15:21:09 -08:00
Andrew Stanton-Nurse 6bc49ad6ca
update to use corefx package (#222) 2018-01-23 19:57:28 -08:00
Justin Kotalik 3d167c1e6c
Run http request on separate thread. (#545) 2018-01-23 14:56:47 -08:00
Sourabh Shirhatti 10f0f7b2ee Add project capability for inproc hosting (#532) 2018-01-23 14:05:27 -08:00
Pranav K 13cf9f76bd Add support for building Microsoft.AspNetCore.Analyzers metapackage 2018-01-22 13:54:50 -08:00
Justin Kotalik 6b4673bbdc
Fixes bitness alignment issue for 32bit (#527) 2018-01-19 17:39:42 -08:00
Justin Kotalik d7d502a04c
Free stdout after app closes (#535) 2018-01-19 15:52:21 -08:00
pan-wang d85ed094aa
gracefully shutdown the filewatcher thread (#530) 2018-01-19 14:31:51 -08:00
= 564e049ae9 Build Microsoft.AspNetCore.App
- Produce .App and .All metapackages and shared frameworks
2018-01-19 11:32:30 -08:00
Justin Kotalik 2204989660
Always load hostfxr parameters if the app isn't loaded (#529) 2018-01-19 09:59:04 -08:00
Justin Kotalik 694411f79e
Fixing a typo (#279) (#523) 2018-01-18 13:50:34 -08:00
Justin Kotalik ab7ec622ef
Make paths absolute for in-process, fix relative path check (#513) 2018-01-17 16:43:49 -08:00
Pavel Krymets f8192fd63c
Workaround corefx/26390 (#295) 2018-01-17 10:39:07 -08:00
pan-wang 7b65bdb6ef
Panwang/addinglog (#508)
* adding windows event log

* adding windows event log

* fix a wrong bool variable

* some updates

* fix bad merge
2018-01-16 17:21:47 -08:00
= 1c4d23f79d Add TFM compatibility check to 2.1 metapackage 2018-01-11 12:37:11 -08:00
Justin Kotalik ee6256d941
Update sample to use aspnetcore.dll and aspnetcorerh.dll (#512) 2018-01-08 12:02:58 -08:00
Nate McMaster 48ed4a6997 Package aspnetcorerh in Microsoft.AspNetCore.Server.IIS 2018-01-08 10:15:06 -08:00
Justin Kotalik c3bc6fed9c
Adds RequestHandler dll and hostfxr changes from ANCM (#497) 2018-01-04 10:07:00 -08:00
Pavel Krymets 8cedb4eff3
React to pipeline changes (#503) 2018-01-04 10:01:16 -08:00
Justin Kotalik 5d8670243c
Use location of aspnetcore.dll rather than the activating process. (#500) 2018-01-03 11:49:43 -08:00
Justin Kotalik 119dee607b
Remove use of Dangerous Span calls for MemoryMarshal (#501) 2018-01-02 13:59:49 -08:00
Justin Kotalik d59b0ef38c Adds universe manifest and signing info 2017-12-29 12:48:01 -08:00
Murat Girgin 4e568c9266 Fixing a typo (#279) 2017-12-29 12:48:01 -08:00
Justin Kotalik f27190a1f1 Adds InProcessHandler to calls, Refactor to remove IHttpContext completely 2017-12-22 13:36:34 -08:00
ASP.NET CI fa9d7a7e8c Update dependencies.props
[auto-updated: dependencies]
2017-12-20 13:46:28 -08:00
BrennanConroy 2cf020103a Update to new corefx packages (#486) 2017-12-20 13:46:27 -08:00
pan-wang 30bbd87d81 Panwang/refactor (#277)
* Init check in for refactoring

* clean up to make app_offline work

* update loadassembly and build

* add configpath to aspnetcore_config to make recycle work

* Adds in process component to refactor (#249)

* outprocess first checkin (still missing marjor components)

* Adds In-Process support for shimmed module. (#257)

* Init check in for refactoring

* clean up to make app_offline work

* update loadassembly and build

* add configpath to aspnetcore_config to make recycle work

* Adds in process component to refactor (#249)

* outprocess first checkin (still missing marjor components)

* Adds In-Process support for shimmed module. (#257)

* load from bin start and catch unhandled exception

* Fixes request handler vcxproj

* Adds request handler to nuget package

* build issues

* outofprocess refactoring

* adding logging support

* enforce Warning As Error for build and enable process recycle for outofprocess

* fix AV for win32 build and update build flags

* Fixed m_srwLock lock issue

* remove dealock in loadmanagedapp and remove UseMFC

* Readd lost exception catching

* nuget package issue and status code

* fixing warnings

* Adds Headers

* removing web sockets exe for now

* remove flags

* nuspec stuff

* spelling

* only look in inetsvr for now (or same folder)

* rename method

* terminte thread before closing the handle to it

* couple changes related with AV

* null check and Kill thread for in process if dotnet timed out

* fix recursive lock issue reported by appverifier

* client disconnect support AV fix

* flow 502.5 process start failure error page

* Feedback from inperson code review
2017-12-20 13:46:27 -08:00
Justin Kotalik 8949f49637 merged 2017-12-07 18:55:29 -08:00
John Luo 911264eb04 Clean up shared framework generation. 2017-12-07 11:00:24 -08:00
John Luo e0daa126e2 Produce aspnetcore shared framework 2017-12-05 12:15:30 -08:00
Pranav K f121d9c688 Split out version specification from ExternalDependency initialization 2017-11-30 16:31:55 -08:00
Nate McMaster 6f096a18af Import dependencies.props when building the metapackage 2017-11-29 13:02:37 -08:00
Pranav K db8adaf5b7 Remove uses of aspnetcore-ci-dev 2017-11-22 09:28:47 -08:00
Justin Kotalik 85ea220c4e
Fixes dotnet.exe string as runtime now reads it (#246) 2017-11-16 15:05:32 -08:00
pan-wang 9e345ad43f
fix build issue (#248) 2017-11-15 21:59:54 -08:00
Pavel Krymets b8c3d26975
Migrate to new pipe APIs (#454) 2017-11-13 15:06:22 -08:00
Justin Kotalik 82e096c9a5
Adds windows auth support (#241) 2017-11-10 17:07:56 -08:00
Justin Kotalik 552163ab77
Adds windows Auth support (#471) 2017-11-10 17:02:31 -08:00
Nate McMaster dae1f1ce78 Merge branch 'rel/2.0.3' into dev 2017-11-08 16:31:07 -08:00
Justin Kotalik 9c065bf107
Remove header serialization in favor of setting IIS response directly. (#465) 2017-11-06 20:28:40 -08:00
Justin Kotalik 6bfcd4a2d4
Remove header serialization in favor of setting IIS response directly. (#228) 2017-11-06 20:28:08 -08:00
George Chakhidze c315b27ad9 Fix the uninitialized g_hWinHttpModule global variable to avoid empty error messages (#225) 2017-11-06 10:16:08 -08:00
David Fowler 08186bb198
Use ipv4 when binding to ANCM port (#470)
- Today we use localhost which binds to both the ipv4 and ipv6 addresses.
ANCM never communicates over ipv6 so it's pointless. This should also properly crash
the process if the ipv4 address fails to bind (which we've seen reports in real applications for).
2017-11-03 10:24:41 -07:00
Nate McMaster 5bbab01ba5 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 16:52:00 -07:00
Justin Kotalik a42c8a33b8
Return FINISH_REQUEST on request failure (#469) 2017-11-01 15:48:04 -07:00
Nate McMaster bcc10d3012 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 14:59:02 -07:00
Nate McMaster 49b2e22ab3 Pin tool and package versions to make builds more repeatable 2017-11-01 09:09:28 -07:00
pan-wang 2cd59f86c4
client disconnect change (#223) 2017-10-30 10:35:56 -07:00
Justin Kotalik 9c5d38a786 Expose VirtualDirectory to In Process mode (#210) 2017-10-25 12:35:47 -07:00
Justin Kotalik 94c895a1bd Parse Path and PathBase from Virtual Directory. (#457) 2017-10-25 12:35:13 -07:00
Justin Kotalik bd62aa88d7 React to ANCM OnAsyncCompletion changes (#447) 2017-10-25 11:46:55 -07:00
Justin Kotalik 332b108f41 Changes PostCompletion to handle OnAsyncCompletion after managed request has completed. (#212) 2017-10-25 11:46:34 -07:00
pan-wang bfb2c86cda moving export methods to a standalone file (#211) 2017-10-23 16:26:15 -07:00
pan-wang c845a331bb adding forwarding end freb event (#209) 2017-10-23 15:28:48 -07:00
pan-wang 448a2afed8 fix the AV in recycle process, issue #192. (#201)
* fix the AV in recycle process. this is due to we call Recycle again when the background thread exists

* more fixes

* reset hosting mode when all applications got removed
2017-10-21 13:40:45 -07:00
Justin Kotalik 68014a7acd Changes async calls to use OnAsyncComplete event pattern (#184) 2017-10-17 16:06:59 -07:00
Nate McMaster 4bb84cf6d0 Ensure the deb/rpm installers use the same dotnet-core version
- Remove unnecessary tasks and scripts
 - Ensure the KOREBUILD_DOTNET_* environment variables are preserved in the docker build context
 - Other MSBuild cleanup of the targets
2017-10-17 15:46:53 -07:00
pan-wang 7117147a09 adding FREB and more ETW log (#185)
* adding FREB log and more ETW logs

* add missing aspnetcore_event.h file from previous commit

* Update aspnetcore_event.h

change provide id as 0x8000 is used by cors
2017-10-17 14:43:31 -07:00
Nate McMaster 446de15f0b Add aspnet/Templating to the universe build 2017-10-12 18:02:16 -07:00
Nate McMaster 611b6a23ad Update how PackageReference versions are set
Changes:
 - Remove floating versions
 - Disable myget feeds during a Universe build
 - Use package-specific MSBuild variables. Pattern = `packageId.Pascalize() + "PackageVersion"`, with a few exceptions.
 - Remove myget feeds during build
 - Remove obsolete 'GenerateLineup' targets/tasks
2017-10-09 11:32:21 -07:00
Justin Kotalik f91a941f8d Moves in-process to UseIISIntegration, removes Server.IIS namespace (#443) 2017-10-06 09:52:42 -07:00
pan-wang 746f578c3c Panwang/inproc (#174)
refactoring the code to support inprocess (step 1) with app_offline and Graceful shutdown support
2017-10-04 17:35:11 -07:00
Justin Kotalik ea7bc30dd3 Avoid AV if schema change doesn't exist. (#177) 2017-10-03 14:21:39 -07:00
John Luo 37c12d5a64 Add sources
for the final time
2017-10-03 11:46:57 -07:00
John Luo f6fa111333 Another attempt 2017-10-02 19:18:12 -07:00
= 11b25e7c87 Build and pack Runtime Store
- Also add targets to build all metapackage.
2017-10-02 16:43:30 -07:00
Justin Kotalik 9dc69fe361 Adds support for ANCM in process (#425) 2017-10-02 16:01:46 -07:00
Justin Kotalik f130330db8 Updating Xunit and dotnet versions (#143) 2017-09-25 15:10:31 -07:00
Justin Kotalik 2e540341db Adds in-process mode to ANCM. (#152) 2017-09-20 16:09:56 -07:00
Chris Ross (ASP.NET) 1e1e89b457 logging/#543 Clear HttpContext.User when the user is disposed. 2017-09-19 15:55:14 -07:00
Pavel Krymets 46dadbb186 Make RegistryPolicyResolver an interface to fix 3d party DI (#275) 2017-09-18 13:43:45 -07:00
Justin Kotalik 5c2906a7c6 [WIP] Fixing win7 compilation issues. (#141) 2017-09-13 14:40:00 -07:00
pan-wang a732b106f5 Fix websocket close handshake issue and race condition when websocket client disconnect without close handshake (#151) 2017-09-11 18:44:15 -07:00
Justin Kotalik 509ddc6ced Adds ANCM in-process flag. (#144) 2017-09-11 15:30:54 -07:00
Pavel Krymets ee009982dc Add KeyVault encryption to DataProtection (#273) 2017-09-11 08:51:56 -07:00
Luke Latham 6b8449f491 Sortable log files with stdoutLogFile (#131)
Fixes #130
2017-08-30 14:33:30 -07:00
Nate McMaster 82ba6b51ef Use PackageLineup to manage PackageReference versions 2017-08-29 12:08:10 -07:00
Nate McMaster 59290efa6a Use Directory.Build.props/targets 2017-08-29 12:06:04 -07:00
Nate McMaster 1297798546 Use PackageLineup to manage PackageReference versions 2017-08-29 11:38:56 -07:00
Nate McMaster 5cf936d3cd Use Directory.Build.props/targets 2017-08-29 11:36:17 -07:00
Nate McMaster 9b45e7f118 Use PackageLineup to manage PackageReference versions 2017-08-29 09:16:24 -07:00
Nate McMaster 28acde451e Use Directory.Build.props/targets 2017-08-29 09:14:03 -07:00
pan-wang 93b37e14db fix websocket connection issue and some memory leak, and add debug print (#129) 2017-08-04 14:51:15 -07:00
Ryan Brandenburg 5b85b3f6c7 Update VersionPrefix 2017-07-26 15:35:24 -07:00
Chris R 5753784ac4 #391 Add back the DisplayName setting 2017-07-13 11:22:38 -07:00
pan-wang 002c8b9bc9 Adding shutdown http message to support the scenario that ctrl signal is not allowed (#118) 2017-07-10 14:55:15 -07:00
Chris R c8bbbe764a #395 Add baseline and breaking change files 2017-07-10 09:41:31 -07:00
Chris R 2e2dc67978 #390 Add back AutomaticAuthentication for opt-out. 2017-07-07 11:28:57 -07:00
Hao Kung 824051cb28 React to auth 2017-06-29 16:29:00 -07:00
Ajay Bhargav Baaskaran 379d6d8dcd Added some missed doc comments 2017-06-27 15:02:17 -07:00
John Luo 5155456653 Handle graceful shutdown from ANCM 2017-06-27 13:20:21 -07:00
pan-wang 6b411adbd0 revert the preserve host header change as it failed on Antares (#114) 2017-06-21 16:48:38 -07:00
Nate McMaster 5d1a523682 Make ILoggerFactory an optional service on any DI-injected services 2017-06-13 15:15:19 -07:00
Nate McMaster abf05e2856 Docker: add warning when FileSystemXmlRepository saves a key to non-volume mounted folder 2017-06-13 11:04:52 -07:00
Nate McMaster ddd041b0f1 Remove DefaultKeyServices 2017-06-13 00:34:35 -07:00
pan-wang cee4cf7544 Antares blocks some windows APIs. We have use socket instead of calli… (#109)
* Antares blocks some windows APIs. We have use socket instead of calling GetExtendedTcpTable to check whether the backend is listening on given port.

* Use socket instead of calling GetExtendedTcpTable to check if the backend process listens on given port since Antares blocks couple APIs

* Antares blocks some windows APIs. We have use socket instead of calling GetExtendedTcpTable

* update format

* format change
2017-06-12 19:41:12 -07:00
Nate McMaster e7fa69d63c Minor cleanup: remove unnecessary conditional compilation line 2017-06-08 16:40:09 -07:00
Pranav K c267d192d6 Remove usage of TaskCache 2017-06-08 11:46:50 -07:00
Chris R 448e6787e2 Fix auth enabled check 2017-06-07 15:43:24 -07:00
Stephen Halter 6717f1674f Merge branch 'rel/2.0.0-preview2' into dev 2017-06-06 16:03:42 -07:00
Stephen Halter 89057003b3 Check IHttpMaxRequestBodySizeFeature.IsReadOnly (#379) 2017-06-06 16:02:36 -07:00
Chris R c261b37fda #371 Conditionally register auth scheme base on ANCM variable 2017-06-05 14:54:15 -07:00
Chris R c3ffde286b Clear MaxRequestBodySize 2017-06-05 11:23:08 -07:00
Ajay Bhargav Baaskaran 5d22a42a2a Merge branch 'rel/2.0.0-preview2' into dev 2017-06-02 15:22:48 -07:00
Ajay Bhargav Baaskaran ac3cbb5f8d Generated api check baselines for AzureStorage 2017-06-02 15:16:16 -07:00
Nate McMaster fe83e69b1a Add a startup filter which initializes the key ring before the server starts 2017-06-02 11:31:16 -07:00
Nate McMaster 285b973a5c Use IHostingEnvironment to determine application identifier
Reverses changes made in #230
2017-06-02 11:27:25 -07:00
Ajay Bhargav Baaskaran 22ebf68f74 Enable Api check and added breakingchanges json 2017-06-01 17:39:52 -07:00
Hao Kung 273b25fb3a React to forbid changes 2017-05-25 18:37:27 -07:00
John Luo d25dbd572c Target NETStandard2.0 2017-05-24 11:10:13 -07:00
Nate McMaster b706a75e03 Target .NET Standard 2.0
This retargets all data protection libraries to ns2.0. This means .NET
Framework applications will need to upgrade to .NET Framework 4.6.1.
This upgrade makes available API to .NET Core that was previously only
available on .NET Framework, such as encrypting keys at rest with
certificates.

New API for .NET Core users:
- IDataProtectionBuilder.ProtectKeysWithCertificate(string thumbprint)
- CertificateXmlEncryptor
- ICertificateResolver
- DataProtectionProvider
  - .Create(string applicationName, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, Action<IDataProtectionBuilder>
  setupAction, X509Certificate2 certificate

Other minor changes in this commit:
- Fixed samples that were using obsolete logging API
- Remove calls to api-sets, instead using kernel32. .NET Core 2.0 no
longer requires using api-sets as Nano Server now forwards kernel32
calls
- Made minor improvements to the TypeForwardingActivator
- Remove dead code an unused api baselines
- Enable more tests on macOS/Linux that previously only ran on Windows
2017-05-24 09:47:10 -07:00
pan-wang bce531f61a add features: flowing authentication info, hosting environment variable support; fix client disconnect and app_offline issues (#102)
resubmit
2017-05-23 17:25:45 -07:00
John Luo d6a653145d Target NETStandard 2.0 2017-05-22 15:05:12 -07:00
Hao Kung 8ed21d56c8 IIS => Auth 2.0 2017-05-17 13:37:30 -07:00
Pavel Krymets 67322fe8ab Remove unnecessary package references (#177) 2017-05-10 11:48:33 -07:00
Chris R 129edaec7c Remove IHostingEnvironment dependency (#230) 2017-05-05 17:03:33 -07:00
Chris Ross (ASP.NET) 539a13717e Migrate to netcoreapp2.0 2017-05-05 11:37:10 -07:00
Andrew Stanton-Nurse 319f95db5e netcoreapp20 (#173) 2017-05-04 19:26:46 -07:00
Nate McMaster 53caf55116 Remove unnecessary null check.
Resolves #210
2017-05-01 16:25:44 -07:00
Nate McMaster 4dad47eeab Ignore assembly version when activating DataProtection types from string name (#223) 2017-04-25 14:29:26 -07:00
Smit Patel edd7386aa8 Update API Check related files
React to aspnet/BuildTools#238
2017-04-25 08:19:12 -07:00
jhkimnew 2c5132251b Updated to support IISExpress and add new test cases for the additional environment variables (#93) 2017-04-24 18:17:33 -07:00
Ajay Bhargav Baaskaran c959795a64 Creating one IAuthenticatedEncryptor per IKey 2017-04-24 10:46:33 -07:00
Chris R b7ed993d9d Remove obsolete Azure ForwardedHeaders workaround. (#359) 2017-04-21 19:02:11 -07:00
Andrew Stanton-Nurse e25a2eced8 port dotnet/corefx#17444 to WebSockets (#162) 2017-04-13 09:55:45 -07:00
John Luo ce3c71b5b3 Set PreferHostingUrls when IIS adding override address 2017-04-08 20:49:26 -07:00
John Luo ff3ff939c3 Update WindowsAzure.Storage version (#217)
* Update WindowsAzure.Storage version

* Remove target fallback
2017-04-05 16:28:43 -07:00
Ajay Bhargav Baaskaran 697745c490 [Fixes #218] Set IXmlRepository using ConfigureOptions 2017-04-05 16:08:18 -07:00
Pranav K 9b5a26f774 Updating versions to 2.0.0-preview1 2017-04-03 21:41:09 -07:00
Chris R d6322872ed #348 Implement IISHostingStartup 2017-03-27 15:54:34 -07:00
Pranav K 91406009d3 Remove net451 as a cross-compile target 2017-03-23 17:20:12 -07:00
Pranav K 20dcccd847 Revert "Revert "Change compilation targets.""
This reverts commit 5f76cd272a.
2017-03-23 09:08:05 -07:00
N. Taylor Mullen 5f76cd272a Revert "Change compilation targets."
This reverts commit 42d34e4559.
2017-03-22 17:22:19 -07:00
Pranav K 42d34e4559 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-22 14:37:25 -07:00
Doug Bunting 55507de7dd Disable API Check in a project with untracked breaking changes 2017-03-22 08:33:14 -07:00
Pranav K 52911cd3f1 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-21 16:41:15 -07:00
Nate McMaster 4abe714f2b Consolidate dependency versions into one file and remove workarounds 2017-03-15 19:29:21 -07:00
Ajay Bhargav Baaskaran 1ce7fc7245 Use TryAdd to add services 2017-03-15 17:57:44 -07:00
Nate McMaster de30243c11 Unify dependency versions to one file and remove workarounds 2017-03-15 15:06:58 -07:00
Nate McMaster 6a61e10a4b Unify dependency versions and remove workarounds 2017-03-15 10:47:41 -07:00
Ajay Bhargav Baaskaran cde3b96aa7 [Fixes #134] Refactored DI support
- Refactored builder extensions and service collection extensions
- Refactored Settings/Configuration/Descriptor
- Removed ConfigurationCommon/AuthenticatedEncryptorConfigurationExtensions
- Added IAuthenticatedEncryptorFactory and implementations
- Refactored IKey to have Descriptor instead of CreateEncryptorInstance()
- Handled Repository/Encryptor special logic
- Added samples
- Updated tests
2017-03-14 19:58:46 -07:00
Andrew Stanton-Nurse cb150de808 port dotnet/corefx#17049 (#151) 2017-03-14 12:04:59 -07:00
Nate McMaster 7298fb23a5 Downgrade to stable packages 2017-02-15 12:30:04 -08:00
Nate McMaster 89a63f5885
Downgrade to stable packages 2017-02-14 16:15:28 -08:00
Doug Bunting 8ae481c9f0 Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
  - except Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests; will skip that another way (later)

Also fix line endings in project files; unable to proceeed otherwise
2017-02-14 12:30:06 -08:00
jhkimnew 135aa12529 Remove MAX_PATH buffersize to support long file path (#69)
This is already reviewed by Pan.
2017-02-10 14:35:51 -08:00
Nate McMaster 330b812c78 Upgrade to VS 2017 2017-02-02 16:25:28 -08:00
John Luo 0e1dd78771 Upgrade to VS 2017 2017-02-02 13:55:14 -08:00
Nate McMaster 0668a2a52e Upgrade to VS 2017 2017-01-31 16:51:24 -08:00
pan-wang 044648a213 fixing graceful shutdown on Win7 and IISExpress 2017-01-23 15:33:17 -08:00
pan-wang 66b98a1c04 update 502.5 error page 2017-01-17 15:44:15 -08:00
pan-wang 87f808cc9d fixing the AV for graceful shutdown on Win7, set forwardWindowsAuthToken default to true and other minor issues 2017-01-17 15:44:15 -08:00
jhkimnew 839437ef8c Fixing issue #44 (#56) 2017-01-06 11:08:43 -08:00
pan-wang a4963aa6da fix issue #50 app_offline.htm is case sensitive (#54) 2017-01-04 15:57:09 -08:00
Nate McMaster 0f276780de Remove Microsoft.AspNetCore.DataProtection.Sources package 2017-01-04 15:24:13 -08:00
Pranav K 4b9276bac2 Updating to 4.4 CoreFx packages 2016-12-14 14:47:32 -08:00
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