John Luo
025aca52df
Port long Huffman encoding bug fix
...
https://github.com/dotnet/corefx/pull/32043
2018-09-17 12:41:36 -07:00
Pavel Krymets
5e896ca506
Implement IHttpBufferingFeature ( #1391 )
2018-09-17 12:04:12 -07:00
Justin Kotalik
2cd6ad6d50
Add windows auth tests for inproc ( #1385 )
2018-09-17 11:57:46 -07:00
Ryan Brandenburg
b8f7f967ce
Normalize FSharp templates and don't check in site.min.js
2018-09-13 14:41:32 -07:00
Chris Ross (ASP.NET)
55e5e56422
Dispatch Http/2 write callbacks #2878
2018-09-13 11:53:30 -07:00
Justin Kotalik
3649f5bb81
Add OutOfProc logging tests/ merge all inproc test sites into a single site ( #1384 )
2018-09-12 23:20:52 -07:00
Chris Ross (ASP.NET)
f38f60f8ce
Map ListenOptions.Protocols from IConfiguration #2903
2018-09-10 16:27:51 -07:00
John Luo
de5ccb5c78
PR feedback for https://github.com/aspnet/KestrelHttpServer/pull/2838
2018-09-10 13:58:46 -07:00
Ryan Brandenburg
14b1432481
Fix min.css files
2018-09-10 12:25:27 -07:00
Glenn Condron
4bcfbe4d40
[REPL] Help improvements for repl ( #478 )
...
* Beginning of help additions. Fixed a nullref.
* Standardized help with options displayed as appropriate.
2018-09-07 15:21:42 -07:00
Nate McMaster
aa93edcee2
Remove Microsoft.DotNet.GlobalTools.Sdk
...
These targets are now part of Microsoft.NET.Sdk
2018-09-07 10:01:52 -07:00
Nate McMaster
e3ba165baa
Update build.ps1
2018-09-06 23:04:43 -07:00
Pavel Krymets
2597a2e009
Merge QueryStatus and CreateHandler calls to make them atomic ( #1359 )
2018-09-06 15:42:18 -07:00
Justin Kotalik
2cc108b2e1
Write wide strings to stdout; cleanup logging providers; test utf8 ( #1332 )
2018-09-06 11:57:00 -07:00
Simon Cropp
d3d7c55198
fix some spelling ( #2888 )
2018-09-06 11:48:25 -07:00
Justin Kotalik
1fca011674
Fix output location for lib files ( #1373 )
2018-09-06 10:32:49 -07:00
Pavel Krymets
b1f0f173aa
Use ConnectionResetException with 'The client disconnected' message ( #1364 )
2018-09-06 10:10:07 -07:00
Chris Ross (ASP.NET)
b8e56691cb
Implement MaxRequestLineSize for HTTP/2 #2813
2018-09-06 10:01:28 -07:00
Chris Ross (ASP.NET)
384a518bda
Implement MaxRequestHeadersTotalSize for HTTP/2 #2812
2018-09-06 09:07:16 -07:00
David Fowler
edc1935475
Flow the cancellation tokens to ReadAsync and WriteAsync ( #2865 )
2018-09-06 09:04:39 -07:00
Mike Harder
71b7bb50b2
Ensure external processes are killed when test process exits ( #1371 )
...
- Prevents locked files when stop debugging unit test
- Addresses #1279
2018-09-05 17:21:59 -07:00
Pavel Krymets
88d8571474
Add Trace level for request events, allow logging to eventlog ( #1337 )
2018-09-05 17:15:04 -07:00
Pavel Krymets
18a718d1f0
Catch all exception in native callbacks ( #1369 )
2018-09-05 16:48:10 -07:00
Pavel Krymets
613fbcc349
Enable code analysis on shim project ( #1361 )
2018-09-05 16:47:51 -07:00
Nate McMaster
e23e8fff95
Install MicroBuild code signing plugin and set SignType = real ( #1376 )
2018-09-05 12:50:34 -07:00
Justin Kotalik
1b87f1e913
Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2
2018-09-04 14:10:35 -07:00
Chris Ross (ASP.NET)
991cfa8bd8
Remove limits on SETTINGS_HEADER_TABLE_SIZE #2874
2018-09-04 12:01:13 -07:00
Pavel Krymets
0459b6d0d4
Fix dotnet.exe abort exception and startup/shutdown timeouts ( #1352 )
2018-08-31 09:05:46 -07:00
Justin Kotalik
db01ae3717
Remove FreeConsole calls. ( #1358 )
2018-08-31 08:16:07 -07:00
Nate McMaster
7520ffa0ef
Fix up service scoping in the EF Core xml repository and update package version to 2.2
2018-08-30 16:22:43 -07:00
John Luo
153020ef8a
Allow UTF8 encoded header values
2018-08-30 16:21:34 -07:00
Nate McMaster
a6a21351b6
Merge branch 'release/2.1' into release/2.2
2018-08-30 15:28:26 -07:00
Justin Kotalik
729a98adfc
Call AllocConsole ( #1351 )
2018-08-30 12:20:53 -07:00
Justin Kotalik
e7f3c7c62e
Remove bad rc files ( #1355 )
2018-08-30 12:18:30 -07:00
Justin Kotalik
922298bc90
Add rc file as an include for ANCMV1 ( #1284 ) ( #1344 )
2018-08-30 12:00:13 -07:00
Ryan Brandenburg
afccb085a2
Fix links and formating
2018-08-29 16:22:42 -07:00
Pavel Krymets
26710080fe
Set AspNetCoreHostingModel in templates ( #716 )
2018-08-29 16:08:58 -07:00
Ryan Brandenburg
75fa0cd6e8
Remove SpaServices where they're un-needed
2018-08-29 15:24:12 -07:00
Ryan Brandenburg
ccb2c006aa
Merge branch 'merge/release/2.1-to-release/2.2' into release/2.2
2018-08-29 15:21:15 -07:00
dan.s.ward
8f7d995508
Added Entity Framework Core backed IXmlRepository with tests and sample ( #303 )
2018-08-29 14:04:37 -07:00
Nate McMaster
cf3d2f1299
Minor tweaks to meta-package descriptions ( #1343 )
...
Per feedback on #1320 which came in post-merge.
2018-08-29 12:03:24 -07:00
Patrick Westerhoff
208f6ff568
Fix #574 : Set NoDefaultLaunchSettingsFile
...
When a project is created with ExcludeLaunchSettings enabled, set the
NoDefaultLaunchSettingsFile property to prevent Visual Studio from
creating a launchSettings.json.
2018-08-29 11:35:16 -07:00
Gert Driesen
1a43e67542
Remove workaround for dotnet/corefx#24562 ( #2863 )
...
This issue caused a bind to a recently used endpoint to fail on macOS and Linux.
Addresses #2820
2018-08-28 15:59:17 -07:00
Stephen Halter
5ea537fbc4
Don't advance examined in Http1MessageBody.PumpAsync for canceled reads ( #2847 )
2018-08-28 11:28:17 -07:00
Stephen Halter
89f4850883
Avoid throwing the same exception instances in parallel ( #2859 )
2018-08-28 10:56:46 -07:00
Nate McMaster
5f89835420
Merge branch 'release/2.1' into release/2.2
2018-08-28 10:33:12 -07:00
Nate McMaster
afa93f1852
Merge branch 'release/2.1' into release/2.2
2018-08-28 10:14:24 -07:00
Ryan Brandenburg
9c28f95b12
Add Microsoft.AspNetCore.Razor.Design to templates ( #674 )
2018-08-28 09:41:15 -07:00
Justin Kotalik
037482829d
Add commit hash to V1 description ( #1281 )
2018-08-28 09:36:21 -07:00
Justin Kotalik
5f20f2a2dd
Update schema for ANCMv1 ( #1276 )
2018-08-28 09:35:49 -07:00
Justin Kotalik
cc26d973ba
Remove early dereference of ASPNETCORE_PORT env var ( #1274 )
2018-08-28 09:34:54 -07:00
Justin Kotalik
338af6f07d
Reduce probability of startup port collisions ( #1273 )
2018-08-28 09:34:10 -07:00
David Fowler
6dc55a0462
Don't preserve the ExecutionContext when dispatching callbacks ( #2861 )
...
* Don't preserve the ExecutionContext when dispatching callbacks
- The layers up stack already preserve and restore the ExecutionContext, there's no need to capture and run for the scheduler callback and cancellation token callback
2018-08-28 09:32:33 -07:00
Nate McMaster
42fa04aa87
Add the latest version of Microsoft.AspNetCore.Razor.Design to the offline package cache ( #1316 )
2018-08-28 09:19:56 -07:00
Nate McMaster
6b1d22c581
Add package descriptions for Microsoft.AspNetCore.{App, All} ( #1320 )
2018-08-28 09:19:37 -07:00
Nate McMaster
b206d59612
Prepare 2.1.5 patch
2018-08-28 09:14:43 -07:00
Justin Kotalik
2605b943f3
Use only one log file for stdout ( #1334 )
2018-08-27 16:50:16 -07:00
Stephen Halter
f70ba53253
Fix race when SystemClock is accessed before first heartbeat ( #2851 )
2018-08-27 10:59:29 -07:00
Matt Ward
9652fbd2b4
Fix default None items not being removed from ClientApp directory
...
Content MSBuild items from the ClientApp directory are removed from
the project using an MSBuild and then all files are added as None
items. None items that were added by the .NET Core SDK default MSBuild
items were not being removed from the ClientApp directory. This
resulted in duplicate files shown in Visual Studio for Mac. This
affected all the SPA project templates.
Fixes #559
2018-08-27 09:59:00 -07:00
Ryan Brandenburg
a3b20c57ea
Add appsettings.json to EmptyWeb
2018-08-27 09:52:47 -07:00
Pavel Krymets
9b68c5ce89
Add tests for processpath and arguments ( #1331 )
2018-08-24 22:20:28 -07:00
Pavel Krymets
6ddbfb64b9
Improve configuration file handling logic ( #1317 )
2018-08-24 20:20:26 -07:00
Justin Kotalik
2cbf5bd84e
Query event logs when verifying event log messages. ( #1323 )
2018-08-24 16:02:04 -07:00
John Luo
64127e6c76
Implement MaxFrameSize and HeaderTableSize for HTTP/2
2018-08-24 11:07:41 -07:00
David Fowler
d318d7b94d
Make tests less flaky ( #2848 )
...
- Re-order logs with completing the task
2018-08-23 22:29:56 -07:00
Stephen Halter
fc3c2eef5e
Handle SocketError.ProtocolType as a connection reset on macOS ( #2845 )
...
* Handle SocketError.ProtocolType as a connection reset on macOS
* Make IsConnectionResetError and IsConnectionAbortError stricter
2018-08-23 19:16:44 -07:00
Stephen Halter
e5a1101239
Improve exception handling in SocketConnection ( #2844 )
...
- Avoid race where a connection reset observed by both DoSend() and DoReceive()
resulted in a ConnectionAbortedException being thrown from the input Pipe
instead of a ConnectionResetException.
2018-08-23 16:59:02 -07:00
Justin Kotalik
1d4d882c0d
Spelling mistake in debug log
2018-08-23 13:45:10 -07:00
David Fowler
68a0863524
General connection management ( #2834 )
...
This change makes the handling of graceful shutdown work for more than just http scenarios. This should allow us to move TLS further out and should also allow us to start moving things to connection middleware instead of connection adapters.
Summary of the things changed/added:
- Added IConnectionLifetimeNotificationFeature that represents an attempt to gracefully close the connection that isn't being aborted. This feels pretty awful but we may have to do it.
- Moved connection management to the ConnectionDispatcher and out of the HttpConnectionMiddleware
- Removed Http from the names of the ConnectionManager and Heartbeat
2018-08-22 20:35:28 -07:00
Justin Kotalik
3b3f128306
Enable app verifier on VSTS; Fix debug log handle use ( #1291 )
2018-08-22 15:39:59 -07:00
Javier Calvarro Nelson
de0932961b
Default Identity UI to Bootstrap4
2018-08-22 13:40:38 -07:00
Javier Calvarro Nelson
110d835434
Fix layout and login partial issues
2018-08-22 13:33:01 -07:00
Javier Calvarro Nelson
3ed89516ba
Update precedence for 2.2 templates
2018-08-22 13:31:59 -07:00
Pavel Krymets
eebbb6a602
Support portable.exe apps and better error reporting ( #1287 )
2018-08-22 12:04:04 -07:00
Ryan Brandenburg
11c6ebea2e
Add comments regarding HSTS max age
2018-08-22 11:45:56 -07:00
Ryan Brandenburg
d9e71527e8
Fix copyright year
2018-08-22 11:44:46 -07:00
Pavel Krymets
36e5aceb3c
Serve 503 if server process is shutting down ( #1293 )
2018-08-22 09:53:25 -07:00
Pavel Krymets
e26231b613
Cleanup application manager ( #1250 )
2018-08-22 08:23:40 -07:00
David Fowler
0b471f2b2f
Sockets: do 0 byte reads to avoid allocating memory for idle connections
...
- Do not do 0 byte reads on OSX due to potential sockets bug
2018-08-21 18:07:15 -07:00
Justin Kotalik
e23d9cb4ac
Fix a few leaked handles ( #1260 )
2018-08-21 15:45:42 -07:00
Justin Kotalik
9ccd3addc3
Synchronizes copyrights between V1 and V2. ( #1283 )
2018-08-21 14:13:33 -07:00
Justin Kotalik
135da118d1
Add rc file as an include for ANCMV1 ( #1284 )
2018-08-21 14:12:15 -07:00
Pavel Krymets
26964b2687
Macrosify out-of-proc ( #1268 )
2018-08-21 14:11:34 -07:00
Justin Kotalik
2778570f0b
Redirect native logs into stdout and pipe ( #1154 )
2018-08-21 14:03:26 -07:00
Mike Harder
2d61889e5e
Support empty value for ASPNETCORE_PORT ( #1280 )
...
- Addresses #1264
2018-08-21 13:44:34 -07:00
Nate McMaster
28d4064cba
Add a build definition for compiling Universe in VSTS
2018-08-20 16:02:43 -07:00
Nate McMaster
b67a141263
Add code for building the Windows Hosting Bundle and ASP.NET Core runtime installers into this repo
...
This code previously was in private repos because it had references to internal locations and drop shares. This code has been modified to remove these internal-only pieces.
2018-08-20 15:56:22 -07:00
Mike Harder
6da64c6d55
Fix process start error message ( #1267 )
...
- Addresses #1261
2018-08-20 14:13:55 -07:00
Mike Harder
de32a08ae7
Fix typo in process start error message ( #1266 )
2018-08-20 14:11:51 -07:00
Mike Harder
cc4bbd1cef
Fix typos in portsetup error message ( #1265 )
2018-08-20 14:11:18 -07:00
Nate McMaster
86b7d5162a
Merge branch 'release/2.1' into release/2.2
2018-08-20 08:28:58 -07:00
John Luo
6f7a841374
Fire OnStreamCompleted after all pipes are closed
2018-08-17 17:45:47 -07:00
Justin Kotalik
a1e8b3a9af
Free environment variable table in inprocess application ( #1254 )
2018-08-17 16:29:30 -07:00
Chris Ross (ASP.NET)
aa9dde2457
Extract bitshift helper code, Frame cleanup #2773
2018-08-17 15:48:16 -07:00
Nate McMaster
84d4627b8b
Upgrade build tools to use the 2.1.400 SDK ( #1249 )
2018-08-17 15:23:18 -07:00
Justin Kotalik
5fc59b2331
Free ALLOC_CACHE_HANDLER on dll unload ( #1253 )
2018-08-17 14:26:53 -07:00
Nate McMaster
b4538831b7
Add package descriptions for Microsoft.AspNetCore.{App, All}
2018-08-17 12:06:25 -07:00
Nate McMaster
16164689dc
Update documentation on the various package archive formats ( #1324 )
2018-08-17 10:42:26 -07:00
David Fowler
83488886e0
Clean up some remants of the past ( #2827 )
...
- Remove Application from HttpConnectionContext and Http*ConnectionContext (it's no longer required)
2018-08-15 23:41:32 -07:00
Stephen Halter
5becb72107
Improve test logs ( #2826 )
...
- Include hosting logs in some tests that where previously missing them
- Prevent duplicate logs from Mock CallBase an CompositeKestrelTrace
- Log ports used by transport functional tests
- Add file logging to HTTP/2 "unit" tests
2018-08-15 18:31:56 -07:00
Pavel Krymets
6440545c4a
Add hosting model switch tests ( #1245 )
2018-08-15 16:47:47 -07:00
Chris Ross (ASP.NET)
0c2923135b
Limit concurrent HTTP/2 Streams per connection #2815
2018-08-15 15:58:57 -07:00
Pavel Krymets
60ca38ab56
Fix deployment parameters override ( #1241 )
2018-08-15 12:15:21 -07:00
Mike Harder
1328162052
Remove early dereference of ASPNETCORE_PORT env var ( #1225 )
...
- Addresses #1119
- Includes workaround for #1237
2018-08-14 16:53:13 -07:00
Pavel Krymets
1104564797
Throw when web config action is added without publish ( #1234 )
2018-08-14 15:08:20 -07:00
Justin Kotalik
0d91dde270
Dynamically link ucrt for release builds ( #1230 )
2018-08-14 12:32:39 -07:00
Pavel Krymets
8dbe564263
Add commit hash to V1 description ( #1229 )
2018-08-14 12:24:49 -07:00
Ryan Brandenburg
a431f8efa1
Don't publish too much of ClientApp ( #672 )
...
* Don't publish too much of ClientApp
* Fix scripts and remove extra publish items
2018-08-13 16:21:50 -07:00
Pavel Krymets
d725972355
Start adding configuration reload tests ( #1212 )
2018-08-13 13:02:57 -07:00
Chris Ross (ASP.NET)
43398482a5
Implement MaxRequestBodySize for HTTP/2 #2810
2018-08-13 12:06:21 -07:00
Stephen Halter
cd6de2fa18
Improve HTTP/2 stream abort logic ( #2819 )
...
- Fix race where headers frame could be written after an abort was observed
- Fix Http2StreamTests to verify expected abort-related exceptions
2018-08-13 11:45:17 -07:00
Pavel Krymets
f1c1f82e8b
Fix is_regular_file again ( #1218 )
2018-08-13 10:32:39 -07:00
Pavel Krymets
36add746d7
General cleanup
2018-08-13 08:51:03 -07:00
Pavel Krymets
a8be2bf25b
Add common retry helper for SeverManager ( #1207 )
2018-08-10 14:52:29 -07:00
Ryan Brandenburg
b029f79b4d
Import styles in correct order ( #668 )
...
In the `angular-cli.json` file, the styles.css file should be imported last in the styles section, so the developer can override styles from third party libraries (bootstrap, in this case).
2018-08-10 14:45:12 -07:00
Nate McMaster
af616d9b99
Remove KoreBuild-isms from project templates ( #667 )
...
Removing MSBuild properties and items are for our build infrastructure, not for customers.
2018-08-10 11:01:56 -07:00
Nate McMaster
ecb353ab2a
Merge branch 'release/2.1' into release/2.2
2018-08-10 09:49:37 -07:00
Nate McMaster
9534c08142
Change versioning of Microsoft.AspNetCore.DataProtection.Redis to 2.2 ( #320 )
2018-08-10 09:13:02 -07:00
Nate McMaster
a85d99ab8e
Add the 2.1.3 archive baselines and a target to ensure this test is run on PR builds
2018-08-10 09:08:55 -07:00
John Luo
62a30a731d
Fix bug in graceful shutdown
2018-08-10 00:17:29 -07:00
Pavel Krymets
4628525301
Start W3SVC if it is stopped ( #1197 )
2018-08-09 17:30:26 -07:00
John Luo
cef46fdaa7
Merge branch 'johluo/more-graceful' into release/2.2
2018-08-09 12:00:36 -07:00
John Luo
7c9e234457
Gracefully wait for streams to complete when pipe completes
2018-08-09 11:59:47 -07:00
Pavel Krymets
8361b8cfa9
Split handler resolution from application info ( #1177 )
2018-08-09 11:32:51 -07:00
Günther Foidl
c8418c6de8
Derive SocketAwaitable from SocketAsyncEventArgs ( #2592 )
...
* SocketSenderReceiverBase as baseclass for SocketSender and SocketReceiver
* Made SocketAwaitable.GetResult inlineable
* SocketAwaitable renamed to SocketAwaitableEventArgs and inherited from SocketAsyncEventArgs
Thus saving an extra object (`SocketAwaitable`) and two int-fields, so less allocations.
2018-08-09 11:24:06 -07:00
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
Stephen Halter
c0557cfca7
Improve exception handling in Http2Connection.ProcessRequestsAsync ( #2787 )
2018-08-08 11:20:49 -07:00
Chris Ross (ASP.NET)
5378900e0c
Ack settings before window updates #2772
2018-08-08 11:19:23 -07:00
Ryan Brandenburg
f868277373
Experience review feedback
2018-08-08 10:57:45 -07:00
Chris Ross (ASP.NET)
c73d513289
Add Http2 frame logging
2018-08-08 09:46:42 -07:00
Mike Harder
7431892e64
Replace "std::experimental::filesystem" with "std::filesystem" ( #1153 )
...
* Continuation of #1082
2018-08-07 16:37:11 -07:00
Mike Lorbetske
b53d50f6f0
Fix incorrectly resolved cross-document pointers
2018-08-07 16:16:33 -07:00
Stephen Halter
0e99235d59
Add in-memory functional test project ( #2780 )
...
- Run AddressRegistrationTests independently to avoid port conflicts
- Only run tests that verify transport behavior for each transport
2018-08-07 15:34:11 -07:00
John Luo
8a74cf3ed5
Gracefully shutdown HTTP/2 connections on server and client initiated shutdown
2018-08-07 10:59:29 -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
Ryan Brandenburg
647f0f81c2
CompatibilityVersion -> 2.2
2018-08-06 16:22:05 -07:00
Ryan Brandenburg
e47a08612b
JQuery-validate-unobtrusive version 3.2.10
2018-08-06 15:21:46 -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
Ryan Brandenburg
c5a5134e46
Revert "Rename Web Application to Starter Web Application"
...
This reverts commit 01ce77da56 .
2018-08-06 12:10:14 -07:00
Ryan Brandenburg
41d648fcc1
Fully-qualify model name
2018-08-06 12:03:22 -07:00
Chris Ross (ASP.NET)
ea7e53cab0
Send Resets for unhandled app exceptions #2733
2018-08-06 11:35:42 -07:00
Artak
3ee57ff81a
Merge pull request #659 from aspnet/dev/mkArtakMSFT/issue579
...
Removed the `layout=null` assignment from the page
2018-08-06 10:35:26 -07:00
Ryan Brandenburg
71c15fb76a
Use bootstrap4 for templates
2018-08-06 10:16:35 -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
Artak
14512a714f
Removed the `layout=null` assignment from the page
2018-08-06 08:55:51 -07:00
Ryan Brandenburg
d95f971693
Fix broken tests
2018-08-06 07:22:55 -07:00
Mike Lorbetske
43c74cfa53
Respond to much of the feedback from review
...
Default to requerying swagger for each exec
Auto-set the content-type if not yet set for requests based on swagger
Fix swagger UI command
Make error and warning colors configurable
Allow aliases to be specified in structured input based commands
Have delete not require a body
Show allowed methods for . and ..
Show verbs on the announced path after CD
Issue a request on set base and warn if there's a socket error
2018-08-03 20:58:07 -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
Mike Lorbetske
8a9b407761
Use netcoreapp2.1 instead of 2.2
2018-08-03 12:27:02 -07:00
Mike Lorbetske
af5d8a8244
Address most code review comments
...
Pagination hasn't been dealt with yet
mac keybindings may be able to be simplified, pending some additional verification
Fix 3rd party signing cert
Bind a few common bash/zsh mappings
Check for output redirection
Make package version variable name consistent
Add --help option for the command line
Remove regions
Remove old pointer resolution code
Make command not found message more friendly
Fix issue where base address was required for requests to absolute URIs
Add options to suppress response formatting and streaming
Turn off packing for the REPL project
2018-08-03 09:18:39 -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
Chris Ross (ASP.NET)
beca0259c2
Verify request Content-Length #2733
2018-08-02 13:23:57 -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 Lorbetske
7487da155f
Switch signing certificate for Newtonsoft.JSON to Microsoft3rdPartyAppComponentDual
2018-08-01 12:42:16 -07:00
Mike Lorbetske
7f8f210a24
Add license headers to all files
...
Bump version of JSON.NET to 11.0.2
2018-08-01 12:37:35 -07:00
Mike Lorbetske
89ab0cfde8
Initial commit of the HTTP REPL
2018-08-01 12:37:34 -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
Stephen Halter
6d46410a76
Don't ACK ACKs ( #2767 )
2018-07-30 12:25:32 -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
Chris Ross (ASP.NET)
647e7c3266
Add new ConfigureKestrel extensions #2760
2018-07-27 15:25:18 -07:00
Justin Kotalik
f901bca8a7
Fixing jenkins agents. ( #1106 )
2018-07-27 15:00:04 -07:00
Chris Ross (ASP.NET)
c7dd9ff68a
Enable Http/2 by default #2720
2018-07-27 12:51:12 -07:00
Stephen Halter
94cfc01fbf
Implement HTTP/2 input flow control ( #2740 )
2018-07-27 10:47:27 -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
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
Nate McMaster
0435add47a
Merge branch 'release/2.1' into release/2.2
2018-07-24 11:59:30 -07:00
Nate McMaster
1f3524787e
Merge branch 'release/2.1' into release/2.2
2018-07-24 11:43:13 -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
Chris Ross (ASP.NET)
612fcca729
Validate Http/2 pseudo headers #2205 #2263 #2659
2018-07-19 16:25:10 -07:00
Stephen Halter
603cd03bfa
Stop writing responses after the unexpected end of request content ( #2734 )
2018-07-19 14:18:57 -07:00
David Fowler
b934e46161
Complete the transport pipes after connection middleware runs ( #2735 )
2018-07-19 11:49:46 -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
Ryan Brandenburg
01ce77da56
Rename Web Application to Starter Web Application
2018-07-18 16:18:49 -07:00
Nate McMaster
55b697ab05
Revert "Add package version to Microsoft.AspNetCore.App in project templates"
...
This reverts commit 727bd52b64 .
2018-07-18 13:11:01 -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
Chris Ross (ASP.NET)
429bcfe216
Sending and receiving RST frames. #2462
2018-07-16 09:13:11 -07:00
Justin Kotalik
c657e31b94
Fix Console invalid handle issues. ( #1029 )
2018-07-13 21:32:20 -07:00
John Luo
6551eae321
Consolidate HTTP charset validation logic
2018-07-13 16:47:28 -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
Stephen Halter
f179339a79
Combine BufferWriter and CountingBufferWriter
2018-07-12 11:58:49 -07:00
Pavel Krymets
6bed0b7206
Add Microsoft.AspNetCore.Server.IntegrationTesting.IIS package ( #1037 )
2018-07-12 11:56:33 -07:00
Stephen Halter
864cfeb2aa
Merge branch 'release/2.1' into release/2.2
2018-07-12 11:18:41 -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
128eefdef3
Remove usage of the Microsoft.Extensions.Buffers.Sources package, copy the source into Kestrel
...
This moves source code that used to be in aspnet/Common. It was only used here, so this simplifies the process of working with these internal-only APIs.
cref https://github.com/aspnet/Common/pull/386
2018-07-11 22:31:23 -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
Ryan Brandenburg
2a454c5aa8
Update js packages
2018-07-11 14:59:55 -07:00
Pranav K
dbc930cc78
ResponseCache attribute on RazorPages Error handler method should be moved to model
...
Fixes #553
2018-07-11 14:50:40 -07:00
Pavel Krymets
9635d4fd8d
Cleanup compilation warnings and re-enable asserts ( #1035 )
2018-07-11 11:47:22 -07:00
Stephen Halter
a826f478ad
Implement HTTP/2 output flow control ( #2690 )
2018-07-10 14:11:59 -07:00
Nate McMaster
1d9db7c25f
Merge 2.1.2 into release/2.1
2018-07-10 10:34:35 -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
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
Nate McMaster
263e369b2e
Merge branch 'release/2.1' into release/2.2
2018-07-03 17:21:16 -07:00
Nate McMaster
727bd52b64
Add package version to Microsoft.AspNetCore.App in project templates
...
As discussed in aspnet/Home#3292 , we're reversing course on the implicit package version feature. This adds a package version for Microsoft.AspNetCore.App to the `dotnet new` and VS templates.
2018-07-03 16:53:46 -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
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
Stephen Halter
2ab22ac55a
Merge branch 'release/2.1' into dev
2018-06-28 11:27:11 -07:00
Stephen Halter
ac31e5ab30
[2.1.3] Consistently handle connection aborts ( #2619 )
...
* Decouple connection objects from the server (#2535 )
- Making progress towards being able to use the connection objects on the client side.
* Wait for input writer to complete before calling OnConnectionClosed (#2566 )
* Wait for the ConnectionClosed token to stop tracking connections (#2574 )
- The prior strategy of waiting for the pipe completed callbacks doesn't work
because blocks are returned to the memory pool after the callbacks are fired.
* Consistently handle connection resets (#2547 )
* Provide better connection abort exceptions and logs
* void IConnectionDispatcher.OnConnection
2018-06-28 10:51:22 -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
Kiran Challa
d4b8fee39f
Upgraded AngularJS to 6.0
2018-06-27 10:27:39 -07:00