Pavel Krymets
e6330ab19b
Fix win7 test again ( #1187 )
2018-08-09 10:08:44 -07:00
Pavel Krymets
dd429e9597
Catch exceptions thrown by is_regular_file ( #1179 )
2018-08-09 09:45:28 -07:00
Pavel Krymets
d6f410bf42
Add locked app_oflline file test and remove retrying client ( #1178 )
...
* Add locked app_oflline file test and remove retrying client
* Write bytes to file
2018-08-09 09:21:02 -07:00
Pavel Krymets
433dd42909
Use web.config for ASPNETCORE_DETAILEDERRORS
2018-08-08 17:14:46 -07:00
Pavel Krymets
d153bab4a1
Use configurationRedirection for IIS Deployer ( #1170 )
2018-08-08 11:25:44 -07:00
Mike Harder
7431892e64
Replace "std::experimental::filesystem" with "std::filesystem" ( #1153 )
...
* Continuation of #1082
2018-08-07 16:37:11 -07:00
Pavel Krymets
c6830afa55
Add default debug log file name and dll information to debug log ( #1149 )
2018-08-06 17:20:44 -07:00
Mike Harder
60a559719f
Reduce probability of startup port collisions ( #1136 )
...
- GetTickCount() is limited to the resolution of the system timer, which is typically 10-16 ms. If two apps in separate app pools are started within this time window, it's possible GetTickCount() will return the same value, which causes the apps to try the same random port(s).
- Addresses #1124
2018-08-06 14:41:11 -07:00
Pavel Krymets
4e7cbb1931
Initialize logging under exclusive lock ( #1161 )
2018-08-06 12:30:58 -07:00
Pavel Krymets
959771e73a
Fix incrementality checks for test projects ( #1145 )
2018-08-06 09:46:40 -07:00
Pavel Krymets
c2f5101b73
Split managed application status and IApplication status ( #1148 )
...
Split managed application status and IApplication status
2018-08-06 09:41:56 -07:00
Mike Harder
d199de2c80
Revert "Replace "std::experimental::filesystem" with "std::filesystem" ( #1153 )"
...
This reverts commit 2a761d635c .
2018-08-03 15:44:35 -07:00
Mike Harder
2a761d635c
Replace "std::experimental::filesystem" with "std::filesystem" ( #1153 )
...
* Continuation of #1082
2018-08-03 14:04:32 -07:00
Pavel Krymets
f867367b56
Use V2 schema for V1 outputs, do not pack pdb's ( #1152 )
2018-08-03 13:55:25 -07:00
Pavel Krymets
05eb6a7f7c
Add ERROR_SHARING_VIOLATION to retry list for IISDeployer.Start ( #1147 )
2018-08-02 16:51:00 -07:00
David Fowler
bc13fd5450
Write websocket header directly to the repsonse headers ( #253 )
2018-08-02 16:45:29 -07:00
BrennanConroy
768d2a023e
Add Origin validation to WebSockets middleware ( #252 )
2018-08-02 14:43:11 -07:00
Pavel Krymets
477fd1d90d
Aquire exclusive lock when creating application info ( #1142 )
2018-08-02 13:17:17 -07:00
Pavel Krymets
1d1b2155c4
Merge pull request #1117 from aspnet/shirhatti/updatemodulename
...
Update module version property to match exact name of the module
2018-08-02 08:57:10 -07:00
Pavel Krymets
8ea2cd9081
Ship shim with integration testing ( #1129 )
2018-08-01 15:40:45 -07:00
Mike Harder
ff0a5bbbdf
Update resources.h ( #1134 )
2018-07-31 19:21:32 -07:00
Pavel Krymets
5d4fedaeac
Remove extra logic from file watcher ( #1107 )
2018-07-30 14:37:33 -07:00
Justin Kotalik
7a4a945fd6
Stop site and app pool before restoring config ( #1112 )
2018-07-30 12:58:48 -07:00
Sourabh Shirhatti
132a382838
Update Microsoft.AspNetCore.Server.IISIntegration.targets
2018-07-30 09:51:17 -07:00
Sourabh Shirhatti
6a29b5296b
Update Microsoft.AspNetCore.Server.IIS.targets
2018-07-30 09:50:14 -07:00
Justin Kotalik
41493f01e3
Don't stop redirect stdout/stderr after startup is done. ( #1067 )
2018-07-29 23:25:32 -07:00
Justin Kotalik
0af3bef0fe
Fix win7 test failures. ( #1109 )
2018-07-27 17:32:01 -07:00
Justin Kotalik
f901bca8a7
Fixing jenkins agents. ( #1106 )
2018-07-27 15:00:04 -07:00
Pavel Krymets
7067d92c75
Limit RH native assets to netcoreapp2.2 ( #1105 )
2018-07-26 14:15:50 -07:00
Pavel Krymets
afa5d60821
Add content/webroot and currect directory tests ( #1103 )
2018-07-26 12:12:12 -07:00
Pavel Krymets
61b4473abe
Fix another shutdown race and appofline race ( #1071 )
2018-07-26 08:12:08 -07:00
Nate McMaster
68fd26a46b
Merge branch 'release/2.2'
2018-07-25 11:19:21 -07:00
Nate McMaster
2e96271e69
Merge branch 'release/2.1' into release/2.2
2018-07-25 09:29:48 -07:00
Justin Kotalik
5bd475ef90
Add event logs for some startup failure cases ( #1081 )
2018-07-24 13:17:05 -07:00
Pavel Krymets
fba4e3ec4e
Switch to non-experimental filesystem ( #1082 )
2018-07-23 08:57:43 -07:00
Justin Kotalik
c3545c18eb
Add api sets to IntegrationTesting.IIS ( #1083 )
2018-07-20 17:32:57 -07:00
Justin Kotalik
256aed8369
Make IISExpress shutdown gracefully. ( #1066 )
2018-07-19 23:20:13 -07:00
Nate McMaster
f1e66b5a6f
Reset LZMA to only include the implicit package version ( #1266 )
2018-07-19 16:50:53 -07:00
Justin Kotalik
89fda83bbd
Move config operations from helpers to functions on the deployment parameters ( #1063 )
2018-07-19 11:14:07 -07:00
Pavel Krymets
0634e1183e
React to hosting changes ( #1072 )
2018-07-17 21:06:03 -07:00
Pavel Krymets
54471a2930
Add client abort tests ( #1051 )
2018-07-17 20:26:57 -07:00
Pavel Krymets
074264cd3a
Use less global variables ( #1064 )
2018-07-17 08:56:18 -07:00
Justin Kotalik
c657e31b94
Fix Console invalid handle issues. ( #1029 )
2018-07-13 21:32:20 -07:00
Justin Kotalik
b359d6bed1
Fix CI test failures ( #1045 )
2018-07-13 11:35:52 -07:00
Justin Kotalik
36d7c8ec42
Add startup event log for ANCM inproc ( #1047 )
2018-07-12 16:03:06 -07:00
Pavel Krymets
6bed0b7206
Add Microsoft.AspNetCore.Server.IntegrationTesting.IIS package ( #1037 )
2018-07-12 11:56:33 -07:00
Justin Kotalik
e5dfea5725
Adds project properties and project capabilities to IIS and IISIntegration ( #969 )
2018-07-12 11:00:01 -07:00
Pavel Krymets
c81f379045
Normalize file extensions and project structures ( #1038 )
2018-07-12 09:30:50 -07:00
Nate McMaster
11ca4e46f6
Remove unused .Sources packages
2018-07-11 21:36:50 -07:00
Nate McMaster
e5c501099a
Remove unused .Source packages
2018-07-11 21:33:51 -07:00
Justin Kotalik
385f647215
Allow debug log file to be specified in handler settings; move tests from IISExpress to shared. ( #1033 )
2018-07-11 18:29:36 -07:00
Pavel Krymets
9635d4fd8d
Cleanup compilation warnings and re-enable asserts ( #1035 )
2018-07-11 11:47:22 -07:00
Nate McMaster
4b0925bd72
Update LZMA cache to netcoreapp3.0
2018-07-10 16:24:28 -07:00
Nate McMaster
1aa529ddf6
Merge branch 'release/2.2'
2018-07-10 16:22:44 -07:00
Justin Kotalik
11b83dc2b3
Rename reg keys from IIS ANCM V1 to V2 ( #1017 )
2018-07-10 10:32:01 -07:00
Pavel Krymets
86fed4de5f
Fix shutdown race ( #1031 )
2018-07-10 10:18:32 -07:00
Pavel Krymets
f7936ac062
Finish up appoffline refactoring ( #1018 )
2018-07-09 16:17:33 -07:00
Pavel Krymets
99ec23097e
Merge pull request #1015 from aspnet/pakrym/flush-sync
...
Sync native calls
2018-07-06 15:09:46 -07:00
Pavel Krymets
5f02de1e2c
Test
2018-07-06 14:43:33 -07:00
Nate McMaster
c1fb4479a3
Update LZMA to restore netcoreapp2.2 packages
2018-07-06 13:45:30 -07:00
Nate McMaster
9276602279
Merge branch 'release/2.1' into release/2.2
2018-07-06 13:43:43 -07:00
Nate McMaster
bf03fee4be
Refactor LZMA generation to support Docker and Antares usage
...
List explicitly as .csproj files the scenarios for which the offline package cache is important
Produces new artifacts designed for various scenarios, such as:
* Docker (where xml doc files are not needed)
* Azure web apps (where 1.x SDKs must still be supported, but xml docs are not needed)
2018-07-06 13:15:23 -07:00
Nate McMaster
fb7a5b92cc
Merge branch 'release/2.2'
2018-07-05 15:18:12 -07:00
Nate McMaster
2af13658fc
Unprotect key material with the local cache of certificates before checking the cert store
...
In some cases, private keys for certificates is not completely available. When attempting to decrypt key material,
this can cause 'CryptographicException: Keyset does not exist'. This changes the order in which key material
decryption looks up private keys to first key the certificate options provided explicitly to the API, and then
falling back to the cert store for decryption keys.
2018-07-05 11:31:46 -07:00
Justin Kotalik
73867a086c
IIS-Inproc new project cap ( #1238 )
2018-07-05 10:10:39 -07:00
Pavel Krymets
b280597c68
fb
2018-07-05 09:01:47 -07:00
Pavel Krymets
724cc3ce88
Only run fallback logic for dotnet and dotnet.exe ( #1004 )
2018-07-03 16:49:24 -07:00
Pavel Krymets
3bdb33ccd4
Sync native calls
2018-07-03 16:46:39 -07:00
Justin Kotalik
3efc1eede4
Set correct event providers for ANCM V2 ( #1009 )
2018-07-02 18:21:22 -07:00
Justin Kotalik
9b7ee92028
Check thread invalid handle and remove extra dup2 call. ( #1008 )
2018-07-02 17:18:05 -07:00
Justin Kotalik
dfd75e939d
Add full IIS tests ( #979 )
2018-07-02 12:15:15 -07:00
Ryan Brandenburg
5b0f8118ea
Upgrade to .NET Core 3.0.0-preview1-26629-04 ( #1240 )
...
* Upgrade to .NET Core 3.0.0-preview1-26629-04
2018-06-29 16:27:55 -07:00
Pavel Krymets
65d3787fc4
Pass parameters to createapplication method ( #998 )
2018-06-29 12:42:00 -07:00
Pavel Krymets
dfed3d7563
Add and use GetEnvironmentVariableValue ( #997 )
2018-06-29 11:17:22 -07:00
Nate McMaster
9273759dca
[2.1]: Remove unused project capability from Microsoft.AspNetCore.App ( #1237 )
...
Removing this from .App in 2.1.3 because this was unused, and the capability is not actually supported by VS. This will be re-added in the future versions of .App when we land the VS integration for in-process hosting.
cref https://github.com/aspnet/IISIntegration/pull/969
2018-06-29 11:02:39 -07:00
Pavel Krymets
f5f0988baf
Make handlerSettings optional ( #989 )
2018-06-29 08:44:03 -07:00
Pavel Krymets
b84a233d39
Add ability to print debug logs to a file ( #954 )
2018-06-28 11:52:53 -07:00
Justin Kotalik
4a09d4795e
Use HandleWrapper and initialize variables for FileOutputManager ( #986 )
2018-06-28 09:09:34 -07:00
Pavel Krymets
27780c28ba
Do not override error responses ( #985 )
2018-06-27 22:53:30 -07:00
Nate McMaster
91a1d2de50
Add unit tests for the shared framework ( #1228 )
...
Changes:
* Add a test project with simple unit tests for the shared framework
* Add root-level Directory.Build.props/targets files
* Cleanup .csproj files to reduce duplication
2018-06-27 14:56:10 -07:00
Justin Kotalik
32e0d136f2
Fix null handle issue on full IIS ( #973 )
2018-06-27 11:54:32 -07:00
pan-wang
af1bf0e1c3
caching handlers to avoid heap fregamentation ( #967 )
...
caching handlers to avoid heap fregamentation
2018-06-27 11:46:24 -07:00
Justin Kotalik
fac42c78a1
Re-enable flaky logging tests, add logs to output redirection providers, fix potential race condition in closing pipe output. ( #971 )
2018-06-26 11:28:56 -07:00
Justin Kotalik
0d96354eef
Return static 500.30 file on startup fails for in-process ( #934 )
2018-06-25 17:12:30 -07:00
Pavel Krymets
4a0691a36c
Remove where.exe timeout ( #970 )
2018-06-25 15:14:59 -07:00
Pavel Krymets
bc345bc8e7
Reduce usage of static inprocess application ( #962 )
2018-06-25 08:46:16 -07:00
Pavel Krymets
d3d257b90e
Add tracing to shimconfig ( #964 )
2018-06-25 08:44:02 -07:00
Pavel Krymets
aeebcdefc1
Switch to tracing macros in application info ( #965 )
2018-06-25 08:38:46 -07:00
Justin Kotalik
32121abde3
Fixes exit(0) with hostable webcore ( #966 )
2018-06-22 15:29:28 -07:00
Pavel Krymets
b12c9b33f7
Cleanup where.exe invocation ( #958 )
2018-06-22 07:36:46 -07:00
Justin Kotalik
306ab78b88
Fix App_offline and start adding tests ( #953 )
2018-06-21 16:35:11 -07:00
Pavel Krymets
cd81cfc243
Remove extra arguments from CreateApplication ( #952 )
2018-06-21 15:29:03 -07:00
Justin Kotalik
e5505ceefc
Fixing build issues ( #957 )
2018-06-21 12:32:13 -07:00
Pavel Krymets
93de3f83ce
Reenable precompiled headers in AspNetCore project ( #937 )
2018-06-21 11:32:56 -07:00
Pavel Krymets
ed1fa44a3d
Add diagnostics to hostfxrutil ( #951 )
2018-06-20 16:22:19 -07:00
Pavel Krymets
7977793d4f
Catch all exceptions on ANCM/IIS border ( #864 )
2018-06-20 09:27:42 -07:00
Justin Kotalik
1e823d88e2
Ignore case on handlerVersion ( #941 )
2018-06-20 09:11:19 -07:00
Pavel Krymets
0a97bf9ae8
Use lock wrapper in shim ( #936 )
2018-06-19 21:40:29 -07:00
Pavel Krymets
b24a838301
Cleanup debug logging ( #932 )
2018-06-19 12:13:52 -07:00
Pavel Krymets
60711bfca1
Use std::filesystem in hostfxr utilities ( #926 )
2018-06-19 11:29:42 -07:00
Justin Kotalik
b9b62932fa
Deleting commented out file
2018-06-14 16:27:00 -07:00
Justin Kotalik
7a93d69354
Adds shared request handler lib project ( #916 )
2018-06-14 15:51:24 -07:00
Ryan Brandenburg
7922b27c65
Set 2.1 baselines
2018-06-14 10:06:06 -07:00
Ryan Brandenburg
a927c73805
Set 2.1 baselines
2018-06-14 10:05:58 -07:00
Peter Hsu
9a7ad90a8f
Revert stdout logging behavior to call SetStdHandle ( #907 )
2018-06-14 09:17:15 -07:00
pan-wang
2db54362a5
Panwang/shim ( #911 )
...
remove shim config from module context and remove application_info_key as we can use string directly
2018-06-13 21:52:52 -07:00
Ryan Brandenburg
5bed1972fe
Set 2.1 baselines
2018-06-13 15:47:53 -07:00
Ryan Brandenburg
3064b60b34
Set 2.1 baselines
2018-06-13 15:47:41 -07:00
Justin Kotalik
1687eabcde
Revert "Revert "Load ANCM out of process via global versioning ( #895 )""
...
This reverts commit ec7f23308e .
2018-06-13 12:00:00 -07:00
Justin Kotalik
ec7f23308e
Revert "Load ANCM out of process via global versioning ( #895 )"
...
This reverts commit 9d97ff38f8 .
2018-06-12 15:26:25 -07:00
Justin Kotalik
9d97ff38f8
Load ANCM out of process via global versioning ( #895 )
2018-06-12 14:04:21 -07:00
Justin Kotalik
f00d7b34c5
Revert out of process no new throw functionality ( #909 )
2018-06-12 08:51:56 -07:00
Justin Kotalik
cd71cc050e
Spleelin ( #910 )
2018-06-12 08:27:11 -07:00
Nate McMaster
b1b92385c0
Add unit tests for the shared framework
...
Changes:
* Add a test project with simple unit tests for the shared framework
* Add root-level Directory.Build.props/targets files
* Cleanup .csproj files to reduce duplication
2018-06-08 10:33:31 -07:00
Nate McMaster
5ebf74fa32
Add certificate names for code signing ( #889 )
2018-06-06 08:55:18 -07:00
Justin Kotalik
1822992354
Fix null ref on ExeLocation not being set ( #884 )
2018-06-04 14:59:50 -07:00
Justin Kotalik
e1ae70166b
Improve logging architecture; add tests for logging and startup exceptions ( #858 )
2018-06-01 16:42:58 -07:00
Justin Kotalik
f09edb3b5d
Target c++17 ( #881 )
2018-06-01 09:11:18 -07:00
Pavel Krymets
2a467bfd6d
Cleanup headers and enable MultiProcessorCompilation ( #845 )
2018-05-29 09:06:21 -07:00
Pavel Krymets
1f34c631d6
Fix P2P build order dependencies ( #871 )
2018-05-25 14:06:52 -07:00
Justin Kotalik
d041f89c9d
Remove E_OUTOFMEMORY check for new. ( #863 )
2018-05-25 09:30:06 -07:00
Pavel Krymets
4932fca0d9
Fix the build
2018-05-24 11:14:04 -07:00
Pavel Krymets
1e143c71c6
Add Hostable Web Core based inprocess test server ( #853 )
2018-05-24 08:11:40 -07:00
Justin Kotalik
ff1ea3cf85
Split ANCM request handlers into two! ( #839 )
2018-05-18 16:38:19 -07:00
Pavel Krymets
8932383d67
Always pack Microsoft.AspNetCore.Server.IIS ( #852 )
2018-05-18 10:07:40 -07:00
Justin Kotalik
f72d366603
Split config and hostfxr parsing between shim and request handler. ( #814 )
2018-05-16 16:45:18 -07:00
Pavel Krymets
34c797a46b
Move in-process server implementation to IIS.Server ( #837 )
2018-05-15 15:24:17 -07:00
Pavel Krymets
22a865b832
Extract a layer of IIS Async IO handling ( #818 )
2018-05-11 13:02:12 -07:00
Pranav K
ddd5c62054
Let metapackages target netcoreapp2.2
2018-05-09 12:38:01 -07:00
Nate McMaster
4279f92575
fixup! Upgrade metapackages, shared framework, and installers to netcoreapp2.2
2018-05-09 11:51:06 -07:00
Nate McMaster
6beb419a02
Upgrade metapackages, shared framework, and installers to netcoreapp2.2
2018-05-09 11:51:06 -07:00
Justin Kotalik
dc9db57389
Fix out of process websocket check ( #819 )
2018-05-07 13:49:27 -07:00
Pavel Krymets
361caff1ad
Remove managed InProcess code ( #809 )
2018-05-03 17:18:33 -07:00
Justin Kotalik
53cad943b3
Split ANCM into two dlls. ( #811 )
2018-05-03 13:49:31 -07:00
Nate McMaster
d6f15759fd
Add property to allow the SDK to disable shared framework trimming ( #1130 )
...
The MicrosoftNETPlatformLibrary property instructs the .NET Core SDK to treat a particular package as the shared framework platform. This affects how the SDK will trim references and publish output, determines how the runtimeconfig files are generated, and may affect how optimizations are preformed by other tools. In some installations of .NET Core, the ASP.NET Core shared framework is not available. This change adds properties to let the SDK determine on which platforms ASP.NET Core is enabled.
2018-05-02 08:49:03 -07:00
Pavel Krymets
e49b0a34ab
Make exchange classes pure virtual ( #792 )
...
Make exchange classes pure virtual
2018-05-01 16:09:49 -07:00
pan-wang
e36b0982bf
port change from v2 to v1 on resetting timeout for debugger attached ( #787 )
2018-05-01 15:50:51 -07:00
Nate McMaster
fb2f89ed51
Factor out internal interface for default directory testing
...
Create an internal abstraction for finding the default directories for key storage. This allows us to run tests without squashing on keys on the developer machine. It also allows us to isolate test runs from reach other.
2018-05-01 14:22:42 -07:00
Pavel Krymets
47f728160f
React to splitting memory pool
2018-04-24 13:53:09 -07:00
pan-wang
e888481548
update legal info for V1 assembly ( #784 )
...
update company name
2018-04-24 09:45:22 -07:00
pan-wang
1f4473f96d
fixing x86 build issue ( #786 )
...
fixing issue #780
2018-04-20 13:48:10 -07:00
pan-wang
7351b274f7
Add LPTHREAD_START_ROUTINE due to compiler change (fixing issue #780 ) ( #783 )
2018-04-18 16:03:12 -07:00
pan-wang
341f6c4f30
reset some timeout values to infinite if debugger is attached ( #776 )
2018-04-18 14:04:55 -07:00
Ryan Brandenburg
3c40b9efd2
Merge remote-tracking branch 'origin/release/2.1' into rybrande/MergeRelease21IntoDev
2018-04-16 14:24:13 -07:00
Nate McMaster
faf2f3f065
Attempt to workaround issues with File.Move on NFS file shares ( aspnet/Home#2941 )
2018-04-13 15:08:28 -07:00
Justin Kotalik
4188d2fe68
sttimer changes to V2 ( #773 )
2018-04-12 17:11:38 -07:00
pan-wang
9c83280770
Fixing couple issues ( #763 )
...
adding more logs and fix memory leak in case of configuration change and then shutdown
2018-04-12 14:10:25 -07:00
Justin Kotalik
e2fbff2bd5
Feedback
2018-04-10 23:00:18 -07:00
Justin Kotalik
46efcd9332
Move srwWrapper to right location
2018-04-10 14:43:05 -07:00
Justin Kotalik
5c91dbe062
Get tests working
2018-04-10 14:21:23 -07:00
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