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
James Newton-King
e73601dda9
Move core endpoint types to HttpAbstractions ( #703 )
2018-08-29 17:07:35 +12:00
James Newton-King
05a581a132
Copy core endpoint routing types to HttpAbstractions ( #1030 )
2018-08-29 17:07:16 +12:00
James Newton-King
2d8b187ca0
Merge branch 'merge/release/2.2-to-master'
2018-08-29 15:55:56 +12:00
James Newton-King
99c4f2f36a
Support policy arguments and resolving services by constructors ( #753 )
2018-08-29 14:51:34 +12: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
Mike Lorbetske
c3c634aa1e
Update Repl project to target 3.0
2018-08-28 15:12:16 -07:00
Mike Lorbetske
9a0ab9df63
Update HttpRepl project to target 3.0
2018-08-28 15:11:46 -07:00
Mike Lorbetske
85b22edb6a
Merge branch 'master' into merge/release/2.2-to-master
2018-08-28 14:08:12 -07:00
Stephen Halter
5ea537fbc4
Don't advance examined in Http1MessageBody.PumpAsync for canceled reads ( #2847 )
2018-08-28 11:28:17 -07:00
Nate McMaster
f8f2ee8202
Merge branch 'release/2.2'
2018-08-28 10:59:06 -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
David Fowler
04b365a22f
Don't hold onto the HttpContext in the HostingLogScope ( #1531 )
...
- Multiple things capture the ExecutionContext, reduce the changes of improperly rooting the HttpContext when we only need a few properties from the request.
2018-08-27 11:59:56 -07:00
Stephen Halter
f70ba53253
Fix race when SystemClock is accessed before first heartbeat ( #2851 )
2018-08-27 10:59:29 -07:00
Alfred Myers
c9a4ee8b71
Change List<Action> to Action ( #1480 )
2018-08-27 10:33:05 -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
James Newton-King
dd1dcaebee
Merge branch 'merge/release/2.2-to-master'
2018-08-24 09:52:47 +12:00
James Newton-King
40fb13a021
Fix DfaMatcher to work with non-RouteEndpoint ( #739 )
2018-08-24 09:11:13 +12:00
Justin Kotalik
1d4d882c0d
Spelling mistake in debug log
2018-08-23 13:45:10 -07:00
Ryan Brandenburg
3570f1a2b1
Merge branch 'merge/release/2.2-to-master'
2018-08-23 10:32:20 -07:00
dotnet-maestro-bot
90d8f96b3f
Change RoutePattern to not throw when inline and arg default value are the same ( #747 ) ( #748 )
2018-08-23 23:17:14 +12:00
James Newton-King
15e46ad323
Change RoutePattern to not throw when inline and arg default value are the same ( #747 )
2018-08-23 21:39:23 +12:00
Ryan Nowak
61c5f2bad4
Merge pull request #746 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-22 20:38:02 -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
Ryan Nowak
a0aa61fd10
Improvements for IEndpointSelectorPolicy
...
These changes are based on our discussion earlier this week. Adding
async, and making it possible to short circuit, which should be better
aligned with the requirments of versioning.
2018-08-22 19:26:13 -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
James Newton-King
5e8e490867
Merge fixes
2018-08-22 20:42:53 +12:00
James Newton-King
aff4a38865
Merge release/2.2
2018-08-22 20:37:21 +12:00
James Newton-King
1680b9f4fc
Change endpoint invoker to RequestDelegate, Endpoint/EndpointMetadataCollection namespaces, split out IRouteValuesFeature ( #712 )
2018-08-22 17:15:57 +12:00
James Newton-King
a15f213e43
Merge branch 'merge/release/2.2-to-master'
2018-08-22 15:58:38 +12:00
James Newton-King
08a0a7fadb
Remove MatchProcessor, add IParameterPolicy ( #734 )
2018-08-22 15:24:34 +12: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
James Newton-King
8b0a598a64
Merge branch 'merge/release/2.2-to-master'
2018-08-22 10:48:44 +12:00
Justin Kotalik
e23d9cb4ac
Fix a few leaked handles ( #1260 )
2018-08-21 15:45:42 -07:00
James Newton-King
4f33362ab5
Minor RVD and EndpointMetadataCollection refactors ( #708 )
2018-08-22 10:30:25 +12:00
James Newton-King
967afc3b0f
Optimize RoutePattern allocations ( #706 )
2018-08-22 10:01:52 +12:00
James Newton-King
b658d90785
Merge release/2.2
2018-08-22 09:57:19 +12: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
eaf0d25731
Update ANCM to build installers from the master branch
2018-08-20 20:12:36 -07:00
Nate McMaster
da48de7d75
Merge branch 'release/2.2'
2018-08-20 19:13:05 -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
0cb8c76c66
Merge branch 'release/2.2'
2018-08-20 08:29:15 -07:00
Nate McMaster
86b7d5162a
Merge branch 'release/2.1' into release/2.2
2018-08-20 08:28:58 -07:00
Nate McMaster
80aa7fe937
Merge branch 'release/2.2'
2018-08-20 08:27:50 -07:00
Christer van der Meeren
e85c36fa8c
Clarify CORS policy result log messages ( #177 )
...
Fixes https://github.com/aspnet/Home/issues/3419
2018-08-20 08:25:45 -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
Kiran Challa
731767837a
Introducing new **catchAll parameter to allow generating links with unencoded values
2018-08-16 15:52:09 -07:00
Ryan Nowak
2b4df294d6
Merge pull request #726 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-16 09:52:51 -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
Ryan Nowak
730646c301
Perf for EMC
2018-08-15 22:08:58 -07:00
Ryan Nowak
4fa0b068b8
Fix #710 - add support for data tokens
2018-08-15 21:43:50 -07:00
Ryan Nowak
97f54c532b
Support supression of matching for endpoints
2018-08-15 21:36:08 -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
Ryan Nowak
ad44deedee
Merge pull request #718 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-08-15 15:23:49 -07:00
Pavel Krymets
60ca38ab56
Fix deployment parameters override ( #1241 )
2018-08-15 12:15:21 -07:00
Ryan Nowak
085a0b808e
Use RoutePattern in TemplateBinder
2018-08-15 12:12:52 -07:00
Ryan Nowak
104f9c3517
Merge branch 'master' into merge/release/2.2-to-master
2018-08-14 17:03:36 -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
Ryan Nowak
e09b88ebd6
Tokenize Less
2018-08-14 15:31:38 -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
07b97e2f89
Merge branch 'merge/release/2.2-to-master'
2018-08-14 09:50:10 -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
7d91d659ff
Merge branch 'release/2.2'
2018-08-10 11:06:49 -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
ae3cdb304e
Merge branch 'release/2.2'
2018-08-10 10:13:35 -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
Chris Ross (ASP.NET)
66e65635ad
Merge branch 'release/2.2'
2018-08-09 14:02:35 -07:00
Chris Ross (ASP.NET)
b078521f17
Hold open the nginx dynamic port
2018-08-09 12:30:32 -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
Ryan Nowak
b394b51c3d
Merge branch 'master' into merge/release/2.2-to-master
2018-08-09 08:18:47 -07:00
Ryan Nowak
12cb35894e
Add support for GraphViz
...
Adds **internal** support for dumping a route table to GraphViz DOT
notation. This allows us to dump the DFA graph for a route table and
visualize it.
Example:
https://gist.github.com/rynowak/2b24e4a6a602ca6f9c4de3ec227d621b
2018-08-08 21:36:39 -07:00
James Newton-King
95267a32e2
Add EndpointBuilder ( #701 )
2018-08-09 13:06:27 +12:00
Pavel Krymets
433dd42909
Use web.config for ASPNETCORE_DETAILEDERRORS
2018-08-08 17:14:46 -07:00
Ryan Brandenburg
c33044c555
Merge branch 'merge/release/2.2-to-master'
2018-08-08 15:42:36 -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
Arthur Vickers
6b09fa4e86
Merge pull request #431 from andrewjsaid/dev
...
Show correct missing key name in NoContextType error message
2018-08-08 10:28:15 -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
Chris Ross (ASP.NET)
0cf53e7d34
Show HTTP/2 status on requests #106
2018-08-07 14:39:27 -07:00
John Luo
8a74cf3ed5
Gracefully shutdown HTTP/2 connections on server and client initiated shutdown
2018-08-07 10:59:29 -07:00
James Newton-King
dce72c9553
Remove public extension methods for registering endpoint routing ( #697 )
2018-08-07 17:49:31 +12:00
James Newton-King
39c5700148
Add docs to RouteValuesAddress ( #695 )
2018-08-07 13:14:35 +12: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
Ryan Brandenburg
f82461b4b0
Merge branch 'merge/release/2.2-to-master'
2018-08-06 13:01:08 -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
Ryan Nowak
e53a9f57db
adding more docs
2018-08-03 18:55:57 -07:00
James Newton-King
5ee3ae9002
Add XML docs to data sources and metadata ( #692 )
2018-08-04 13:34:25 +12: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
Ryan Nowak
2c792ce116
Add filtering by port
...
This adds UseHealthChecks overloads that configure the health checks
middleware to listen on a preconfigured port.
This is sugar for MapWhen, but it's important because a significant set
of users will want to use Health Checks in this way.
2018-08-03 14:56:13 -07:00
Ryan Nowak
ebafbcdae3
Add filtering by port
...
This adds UseHealthChecks overloads that configure the health checks
middleware to listen on a preconfigured port.
This is sugar for MapWhen, but it's important because a significant set
of users will want to use Health Checks in this way.
2018-08-03 14:37:27 -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
Kiran Challa
4d706f045f
rebase changes
2018-08-03 12:45:31 -07:00
Kiran Challa
09ce9c3041
Api clean up
2018-08-03 12:37:37 -07:00
James Newton-King
091cb94094
Change metadata namespace
...
Change EndpointOptions visibility to internal
Add IRequiredValuesMetadata
2018-08-03 12:37:37 -07:00
Kiran Challa
c8946a40e4
Created LinkGenerationTemplate and friends
2018-08-03 12:33:34 -07:00
Mike Lorbetske
8a9b407761
Use netcoreapp2.1 instead of 2.2
2018-08-03 12:27:02 -07:00
Ryan Nowak
4549b84cb5
Remove JSON output ( #457 )
...
* Remove JSON output and convert to sample
GlennC and I made the decisison to turn the JSON output into a sample
rather than something we support out of the box. We wouldn't tell
customers to definitely use it and we don't want to introduce more
coupling to JSON.NET.
2018-08-03 09:40:45 -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
Kiran Challa
b177ba5309
Changed api of LinkGenerator
2018-08-02 16:10:56 -07:00
Ryan Nowak
9cea167cfa
Add docs - EndpointFeature and related types ( #687 )
...
* Add docs - EndpointFeature and related types
* Add docs for route patterns
2018-08-02 15:24:00 -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
Scott Addie
d5cad26462
Clarify help text for --no-https option
2018-08-02 10:02:50 -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
Ryan Nowak
64124e9c85
Add filtering to Health Checks middleware
...
This allows each middleware to be configured with a specific set of
checks (by name). See the comments in the sample for how this is
frequently used.
This is also addresses aspnet/Home#2575 - or at least the part that we
plan to do. We think that any sort of built-in system of metadata or
tags is vast overkill, and doesn't really align with the primary usage
of health checks.
We're providing building blocks, and these can be put together to
build more complicated things like what's described in aspnet/Home#2575 .
2018-08-01 19:07:58 -07:00
Ryan Nowak
47f427d5ac
Updating Health Checks for 2.2
...
A bunch of small changes and updates for 2.2 focused at making our main
scenarios more streamlined and focused. Also adds samples for
extensibility we support so far.
A list of changes:
Clearing baselines for these projects. We didn't ship anything in 2.1 so
there should be nothing in the baselines.
--
The middleware now uses Map for path matching. This makes the actual
`HealthCheckMiddleware` more standalone. This will make it easy to use
with Dispatcher/Endpoint Routing in the future.
This also manifests by removing Path from HealthCheckOptions - the path
is an explicit argument to the UseHealthChecks middelware - this
streamlines the design for 3.0.
--
Added extensibility for customizing the status codes (aspnet/Home#2584 )
--
Added extensibility for writing the textual output (aspnet/Home#2583 )
--
Changed the default output to be `text/plain`. The most common use cases
for health checks don't include a detailed status.
The existing output format is still available as an option.
2018-08-01 18:49:44 -07:00
James Newton-King
8c4f187c22
Endpoint routing rename and API review changes ( #684 )
2018-08-02 13:38:08 +12:00
Wraptor
a080301b89
Removed CorsConstats.Simple* variables
2018-08-01 16:02:13 -07:00
Flying Wraptor
2db11051d8
Removed Simple request filtering
2018-08-01 16:02:13 -07:00
Pavel Krymets
8ea2cd9081
Ship shim with integration testing ( #1129 )
2018-08-01 15:40:45 -07:00
Pavel Krymets
44056697e6
Merge branch 'merge/release/2.2-to-master'
2018-08-01 13:46:05 -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
658906bf7c
Add TestApplication to allow publish output caching ( #1511 )
2018-07-31 16:36:31 -07:00
Kiran Challa
e19b0b738c
PR Feedback
2018-07-31 14:51:55 -07:00
Kiran Challa
85c7bd8fac
Discard ambient values during link generation if the values do not match explicit values
...
[Fixes #544 ] Link generation: Discard ambient values unless routing to the same address
2018-07-31 14:50:04 -07:00
Kiran Challa
ef2c127459
Show route name
2018-07-31 14:08:24 -07:00
Kiran Challa
f62877b9db
Show default values in CompositeEndpointDataSource's debugger display string
2018-07-31 12:39:37 -07:00
Wouter
1e14a22e0d
Change description of role in RequireRole method
...
The description of the pram roles feels ambiguous. Make it clear that the user should belong to one of the roles and not all of them.
As documented: https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-2.1
2018-07-31 13:40:49 +02: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
Justin Kotalik
80b6ae4eb4
Handle subtype with suffix being a subtype without a suffix ( #1027 )
2018-07-30 12:05:35 -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
Ryan Nowak
f8b3b73ca7
Remove EndpointConstraints
...
Adds IEndpointSelectorPolicy so that MVC can plug in to the
EndpointSelector to run action constraints.
2018-07-28 19:03:12 -07:00
Justin Kotalik
0af3bef0fe
Fix win7 test failures. ( #1109 )
2018-07-27 17:32:01 -07:00
James Newton-King
f870503cdd
Fix HttpMethodMetadata debug string ( #666 )
2018-07-28 11:13:30 +12: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
Justin Kotalik
6efdf78fb5
IIS ANCM support in test matrix ( #1509 )
2018-07-27 11:48:57 -07:00
Stephen Halter
94cfc01fbf
Implement HTTP/2 input flow control ( #2740 )
2018-07-27 10:47:27 -07:00
Pavel Krymets
5875ff40b1
Add UseIIS to CreateDefaultBuilder ( #278 )
2018-07-27 10:18:56 -07:00
Ryan Nowak
54e5370e8f
Add CORS support to HttpMethodMatcherPolicy
...
Also removes HttpMethodEndpointConstraint, since it's been fully
replaced.
2018-07-26 23:01:11 -07:00
Nate McMaster
a3dd609ae6
Merge branch 'release/2.2'
2018-07-26 17:07:54 -07:00
Nate McMaster
fed2eb1cdf
More robust username discovery on Linux in NginxDeployer ( #1508 )
...
VSTS does not have the LOGNAME env var set. This adds some fallbacks (USER and USERNAME) and `whoami` if they are not present.
2018-07-26 17:07:24 -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
Nate McMaster
be3691aee8
Merge branch 'release/2.2'
2018-07-26 09:33:54 -07:00
Pavel Krymets
61b4473abe
Fix another shutdown race and appofline race ( #1071 )
2018-07-26 08:12:08 -07:00
John Luo
ebec69292b
We no longer use the IMemoryCache from DI
2018-07-25 21:47:13 -07:00
Hao Kung
c4e8dd3664
Rename WebHostBuilderFactory ( #1505 )
2018-07-25 16:44:20 -07:00
James Newton-King
c68c5befc7
Remove ChangeToken from EndpointDataSource ( #662 )
2018-07-26 11:06:54 +12: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
Ryan Nowak
19f24cad16
fix silly constructor
2018-07-24 21:54:24 -07:00
James Newton-King
1340f9c26b
Add EndpointSelectorCandidate ctor to not break MVC ( #661 )
2018-07-25 16:03:26 +12:00
James Newton-King
fdff66054f
Missing ChangeToken -> GetChangeToken updates ( #660 )
2018-07-25 14:35:41 +12:00
Ryan Nowak
147c9527f3
Implement EndpointSelector and MatcherPolicy ( #646 )
...
Implement EndpointSelector and MatcherPolicy
This change makes the EndpointSelector API more concrete, and is the
beggining of removing EndpointConstraint by making it obsolete.
To that end, I'm introducing MatcherPolicy, which is a
feature-collection API for registering policies that interact with the
DfaMatcher. The two policies that we'll need to start are:
- ability to order endpoints
- ability to append 'policy' nodes to the graph
These two concepts together replace EndpointConstraint. Extending our
graph representation is a really efficient way to processing most common
scenarios.
---
In general this helps with common cases where 4 or so endpoints match
the URL, but with different HTTP methods supported on each. Today we
have to process route values and call into some 'policy' to make a
decision about which one is the winner. This change pushes this
knowledge down into the graph so that it's roughly as cheap as a
dictionary lookup, and can be done allocation-free.
The big savings here is ability to remove more candidates *before*
collecting route data.
---
Along with this change, I also built 'rejection' into the DFA node
model, you can see an example with the HTTP Method handling that I
implemented. I implemented a policy that can treat failure to resolve an
HTTP method as a 405 response by returning a failure endpoint. This is
at the heart of much of the feedback we've gotten in this area around
versioning and http method handling. We also have a version of this
feature in MVC for [Consumes].
2018-07-24 17:31:51 -07:00
Kiran Challa
f37ca0d2e9
Show list of endpoints in CompositeEndpointDataSource's DebuggerDisplayString
...
[Fixes #633 ] Show list of registered endpoints as debugger display string
2018-07-24 17:22:43 -07:00
Kiran Challa
6f4c10a664
PR feedback
2018-07-24 17:17:08 -07:00
Kiran Challa
71cb933a08
Show a flattened tree in LinkGenerationDecisionTree's DebuggerDisplayString
...
[Fixes #636 ] Flatten the LinkGenerationDecisionTree to show as debugger display string
2018-07-24 17:11:53 -07:00
Kiran Challa
34499dbe24
Added support for suppressing link generation for endpoints
2018-07-24 16:47:34 -07:00
Justin Kotalik
5bd475ef90
Add event logs for some startup failure cases ( #1081 )
2018-07-24 13:17:05 -07:00
Nate McMaster
ba02ab85c1
Merge branch 'release/2.2'
2018-07-24 13:00:07 -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
Kiran Challa
7da1baf9d8
Do not use decision tree for named routes in RouteValuesBasedEndpointFinder
2018-07-24 05:33:19 -07:00
Kiran Challa
5f1631ab46
Added support for configuring route options with LinkGenerator
2018-07-24 04:45:33 -07:00
Sindhudweep Sarkar
feceb3ddea
Lowercase scheme and host to better align with RFC 6454.
2018-07-23 12:22:15 -07:00
Pavel Krymets
fba4e3ec4e
Switch to non-experimental filesystem ( #1082 )
2018-07-23 08:57:43 -07:00
Ryan Nowak
2c325440de
Remove AddDispatcher/UseDispatcher
2018-07-22 20:35:10 -07:00
James Newton-King
1e807240ea
Add GetChangeToken to EndpointDataSource ( #649 )
2018-07-23 13:46:22 +12:00
Ryan Nowak
b9df95831d
Change Branding
...
For preview one the branding is:
new thing = UseGlobalRouting/UseEndpoint
old thing = UseRouter
We're going to drop the name Dispatcher everywhere and make sure that we
position our new work as 'new and improved routing' instead of
introducing a new product/concept name.
We're not totally sure of the term Global yet, but it's what we're doing
for preview 1. Suggestions welcome for dicussion after we do the first
preview :)
2018-07-22 16:41:59 -07:00
Justin Kotalik
c3545c18eb
Add api sets to IntegrationTesting.IIS ( #1083 )
2018-07-20 17:32:57 -07:00
Ryan Nowak
f1c060bf3d
RoutePattern everywhere
2018-07-20 13:04:34 -07:00
James Newton-King
90395c933d
Implement IRoutingFeature on EndpointFeature for back-compat ( #641 )
2018-07-20 18:23:14 +12: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
Ryan Brandenburg
54d0b4857f
Merge pull request #627 from dotnet-maestro-bot/merge/release/2.2-to-master
...
[automated] Merge branch 'release/2.2' => 'master'
2018-07-19 11:22:30 -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
Michael Seifert
601909865f
Fix links that assumed branch "dev" exists (which doesn't) ( #1725 )
...
* Fix links that assumed branch "dev" exists (which doesn't)
* Adressed comments [skip ci]
2018-07-19 18:12:44 +01:00
Kiran Challa
41f56dbbed
Minor fix to DefaultLinkGenerator and enabled constraint related tests in DefaultLinkGeneratorTest
2018-07-19 09:11:50 -07:00
Ryan Brandenburg
01ce77da56
Rename Web Application to Starter Web Application
2018-07-18 16:18:49 -07:00
Justin Kotalik
864caa20b4
Merge branch 'merge/release/2.2-to-master'
2018-07-18 15:25:08 -07:00
Justin Kotalik
1186741977
Merge release/2.2 into master
2018-07-18 14:34:38 -07:00
Justin Kotalik
21d9ec64f0
Add copy constructor to deployment parameters ( #1497 )
2018-07-18 14:28:48 -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
Ryan Nowak
477296a3cc
Make DFA matcher the default
2018-07-18 07:50:27 -07:00
Andrew J Said
af89bb661a
Clarify error message as request in pull request review
2018-07-18 12:24:22 +01:00
Pavel Krymets
0634e1183e
React to hosting changes ( #1072 )
2018-07-17 21:06:03 -07:00
Pavel Krymets
19839ed308
Revert "Merge pull request #1494 from aspnet/revert-1493-pakrym/useiis" ( #1496 )
...
This reverts commit 7a0a1ee50b , reversing
changes made to ec0b7ab2cd .
2018-07-17 21:05:59 -07:00
Pavel Krymets
54471a2930
Add client abort tests ( #1051 )
2018-07-17 20:26:57 -07:00
Ryan Nowak
400d243f42
Fix remaining feature gaps in DfaMatcher ( #621 )
...
* Fix remaining feature gaps in DfaMatcher
* addressed minor feedback
* missed one
2018-07-17 19:22:46 -07:00
Pavel Krymets
65f8cfc55b
Revert "Remove IISExpress deployer ( #1493 )"
...
This reverts commit ec0b7ab2cd .
2018-07-17 12:07:42 -07:00
Pavel Krymets
ec0b7ab2cd
Remove IISExpress deployer ( #1493 )
2018-07-17 10:16:50 -07:00
Pavel Krymets
074264cd3a
Use less global variables ( #1064 )
2018-07-17 08:56:18 -07:00
Kiran Challa
1196349bf4
[ Fixes #583 ] Handle change events in RouteValueBaseEndpointFinder
2018-07-17 05:54:11 -07:00
Kiran Challa
aed2e24483
Allow to pass in HttpContext when generating links
2018-07-17 05:16:57 -07:00
Ryan Nowak
02e1d78319
Minor fixes for MatchProcessorFactory
...
Fixing minor issues found doing DFA integration.
2018-07-16 21:06:35 -07:00
Ryan Brandenburg
4aa0c0cf61
Merge branch 'master' into merge/release/2.2-to-master
2018-07-16 11:44:08 -07:00
Chris Ross (ASP.NET)
429bcfe216
Sending and receiving RST frames. #2462
2018-07-16 09:13:11 -07:00
Ryan Nowak
b2e4743c7d
Change benchmarks ( #612 )
...
Add benchmarks that include some HTTP method matching.
Clean up names and name like-kinded benchmarks alphabetically.
Matcher*Benchmark -> E2E including HTTP method selection
MatcherSelectCandidates*Benchmark -> Focused on just URL path processing
2018-07-14 17:21:05 -07:00
James Newton-King
497a38035d
Add application startup check that dispatcher is added to request pipeline ( #614 )
2018-07-15 11:50:55 +12:00
James Newton-King
73e4d55d7b
Check dispatcher services registered ( #610 )
2018-07-14 18:20:42 +12:00
Justin Kotalik
c657e31b94
Fix Console invalid handle issues. ( #1029 )
2018-07-13 21:32:20 -07:00
Ryan Nowak
9e114b547d
Introduce RoutePattern ( #585 )
...
* Introduce RoutePattern
Introduces RoutePattern - a new parser and representation for routing
templates, defaults, and constraints.
This is a new representation for all of the 'inputs' to routing that is
immutable and captures 'out of line' information for defaults and
constraints.
This will allow us to unify the handling of constraints and values from
attribute style routes and conventional style routes.
2018-07-13 18:01:46 -07:00
John Luo
6551eae321
Consolidate HTTP charset validation logic
2018-07-13 16:47:28 -07:00
Kiran Challa
bc79a47959
Temporary change to prevent cross repo breaking change: Added ooverload for MatcherEndpoint
2018-07-13 14:24:11 -07:00
Kiran Challa
42708bec91
Added support for route constraints in Dispatcher world
2018-07-13 14:18:54 -07:00
Justin Kotalik
b359d6bed1
Fix CI test failures ( #1045 )
2018-07-13 11:35:52 -07:00
Kiran Challa
1c7f53ae39
Fix TemplateBinder to consider null and empty string values the same
2018-07-13 10:21:55 -07:00
Ryan Nowak
7209cab5e9
Productize JumpTable ( #594 )
...
* Productize JumpTable
2018-07-12 23:28:51 -07:00
Justin Kotalik
36d7c8ec42
Add startup event log for ANCM inproc ( #1047 )
2018-07-12 16:03:06 -07:00
James Newton-King
0cf972cc43
Error message on no dispatcher middleware in endpoint middleware ( #600 )
2018-07-13 10:16:21 +12:00
Tim Hess
c9122a8428
Include AuthenticationTicket.Properties in AuthenticationTicket success result handling #1765 ( #1767 )
2018-07-12 13:58:49 -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
Kiran Challa
3a022107dc
Revert "Added support for route constraints in Dispatcher world"
...
This reverts commit 85e92ab3cc .
2018-07-12 06:24:37 -07:00
Nate McMaster
85e92ab3cc
Added support for route constraints in Dispatcher world
2018-07-12 05:06:22 -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
Hao Kung
672974c25b
Merge fix from release/2.1
2018-07-11 13:18:34 -07:00
Hao Kung
d2a8d3a61c
Fix cookie regression ( #1811 )
2018-07-11 13:14:51 -07:00
Pavel Krymets
9635d4fd8d
Cleanup compilation warnings and re-enable asserts ( #1035 )
2018-07-11 11:47:22 -07:00
Nate McMaster
c80c5f4a01
Update dotnet-sql-cache.csproj
2018-07-10 16:27:28 -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
Stephen Halter
a826f478ad
Implement HTTP/2 output flow control ( #2690 )
2018-07-10 14:11:59 -07:00
Pavel Krymets
51c94337d7
/systray:false ( #1486 )
2018-07-10 11:29:39 -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
nulltoken
3e0b689ac2
Ensure ClientHandler properly honors Host header ( #1483 ) Fix #1481
2018-07-06 13:00:25 -07:00
Patrick Westerhoff
36ea388e9b
Remove doc about unshipped default configuration ( #274 )
2018-07-05 16:13:28 -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
Nate McMaster
4ca00f6b1b
Merge branch 'release/2.2'
2018-07-03 17:55:29 -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
Nate McMaster
26d9ef2ad7
Upgrade to netcoreapp3.0
2018-07-03 14:52:59 -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
Nate McMaster (automated)
d742bea01e
[automated] Change default branch to master
2018-07-02 12:40:25 -07:00
Justin Kotalik
dfd75e939d
Add full IIS tests ( #979 )
2018-07-02 12:15:15 -07:00
Nate McMaster
1f2e966454
Update templating to use netcoreapp3.0
2018-06-29 16:32:30 -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
Stephen Halter
2ab22ac55a
Merge branch 'release/2.1' into dev
2018-06-28 11:27:11 -07:00
Kiran Challa
1009705283
Added a RouteValuesBasedEndpointFinder
2018-06-28 10:53:10 -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
Ryan Nowak
bc5f02444b
Benchmarks and improvements to route value dictionary ( #577 )
...
* Add benchmarks for RVD
There are the scenarios that are critical for URL matching performance.
* Reimplement RouteValueDictionary
Improves the scenarios with benchmarks by about 30%
* Fix benchmark
* PR feedback
* More feedback and tests
2018-06-26 13:41:49 -07:00
David Fowler
0f4f1950f1
Attempt to make it easier to detect when the request is done ( #1021 )
...
- Today the async local reference to the HttpContext flows when the execution context is captured. When the http request has ended, the HttpContext property will return the reference to an invalid HttpContext instead of returning null. This change stores both the request id and the HttpContext and makes sure both match before returning anything valid.
- This is still racy but should catch more cases of people doing bad things.
- There will still be issue if people store the context in a local and use that reference instead of accessing it through the property getter but we can live with that.
- Set the TraceIdentifier to null in the default HttpContextFactory
- Added tests
2018-06-26 11:49:12 -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
John Luo
423d5432be
Add test for ensuring HPACK lowercase header names
...
- ensure lowercase mask only applied to uppercase letters
2018-06-26 10:44:21 -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
Daniel Little
554855cab3
No CORS headers sent if Exception is thrown
...
- Normally headers are added however if a controller throws an exception then CORS headers not be present.
Addresses aspnet/Home#3220
2018-06-25 14:00:30 -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
Ryan Nowak
30fcfb65ea
Productionize Path tokenization
2018-06-21 17:13:03 -07:00
Justin Kotalik
306ab78b88
Fix App_offline and start adding tests ( #953 )
2018-06-21 16:35:11 -07:00
James Newton-King
6efd679ce3
Fix TreeMatcher with route constraints ( #576 )
2018-06-22 10:33:44 +12: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
Chris Ross (ASP.NET)
61e16e2b31
Automation for h2spec functional tests #2640
2018-06-21 11:17:16 -07:00
Pavel Krymets
ed1fa44a3d
Add diagnostics to hostfxrutil ( #951 )
2018-06-20 16:22:19 -07:00
Chris Ross (ASP.NET)
324565772c
Prevent app code from blocking the connection loop #2657
2018-06-20 11:06:49 -07:00
Pranav K
c6cc1ef6d6
Apply attribute to page model rather than handler
2018-06-20 10:53:56 -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
Chris Ross (ASP.NET)
c498f03cb4
Expose Tls details as a feature. #2661
...
Limit Http/2 to TLS 1.2 #2251
Bootstrap functional tests #2238
2018-06-18 16:25:18 -07:00
Henk Mollema
cfab182399
Revert "Inherit web IHostingEnvironment and IApplicationEnvironment from the Generic Host one ( #1461 )" ( #1467 )
...
This reverts commit 8672b1b04a .
2018-06-18 10:47:17 -07:00
Henk Mollema
8672b1b04a
Inherit web IHostingEnvironment and IApplicationEnvironment from the Generic Host one ( #1461 )
2018-06-16 03:18:48 -07:00
Stephen Halter
14f020cf11
Improve tracking of connection lifetime ( #2646 )
2018-06-15 11:10:38 -07:00
Ryan Brandenburg
aa24887d43
Set 2.1 baselines
2018-06-14 16:42:34 -07:00
Ryan Brandenburg
b8a488bf9e
Set 2.1 baselines
2018-06-14 16:42:18 -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
Kiran Challa
d3ddc1709a
Added initial support for link generation when using Dispatcher
2018-06-14 15:31:30 -07:00
Ryan Brandenburg
4cb04470a5
Set 2.1 baselines
2018-06-14 14:10:10 -07:00
Ryan Brandenburg
7423bb8702
Set 2.1 baselines
2018-06-14 14:10:02 -07:00
Ryan Brandenburg
22297278c4
Set 2.1 baselines
2018-06-14 11:40:34 -07:00
Ryan Brandenburg
2328792540
Set 2.1 baselines
2018-06-14 11:40:22 -07:00
Ryan Brandenburg
b59f5dd8d4
Set 2.1 baselines
2018-06-14 11:36:37 -07:00
Ryan Brandenburg
78fc556758
Set 2.1 baselines
2018-06-14 11:36:27 -07:00
Ryan Brandenburg
1e85713d75
Set 2.1 baselines
2018-06-14 11:29:34 -07:00
Ryan Brandenburg
a04813edc3
Set 2.1 baselines
2018-06-14 11:29:25 -07:00
Ryan Brandenburg
e56fbce686
Set 2.1 baselines
2018-06-14 11:11:54 -07:00
Ryan Brandenburg
887353707e
Set 2.1 baselines
2018-06-14 11:11:43 -07:00
Ryan Brandenburg
ee7d80881d
Set 2.1 baselines
2018-06-14 11:07:36 -07:00
Ryan Brandenburg
bb49eeebe6
Set 2.1 baselines
2018-06-14 11:07:25 -07:00
Ryan Brandenburg
4b93b75e78
Set 2.1 baselines
2018-06-14 11:06:20 -07:00
Ryan Brandenburg
1bbe161b4e
Set 2.1 baselines
2018-06-14 11:06:10 -07:00
Ryan Brandenburg
80a361c24c
Set 2.1 baselines
2018-06-14 10:13:59 -07:00
Ryan Brandenburg
f43646e7a1
Set 2.1 baselines
2018-06-14 10:07:39 -07:00
Ryan Brandenburg
f5ad156dd1
Set 2.1 baselines
2018-06-14 10:07:27 -07:00
Ryan Brandenburg
bbf1f62204
Set 2.1 baselines
2018-06-14 10:07:07 -07:00
Ryan Brandenburg
d1235cdda0
Set 2.1 baselines
2018-06-14 10:06:58 -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
Ryan Brandenburg
191d2651fc
Set 2.1 baselines
2018-06-14 10:02:33 -07:00
Ryan Brandenburg
d1b1a8097b
Set 2.1 baselines
2018-06-14 10:02:28 -07:00
Ryan Brandenburg
b7c722bb68
Set 2.1 baselines
2018-06-14 09:37:25 -07:00
Ryan Brandenburg
c367db6226
Set 2.1 baselines
2018-06-14 09:36:28 -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
Ryan Brandenburg
01ee9cbc80
Set 2.1 baselines
2018-06-13 15:47:13 -07:00
Ryan Brandenburg
01477ecf61
Set 2.1 baselines
2018-06-13 15:47:05 -07:00
Ryan Brandenburg
088bc2e37e
Set 2.1 baselines
2018-06-13 13:54:54 -07:00
Ryan Brandenburg
9215a8a3ee
Set 2.1 baselines
2018-06-13 13:54:40 -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
John Luo
13663e1e15
Convert to using definitions from HeaderNames
2018-06-13 11:24:24 -07:00
James Newton-King
9efa7665c9
Fix endpoint constraint cache ( #555 )
2018-06-13 16:40:06 +12: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
Nate McMaster
ff3f0e905d
Merge branch 'release/2.1' into release/2.1.2
2018-06-12 14:16:29 -07:00
Justin Kotalik
9d97ff38f8
Load ANCM out of process via global versioning ( #895 )
2018-06-12 14:04:21 -07:00
James Newton-King
6a6bd3f0da
Refactor TreeMatcher to not use async ( #552 )
2018-06-13 08:48:27 +12: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
James Newton-King
28d1bc4fa2
Fix TreeMatcher's use of EndpointSelector ( #551 )
2018-06-12 15:47:34 +12:00
Mike Harder
c5de0e1892
Pass timeout to WaitForExit() on "dotnet publish" ( #1453 )
...
* Addresses https://github.com/aspnet/Hosting/issues/1451
2018-06-11 15:09:58 -07:00
James Newton-King
84bc8351c9
Initial endpoint constraints functionality ( #548 )
2018-06-12 09:43:17 +12:00
Chris Ross (ASP.NET)
a217206f1f
Enforce max frame size #2651
2018-06-11 14:20:43 -07:00
Chris Ross (ASP.NET)
810a302e66
Disable AllowRenegotiation for HTTP/2
2018-06-11 13:51:23 -07:00
Pranav K
e403187be3
ResponseCache attribute on RazorPages Error handler method should be moved to model
...
Fixes #553
2018-06-11 10:15:13 -07:00
Ryan Nowak
08f12f2bfd
Add sample matcher tests
2018-06-09 13:29:06 -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
James Newton-King
1b470f3d3b
Fix Endpoint order in TreeMatcher ( #542 )
2018-06-08 16:19:56 +12:00
Chris Ross (ASP.NET)
00827e38bb
Harden TFM checks #2624
2018-06-07 14:56:23 -07:00
James Newton-King
48dd7a9688
Fix log order ( #540 )
2018-06-08 08:57:24 +12:00
James Newton-King
21f8ce5e95
Initial DispatcherMiddleware tests ( #529 )
2018-06-07 21:47:06 +12:00
Ryan Nowak
49f839a286
Add benchmarks for matcher implementations
2018-06-06 21:50:07 -07:00
James Newton-King
b27f032b43
Fix EndpointMetadataCollection filename ( #528 )
2018-06-07 09:15:50 +12:00
Nate McMaster
5ebf74fa32
Add certificate names for code signing ( #889 )
2018-06-06 08:55:18 -07:00
Nate McMaster
124b6ba9a1
Add certificate names for code signing
2018-06-05 22:31:24 -07:00
Simon Grimshaw
e1b08b2739
Removing dependency on redux-mock-store.
2018-06-04 16:25:44 -07:00
Simon Grimshaw
f7a9b6f6a3
Fixing issue in the react and redux template where the test would fail as its not wrapped in a router.
2018-06-04 16:25:44 -07:00
Justin Kotalik
1822992354
Fix null ref on ExeLocation not being set ( #884 )
2018-06-04 14:59:50 -07:00
Ryan Nowak
dc4be30d88
Rename Treenumerator -> TreeEnumerator
2018-06-01 21:33:30 -07:00
James Newton-King
81dde1a9f1
PR feedback
2018-06-01 21:33:30 -07:00
Ryan Nowak
0ea16ddd57
Code dump of dispatcher prototype code
...
Here's a code dump of the parts of the Dispatcher prototype codebase
that are needed to get us off the ground.
This first cut attempts to use part of routing where possible, and not
all of those changes will be long-lasting.
I'll leave comments through thoughout the PR for education.
2018-06-01 21:33:30 -07:00
Justin Kotalik
e1ae70166b
Improve logging architecture; add tests for logging and startup exceptions ( #858 )
2018-06-01 16:42:58 -07:00
Stephen Halter
0aff4a0440
Handle client and server aborts differently from eachhother ( #2612 )
...
* Trace when app aborts connection
* Improve exception messages
* Always abort connection with ConnectionAbortedException
* Add ConnectionContext.Abort(Exception)
2018-06-01 14:42:30 -07:00
Justin Kotalik
f09edb3b5d
Target c++17 ( #881 )
2018-06-01 09:11:18 -07:00
Nate McMaster
e74907d6bf
Resolves #444 - remove workaround for CTRL+C deadlocks
2018-05-31 20:16:06 -07:00
kishan.anem
acea87a617
IUrlHelper and support for RouteOptions.LowercaseUrls
...
changes are made as suggestions.
@rynowak
#518
#Issue: aspnet/Mvc#7720
2018-05-31 20:07:01 -07:00
kishan.anem
cb77c17cf4
TestCase added and IUrlHelper and support for RouteOptions.LowercaseUrls
...
checked appliesd to the query string.
@rynowak
#518
#Issue: aspnet/Mvc#7720
2018-05-31 20:07:01 -07:00
kishan.anem
f227cbeca3
Added sperate option "IUrlHelper and support for RouteOptions.LowercaseUrls "
...
@rynowak
#518
#Issue: https://github.com/aspnet/Mvc/issues/7720
2018-05-31 20:07:01 -07:00
kishan.anem
695fb00308
IUrlHelper and support for RouteOptions.LowercaseUrls
...
IUrlHelper and support for RouteOptions.LowercaseUrls
#issue : https://github.com/aspnet/Mvc/issues/7720
2018-05-31 20:07:01 -07:00
Stephen Halter
aa9b9ca724
Merge branch 'release/2.1' into dev
2018-05-31 16:29:14 -07:00
Stephen Halter
e4d290b601
Fix Json regression in Socket Transport ( #2578 )
2018-05-31 16:28:25 -07:00
Stephen Halter
d1416e679b
[2.1.1] Provide clearer exception message for breaking change ( #2623 )
...
- In 2.1, the default transport (Sockets) can no longer bind to certain
endpoint types (Unix domain sockets and open socket handles).
- The new message recommends manually selecting the libuv transport
to work around this issue.
2018-05-31 15:45:26 -07:00
Stephen Halter
af177c5adc
Add Memory<byte> overloads to HttpUpgradeStream ( #2622 )
2018-05-31 15:44:39 -07:00
Chris Ross (ASP.NET)
8d55a447d4
Allow running some IIS Express variants without publishing #1431
2018-05-31 15:15:04 -07:00
Stephen Halter
9e15b2bca4
Fix PipeReader consumption pattern [2.1]
2018-05-31 11:27:38 -07:00
Kiran Challa
a5fb8a3d3c
[ Fixes #523 ] Fix the jquery.min.js file in RazorPages web application
2018-05-30 16:01:45 -07:00
Javier Calvarro Nelson
54fe5f73ca
[ Fixes #528 ] Windows authentication is not applied on launchSettings.json
2018-05-30 14:22:25 -07:00
Javier Calvarro Nelson
74883b2cf0
[ Fixes #528 ] Windows authentication is not applied on launchSettings.json
2018-05-30 14:05:59 -07:00
Hao Kung
23e3ab6555
Add TestPortHelper class for tests ( #1438 )
...
* Add TestPortHelper class for tests
* Remove copy
* Update IISExpressDeployer
2018-05-30 13:55:46 -07:00
Chris Ross (ASP.NET)
7e43d35049
Make ListenOptions.Protocols public again for HTTP/2 work
2018-05-30 12:25:38 -07:00
Steve Sanderson
52a9e7a54d
Remove obsolete reference in Angular template home. Fixes #470
2018-05-30 11:22:14 +01:00
Stephen Halter
f80091a328
Merge branch 'release/2.1' into dev
2018-05-29 16:37:16 -07:00
Stephen Halter
5ec7bacdfe
Lower severity of AuthenticationException logs from SslStream handshake ( #2614 )
2018-05-29 16:27:16 -07:00
Pranav K
6e67c9345c
Remove reference to Microsoft.AspNetCore.Mvc.Razor.ViewCompilation from desktop templates
...
Fixes #530
2018-05-29 15:23:03 -07:00
Pavel Krymets
2a467bfd6d
Cleanup headers and enable MultiProcessorCompilation ( #845 )
2018-05-29 09:06:21 -07:00
Steve Sanderson
447359af84
Bump aspnet-webpack version to 3.0.0
2018-05-29 10:02:23 +01:00
Matt Perry
823630c508
Add webpack 4 support to aspnet-webpack
2018-05-29 09:58:04 +01: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
Rutger Storm
a3300a6a60
Add try..finally around RunAsync and WaitForTokenShutdownAsync #1194
...
The try..finally ensures that the ManualResetEventSlim which AttachCtrlcSigtermShutdown uses is set even when an exception occurs in these two methods.
2018-05-25 09:21:26 -07:00
Steve Sanderson
9e17d93acf
Remove obsolete reference in Angular template home. Fixes #470
2018-05-24 21:11:59 +01:00
Chris Ross (ASP.NET)
48a9013e08
Do not overwrite ContentRoot #267
2018-05-24 11:18:31 -07:00
Pavel Krymets
4932fca0d9
Fix the build
2018-05-24 11:14:04 -07:00
Pranav K
c6b5001149
Remove reference to Microsoft.AspNetCore.Mvc.Razor.ViewCompilation from desktop templates
...
Fixes #530
2018-05-24 09:27:17 -07:00
Nate McMaster
83134227ab
Add support for DOTNET_WATCH_ITERATION ( #443 )
...
This environment variable can be used to determine how many types the inner command has been re-launched
Resolves #387
2018-05-24 08:24:56 -07:00
Pavel Krymets
1e143c71c6
Add Hostable Web Core based inprocess test server ( #853 )
2018-05-24 08:11:40 -07:00
Chris Ross (ASP.NET)
09d3b32fe5
Enable x86 testing #949
2018-05-23 09:35:26 -07:00
Tim Hess
0f18ff1b9f
Include AuthenticationTicket.Properties in AuthenticationTicket success result handling #1765 ( #1767 )
2018-05-23 08:25:19 -07:00
Stephen Halter
a9d6cf13eb
Consistently handle connection resets ( #2547 )
2018-05-22 16:38:21 -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
Ryan Brandenburg
15ca3dcdaa
Move templates to netcoreapp2.2
2018-05-18 09:28:12 -07:00
John Luo
eda6940350
Fix integration testing after logging change
2018-05-17 13:05:49 -07:00
Kiran Challa
90fe58be75
[ Fixes #523 ] Fix the jquery.min.js file in RazorPages web application
2018-05-16 17:30:20 -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
27799b5acb
Enable pubternability analyzer ( #2560 )
2018-05-16 13:42:56 -07:00
Nate McMaster
f2df6763aa
Merge branch 'release/2.1' into dev
2018-05-16 12:44:04 -07:00
Nate McMaster
ef9fa1868a
Fix SRI hash values for jquery ( #521 )
2018-05-16 11:49:40 -07:00
Chris Ross (ASP.NET)
3b5b40884f
Refactor integration testing for test matrix generation.
2018-05-16 09:51:50 -07:00
Justin Kotalik
5227de9a31
Always check if ANCM is in the base output folder. ( #1420 )
2018-05-15 18:11:12 -07:00
Pavel Krymets
34c797a46b
Move in-process server implementation to IIS.Server ( #837 )
2018-05-15 15:24:17 -07:00
Nate McMaster
6272b3625e
Dispatch cancellation on CTRL+C to avoid deadlocks in killing the process tree
2018-05-15 14:50:26 -07:00
Stephen Halter
f8f6f39f55
Wait off the ConnectionClosed token to stop tracking ConnectionCallback ( #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.
2018-05-15 12:38:35 -07:00
Stephen Halter
c683316253
Generate repetitive TransportConnection FeatureCollection code ( #2548 )
2018-05-14 17:20:48 -07:00
John Luo
04f2101696
Reenable api check
2018-05-14 13:36:39 -07:00
Stephen Halter
514917b9a8
Wait for input writer to complete before calling OnConnectionClosed ( #2566 )
2018-05-14 11:51:49 -07:00
DHumphreys
146427fa5a
Updates per PR feedback
2018-05-11 17:44:47 -07:00
DHumphreys
4d92d76b64
Initial commit providing the AdapterFactory directly to the ObjectAdapter to all for customization of the Adapter selection and the ability to override the built in adapters to leverage their ability as much as possible.
2018-05-11 17:44:47 -07:00
Kiran Challa
b7eacbb1c3
Upgrade node-sass to 4.9.0
...
[Fixes #513 ] Angular template incompatible with NodeJs 10
2018-05-11 13:26:45 -07:00
Pavel Krymets
22a865b832
Extract a layer of IIS Async IO handling ( #818 )
2018-05-11 13:02:12 -07:00
Stephen Halter
b040e33b1b
Merge branch 'release/2.1' into dev
2018-05-10 23:47:51 -07:00
Stephen Halter
da21fc89cf
Handle exception in SocketConnection.Shutdown() ( #2562 )
2018-05-10 23:39:06 -07:00
Stephen Halter
e6a88c1b9c
Relieve response backpressure immediately when closing socket ( #2557 )
...
* Relieve response backpressure immediately when closing socket
2018-05-10 17:13:57 -07:00
Stephen Halter
f04118fca1
Merge branch 'halter73/merge-2.1-dev' into dev
2018-05-09 17:27:47 -07:00
Pranav K
80fa1d699d
Upgrade to netcoreapp2.2
...
This reverts commit fe9da3c57b .
2018-05-09 16:43:15 -07:00
Pranav K
78236286b4
Upgrade tools to netcoreapp2.2
2018-05-09 14:44:43 -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
Ryan Brandenburg
fe9da3c57b
Revert "Don't touch product repos"
...
This reverts commit 8e9f05b902 .
2018-05-08 16:52:48 -07:00
Ryan Brandenburg
8e9f05b902
Don't touch product repos
2018-05-08 15:38:20 -07:00
Ryan Brandenburg
350310aa96
Handle netcoreapp cases
2018-05-08 15:38:20 -07:00
Ryan Brandenburg
38f691c09e
Upgrade to netcoreapp22 ( #1410 )
2018-05-08 11:02:12 -07:00
Stephen Halter
c8d374af64
Merge branch 'release/2.1' into dev
...
# Conflicts:
# build/dependencies.props
# korebuild-lock.txt
# src/Kestrel.Transport.Libuv/Internal/LibuvConnectionContext.cs
2018-05-07 15:47:20 -07:00
Nate McMaster
05d68efbae
Merge branch 'release/2.1.0-rc1' into release/2.1
2018-05-07 14:35:41 -07:00
Justin Kotalik
dc9db57389
Fix out of process websocket check ( #819 )
2018-05-07 13:49:27 -07:00
Hao Kung
c3992acf3a
Update script to fixup app version
2018-05-07 11:36:44 -07:00
Nate McMaster
341ba98d27
[dotnet-watch] Don't show false error messages ( #434 )
2018-05-07 10:52:47 -07:00
Stephen Halter
5c17bff55d
Don't throw on FIN from upgraded connections ( #2533 )
...
* Allow app to drain request buffer after FIN
2018-05-04 16:21:07 -07:00
Pavel Krymets
361caff1ad
Remove managed InProcess code ( #809 )
2018-05-03 17:18:33 -07:00
Stephen Halter
8b1fbad10e
Don't complete KestrelServer.StopAsync task inline ( #2534 )
2018-05-03 17:01:36 -07:00
Justin Kotalik
53cad943b3
Split ANCM into two dlls. ( #811 )
2018-05-03 13:49:31 -07:00
Justin Kotalik
fb08967c9f
Make Deployers handle ANCM V1 and V2 ( #1407 ) ( #1409 )
2018-05-03 13:49:21 -07:00
Hao Kung
f4f0821029
Merge release2.1 into dev
2018-05-03 13:25:01 -07:00
Hao Kung
89956df7ea
[Review] Updated migrations and scripts ( #484 )
...
* Update migrations
* Add regex for schema name and product version
* Fix ModelSnapshot product version
* Change version to 2.1.0
2018-05-03 13:22:26 -07:00
Jass Bagga
cb064b68c1
Merge branch 'release/2.1' into dev
2018-05-03 11:48:40 -07:00
Jass Bagga
99114c25a4
Adjust spacing in csproj files ( #492 )
...
Address #462 and fix build break
2018-05-03 11:40:39 -07:00
Justin Kotalik
10a4b84061
Revert "Make Deployers handle ANCM V1 and V2 ( #1407 )"
...
This reverts commit 52802d1afa .
2018-05-02 14:58:53 -07:00
Justin Kotalik
52802d1afa
Make Deployers handle ANCM V1 and V2 ( #1407 )
2018-05-02 09:13:32 -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
Nate McMaster
e0e9eb0b36
Add pre-generated shims to dotnet tool packages
2018-05-01 16:57:36 -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
Chris Ross (ASP.NET)
bfc12fd6ac
Merge branch 'release/2.1' into dev
2018-05-01 14:09:36 -07:00
Chris Ross (ASP.NET)
2c1376c95f
Add a AddHostedService extension #1402
2018-05-01 14:07:24 -07:00
Kiran Challa
8ce82e7512
Merge branch 'release/2.1' into dev
2018-05-01 13:36:27 -07:00
Kiran Challa
601f41026a
Updated icon for RazorClassLibrary
2018-05-01 13:34:51 -07:00
Chris Ross (ASP.NET)
1717b97444
Run self-host tests with no-build. #1399
2018-05-01 12:22:36 -07:00
David Fowler
b23d9b7679
Decouple connection objects from the server ( #2535 )
...
- Making progress towards being able to use the connection objects on the client side.
2018-05-01 12:01:24 -07:00
Justin Kotalik
c72df2865c
Check existence of ANCMV2 Path ( #1397 )
2018-05-01 10:05:07 -07:00
Alexey Malinin
a2cb92b358
Code improvements of JwtBearer module ( #1742 )
...
* Use pattern matching to check exception type in JwtBearerHandler
* Use expression body to configure events in JwtBearerHandler
2018-05-01 09:22:27 -07:00
Pavel Krymets
2f2a0047a1
React to pool cleanup ( #2526 )
2018-04-30 08:37:15 -07:00
Chris Ross (ASP.NET)
9d82942a1a
Run self-host tests with no-build. #1399
2018-04-25 14:10:00 -07:00
Pavel Krymets
6f2f496c3d
React to splitting memory pool ( #2521 )
2018-04-24 14:11:47 -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
Stephen Halter
b0e1fa5e30
Fix connection abort
2018-04-23 17:01:49 -07:00
Nate McMaster
122b07bb1c
Attempt to fix tests when building in ProdCon
2018-04-21 08:14:28 -07:00
Nate McMaster
0f131ac245
Disambiguate /p from -p on dotnet-run
2018-04-21 08:13:29 -07:00
Nate McMaster
ed7e6db79e
Attempt to fix more failing tests in prodcon builds
2018-04-21 08:01:30 -07:00
Ajay Bhargav Baaskaran
aa181128ac
Generate symbol nupkgs for tools
2018-04-20 15:10:03 -07:00
pan-wang
1f4473f96d
fixing x86 build issue ( #786 )
...
fixing issue #780
2018-04-20 13:48:10 -07:00
John Luo
cb3581869b
Merge branch 'release/2.1' into dev
2018-04-20 11:42:22 -07:00
Chris Ross (ASP.NET)
d69798d2c1
Clean up pipes usage in TestHost
2018-04-20 10:39:50 -07:00
Steve Sanderson
2fd05bb65a
Remove explicit dependencies on Microsoft.AspNetCore.SpaServices.Extensions now it's included in Microsoft.AspNetCore.App anyway
2018-04-20 11:55:09 +01:00
John Luo
a8c3615df4
React to implicit Microsoft.AspNetCore.App reference
2018-04-19 16:49:13 -07:00
Nate McMaster
53c25198fd
Revert "Produce the Microsoft.AspNetCore.AzureAppServices.SiteExtension package on normal builds ( #188 )"
...
This reverts commit 0921e5b60f .
2018-04-19 15:08:17 -07:00
Nate McMaster
78904e70c7
Merge branch 'release/2.1' into dev
2018-04-19 12:31:47 -07:00
Nate McMaster
30928ba944
Disable implicit package version verification when --no-restore is used
...
Workaround an error when building in ProdCon where the RuntimeFrameworkVersion is overridden externally. Generally, the error is good, but when --no-restore is specified, we are okay ignoring this verification.
2018-04-19 12:24:10 -07:00
Nate McMaster
0921e5b60f
Produce the Microsoft.AspNetCore.AzureAppServices.SiteExtension package on normal builds ( #188 )
2018-04-19 11:00:10 -07:00
Javier Calvarro Nelson
f70e83a317
Merge branch 'release/2.1' into dev
2018-04-19 09:46:08 -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
Mike Harder
55feeeab15
Add DeploymentParameters.Scheme property ( #1388 )
...
- Allows tests to use HTTPS with dynamic port "0"
2018-04-18 15:18:59 -07:00
pan-wang
341f6c4f30
reset some timeout values to infinite if debugger is attached ( #776 )
2018-04-18 14:04:55 -07:00
Mike Harder
970bc8a30d
Add TestUrlHelper class and GetAddress() extension method ( #1387 )
2018-04-18 14:04:16 -07:00
Jass Bagga
cbc4d0d19c
Merge branch 'release/2.1' into dev
2018-04-18 09:49:19 -07:00
Jass Bagga
13e746c289
Update THIRD-PARTY-NOTICES link and remove Package Management panel from carousel ( #474 )
...
Addresses #330 and #469
2018-04-18 09:42:27 -07:00
Mike Harder
0cc416f1f9
Change SelfHostDeployer to use dynamic ports by default ( #1383 )
...
* Should significantly reduce flaky test failures due to AddressInUse exceptions
* Addresses https://github.com/aspnet/Hosting/issues/1296
2018-04-17 14:01:33 -07:00
Javier Calvarro Nelson
e06b1fd690
[ Fixes #1242 ] Moves IStartupConfigureServicesFilter and IStartupConfigureContainerFilter interfaces to the internal namespace
2018-04-17 12:31:09 -07:00
Devin Garner
2e3a1071a8
Correct Twitter OAuth signing code & refactor copy/pasted code. #1695 ( #1720 )
2018-04-17 09:34:10 -07:00
Ryan Brandenburg
52c45f2204
Merge remote-tracking branch 'origin/release/2.1' into rybrande/MergeRelease21IntoDev
2018-04-16 15:15:38 -07:00
Ryan Brandenburg
c8d842c160
Merge remote-tracking branch 'origin/release/2.1' into rybrande/MergeRelease21IntoDev
2018-04-16 15:05:29 -07:00
Ryan Brandenburg
3c40b9efd2
Merge remote-tracking branch 'origin/release/2.1' into rybrande/MergeRelease21IntoDev
2018-04-16 14:24:13 -07:00
Stephen Halter
6fd09af374
Improve logging of request drain timeout ( #2480 )
2018-04-16 11:53:10 -07:00
Andrew Stanton-Nurse
3a45136cc4
make IConnectionInherentKeepAliveFeature a boolean feature ( #2496 )
2018-04-16 11:34:06 -07:00
Steve Sanderson
4d151a599e
Dynamically expand timeout when waiting for Angular CLI to be ready. Fixes #1611
2018-04-16 14:54:52 +01:00
Tadas Mazutis
78f7dccfab
Performance fix
...
- Usage of resolved loopback IP address instead of 'localhost'
Addresses #1588
2018-04-16 14:45:16 +01:00
Ben Adams
e30a02cee5
Less StringValue struct copies for header checks ( #2488 )
2018-04-13 18:21:50 -07:00
Pranav K
898b8cec84
Prepare for RazorAssemblyAttribute -> RazorTargetAssemblyAttribute rename
2018-04-13 16:13:44 -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
John Luo
2d51d23697
Add file logging to functional tests
2018-04-13 14:53:57 -07:00
Jass Bagga
a9c7c322cb
Add "webapp" alias to RazorPages template.json ( #467 )
...
Addresses #325
2018-04-13 14:01:20 -07:00
Jass Bagga
5d52701cd2
Add Error razor page to Spa templates ( #464 )
...
Addresses #332
2018-04-13 11:11:01 -07:00
David Fowler
a8c0970cde
Check for non-null RequestServices ( #1378 )
2018-04-13 09:45:38 -07:00
Kiran Challa
f824751bb9
Added Razor class library project template
...
[Fixes #323 ] Add a Razor class library project template
2018-04-13 04:21:49 -07:00
Stephen Halter
10f3b6863e
Avoid nullref in KestrelEventSource ( #2483 )
...
* Avoid nullref in KestrelEventSource
* Improve HostNameIsReachableAttribute to speed up test discovery
2018-04-12 17:29:34 -07:00
Justin Kotalik
4188d2fe68
sttimer changes to V2 ( #773 )
2018-04-12 17:11:38 -07:00
Justin Kotalik
5fd1f9e0e5
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-04-12 16:33:29 -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
Chris Ross (ASP.NET)
4e1ba2a6c7
Delay process exit in ConsoleLifetime #1329
2018-04-12 10:07:44 -07:00
Chris Ross (ASP.NET)
ee12c4fcf2
Downgrade HTTPs handshake failures to debug #1853
2018-04-12 09:25:44 -07:00
Chris Ross (ASP.NET)
c6fa9793eb
Make Protocols internal
2018-04-12 08:53:27 -07:00
Kiran Challa
4184b2406d
Updated to make routing always use UrlEncoder.Default and not depend on DI to get it.
...
[Fixes #513 ] RedirectToAction with Non-English Characters in Parameters and Authentication Causes Error
2018-04-12 05:15:45 -07:00
David Fowler
ca44b4adfc
Moved kestrel specific features into transport abstractions ( #2482 )
2018-04-11 20:23:48 -07:00
David Fowler
f6b2880369
Flow the ConnectionContext to the SNI callback ( #2478 )
2018-04-11 15:56:25 -07:00
Jass Bagga
c3ac7629d1
WebAPI launchUrl; MVC _LoginPartial; F# AllowedHosts ( #463 )
...
Addresses #455 , #392 , #445
2018-04-11 15:01:32 -07:00
Sébastien Ros
e8bb88cb58
Fixing typo ( #2477 )
2018-04-11 14:27:53 -07:00
Chris Ross (ASP.NET)
0b5cb8a8b8
Reload HostFilteringOptions on change
2018-04-11 12:23:14 -07:00
Nate McMaster
b7b6bd9533
React to updates in dependencies and removal of System.Runtime.CompilerServices.Unsafe from netcoreapp ( #429 )
2018-04-11 09:59:22 -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
FabianMeiswinkel
bec259f976
#364 - Expose HTTP_503_RESPONSE_VERBOSITY option ( #447 )
2018-04-10 12:08:33 -07:00
Pavel Krymets
6629236a0e
Merge pull request #767 from aspnet/pakrym/perf
...
Improve performance
2018-04-10 12:07:26 -07:00
Jass Bagga
da32f45f58
Do not set sslPort if HTTPS not configured ( #458 )
...
Addresses #457
2018-04-10 12:02:10 -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
Kristian Hellang
6b18dea711
Replace Constants.CompletedTask with Task.CompletedTask ( #235 )
2018-04-10 08:58:39 -07:00
Kristian Hellang
61f7c82d49
Replace Helpers.CompletedTask and Helpers.CanceledTask ( #446 )
2018-04-10 08:57:25 -07:00
Pavel Krymets
80e799d17c
PR comments
2018-04-10 08:30:37 -07:00
David Fowler
b030ab7e49
Update Connections.Abstractions.csproj ( #2473 )
2018-04-09 17:55:14 -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
David Fowler
4760cce6aa
Remove IConnection ( #2472 )
2018-04-07 18:55:59 -07:00
Nate Barbettini
a6bdb9b1ec
Fix typos in code documentation ( #1012 )
...
* Fix typos in code documentation
* Add missing detail to code documentation
2018-04-06 08:09:48 -07:00
Justin Kotalik
47c7c1ad8f
Disable global loading of RequestHandler for in-process ( #732 )
2018-04-05 10:36:15 -07:00
Jass Bagga
4236f0e51c
Fix AllowedHosts configuration ( #452 )
...
Addresses #451
2018-04-05 10:08:40 -07:00
Phil Henning
8a368b5610
Add supportedAuthentication for NoAuth in templates which have NoAuth ( #443 )
...
* Add supportedAuthentication for NoAuth in templates which have NoAuth
This is to work around an issue in Visual Studio
* Remove spurious ,
* Add supportedAuthentications to F# Web API vs-2017.3.host.json
2018-04-04 18:10:04 -07:00
Chris Ross (ASP.NET)
2ee0d6e337
Delay loading the dev cert #2422
2018-04-04 14:54:27 -07:00
Chris Ross (ASP.NET)
953496a970
Merge branch 'release/2.1' into dev
2018-04-04 13:44:56 -07:00
Chris Ross (ASP.NET)
9ea2c50068
Add SNI support #2357
2018-04-04 12:49:29 -07:00
Andrei Amialchenia
70ce044778
Corrects spelling of some comments ( #2461 )
2018-04-03 15:55:17 -07:00
Jass Bagga
52ffc89fef
Remove duplicated UseHttpsRedirection ( #437 )
...
Addresses #436
2018-04-03 14:02:52 -07:00
Pavel Krymets
81bf9fb66b
Merge release/2.1 into dev ( #421 )
2018-04-03 10:45:34 -07:00
Pavel Krymets
ba06c58bcb
Merge release/2.1 into dev ( #2460 )
2018-04-03 10:45:31 -07:00
Pranav K
6ee08a985d
React to Mvc changes
2018-04-03 10:11:52 -07:00
Pavel Krymets
5210323385
Merge release/2.1 into dev
2018-04-03 10:11:36 -07:00
Stephen Halter
623c27ab01
Dispose SocketAsyncEventArgs when we dispose the Socket ( #2459 )
2018-04-02 19:48:17 -07:00
Pavel Krymets
ba2b883db0
Reaction to *Memory changes ( #2446 )
2018-04-02 16:44:13 -07:00
Jass Bagga
f52359d202
Update AJAX CDN links ( #430 )
2018-04-02 16:25:24 -07:00
David Fowler
6b183c5ac0
Use 4K as the minimum segment size ( #2452 )
...
- This normalizes the behavior for kestrel no matter what memory pool implementation is used. The transports should behave the same (ask for 1/2 full blocks) across pool implementations.
- Declare the minimum segment size in KestrelMemoryPool
- Updated the AdaptedPipeline to use MinimumSegmentSize / 2
2018-04-02 16:14:40 -07:00
Justin Kotalik
6e957e436a
Support inprocess hosting in IISExpressDeployer via switching the HostingModel property. ( #1368 )
2018-04-02 12:01:53 -07:00
Nate McMaster
6d4a632b96
Fix race condition in test code waiting for dotnet-watch to restart
2018-04-02 10:10:57 -07:00
Jass Bagga
56fc40dbca
Revert "Revert "Update jquery-validation-unobtrusive ( #421 )"" ( #426 )
...
This reverts commit e6112a0911 .
2018-04-01 23:29:52 -07:00
David Fowler
a37fa83aee
Fixed a parser bug found when trying out the array pool ( #2450 )
...
- When using the array pool, we get terrible block density and as a result
the header parser was failing.
- This fixes the case where the parser needed to skip 2 blocks at the end
(which is unrealistic). Comparing the current index to the reader index is incorrect
since we may end up at the same index in another segment.
2018-04-01 00:04:02 -07:00
Pavel Krymets
a76d51c46b
Revert "Update jquery-validation-unobtrusive ( #421 )"
...
This reverts commit ac9addabcc .
2018-03-31 16:24:07 -07:00
David Fowler
7382198356
Copy connection middleware when using ListenLocalHost ( #2447 )
...
- Connection middleware got removed during Clone when using ListenLocalhost
2018-03-31 07:29:35 -07:00
Pavel Krymets
6ca61a8fc7
Merge release/2.1 to dev
2018-03-30 16:33:44 -07:00
Andrew Stanton-Nurse
2c2a8dae01
Merge pull request #2445 from aspnet/release/2.1
...
Add IConnection to Connections.Abstractions (#2444 )
2018-03-30 15:21:48 -07:00
David Fowler
67cb8a0e11
Add IConnection to Connections.Abstractions ( #2444 )
2018-03-30 15:20:31 -07:00
Jass Bagga
ac9addabcc
Update jquery-validation-unobtrusive ( #421 )
...
Addresses #15
2018-03-30 15:04:50 -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
Jass Bagga
cb7942abe4
Add no-https option for all templates ( #413 )
...
Addresses #322
2018-03-29 13:59:47 -07:00
Jass Bagga
aca30fe8a2
--no-https option for RazorPagesWeb-CSharp template ( #362 )
2018-03-29 13:49:20 -07:00
Javier Calvarro Nelson
ecafbe7f7a
[ Fixes #11 ] Add functional tests for the libraries
2018-03-27 21:33:13 -07:00
Chris Ross (ASP.NET)
f25f411b68
Add HostFiltering configuration to templates
2018-03-27 12:13:24 -07:00
Pranav K
ade5ae534d
Set DebugType=full for .NET Framework projects
2018-03-27 08:59:54 -07:00
David Fowler
46ab09ca36
Merge branch 'release/2.1' into dev
2018-03-27 02:08:35 -07:00
David Fowler
be04ccac6e
Move DuplexPipe into Kestrel.Core as internal ( #2428 )
2018-03-27 02:02:15 -07:00
Javier Calvarro Nelson
a8246e2a99
[ Fixes #327 ] Replace AAD template code with packages
...
* Add Microsoft.AspNetCore.Authentication.AzureAD.UI package.
* Add Microsoft.AspNetCore.Authentication.AzureADB2C.UI package.
* Remove AccountController.
* Remove Pages/Views related to authentication.
2018-03-26 20:37:46 -07:00
Pranav K
804eeede11
Use the correct application part factory by default
...
Fixes https://github.com/aspnet/Mvc/issues/7543
2018-03-26 16:40:45 -07:00
Tornhoof
e80d0b000a
Make BufferedReadString public and add doc ( #1011 )
2018-03-26 16:03:16 -07:00
Stephen Halter
68ff406862
Merge branch 'release/2.1' into dev
2018-03-26 14:51:21 -07:00
Hao Kung
e1cb3f25ac
Switch to AddDefaultIdentity
2018-03-26 12:18:01 -07:00
Stephen Halter
a1de323ff4
Make LibuvTransport(Factory) pubternal ( #2426 )
2018-03-26 11:39:51 -07:00
David Fowler
f0629dcbe4
Merge branch 'release/2.1' into dev
2018-03-24 03:14:59 -07:00
David Fowler
6701339835
Expose DefaultConnectionContext POCO ( #2421 )
...
- Made TransportConnecton derive from ConnectionContext
- Less objects, less opinions about what the ConnectionContext is. This diverges from what we do with HttpContext but it seems better overall.
- Made DefaultConnectionContext
- Usable for unit testing
- Usable for benchmarking
2018-03-24 03:12:53 -07:00
Nate McMaster
7e13e83348
Remove PackageArtifactCategory
2018-03-23 16:34:43 -07:00
John Luo
2dc1858f90
Merge branch 'release/2.1' into dev
2018-03-23 16:02:42 -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
Chris Ross (ASP.NET)
0e7f12bfb3
Add HostFiltering to the default web host
2018-03-23 14:41:22 -07:00
John Luo
ec184bc361
Build runtime specific metapackages
2018-03-23 13:40:27 -07:00
John Luo
63fd1e1a4d
Re-enable api check
...
- Disable api check for Transport.Libuv due to breaking change
- Add empty baseline files for unreleased packages
2018-03-23 12:55:06 -07:00
Javier Calvarro Nelson
f49270d9d6
Add Azure AD package + tests
2018-03-23 12:25:17 -07:00
John Luo
e3894a4609
Remove EF.Tools reference
2018-03-23 12:09:46 -07:00
Chris Ross (ASP.NET)
05d1a6eb0e
Refactor Generic Host lifetimes to work better with ServiceBase #1347
2018-03-23 12:02:44 -07:00
Chris Ross (ASP.NET)
49b447d626
Merge branch 'release/2.1' into dev
2018-03-23 09:19:06 -07:00
Chris Ross (ASP.NET)
3d9a19d865
Merge branch 'release/2.1' into dev
...
# Conflicts:
# build/dependencies.props
# korebuild-lock.txt
2018-03-23 09:16:55 -07:00
Patrick Westerhoff
72210e4078
Add AuthenticationProperties.Parameters ( #1008 )
...
Add a `Parameters` bag to the authentication properties that allow
passing arbitrary parameters to an authentication handler. These values
are not intended for serialization of persistence, only for flowing data
between call sites.
Also make existing `Items` collection helpers protected to allow them to
be reused in subclasses, make string-based helpers public as a public
way to work with the collection, and add helper methods to interact with
the `Parameters` dictionary.
2018-03-23 09:13:02 -07:00
David Fowler
0753f4b4f4
Merged release/2.1
2018-03-22 21:56:29 -07:00
David Fowler
abdcb47b8f
Renames from API review ( #2413 )
...
* Renames from API review
- Rename Microsoft.AspNetCore.Protocols.Abstractions to Microsoft.AspNetCore.Connections.Abstractions.
- Renamed IConnectionHandler to IConnectionDispatcher (and related properties and types)
- Added ConnectionHandler and UseConnectionHandler extension method to Connections.Abstractions.
- Use ActivatorUtilties to create the ConnectionHandler
2018-03-22 21:38:14 -07:00
Javier Calvarro Nelson
8f42ce8492
Application parts cleanups
2018-03-22 20:13:10 -07:00
Ajay Bhargav Baaskaran
77200410d6
Updated Razor views
2018-03-22 19:17:31 -07:00
Patrick Westerhoff
06c93669d6
Allow overwriting parameters on challenge requests
...
Add a way to overwrite query arguments that are passed as part of the
challenge request to the external authentication provider in OAuth-based
authentication providers, including OpenID Connect.
This uses the new `AuthenticationProperties.Parameters` collection to
pass parameters to the authentication handler which will then look for
special items within that property bag, overwriting previously
configured values within the authentication options.
This can be used for example to overwrite the OAuth scopes that are
requested from an authentication provider, or to explicitly trigger a
reauthentication by requiring a login prompt with OpenID Connect. By
being able to specify this on individual challenge requests (using
`HttpContext.ChallengeAsync`), this is independent from the global
scheme configuration.
Custom ~ChallengeProperties types, e.g. `OAuthChallengeProperties` for
OAuth-based authentication providers, provide assistance in setting the
challenge request parameters but are not required to make the handlers
use the overwritten values.
- Adjust authentication handlers to respect the custom parameters, and
add ~ChallengeProperties types.
- Introduce `OAuthHandler.FormatScope(IEnumerable<string>)` to format a
custom set of scopes. Subclasses requiring a different scope format
should override this method instead of the parameterless overload.
Overriding just `FormatScope()` will prevent handlers from supporting
overwriting the OAuth `scope` in a challenge request.
- Refactor GoogleHandler to support parameterization through both the
`Parameters` and the `Items` collection (former is preferred) to keep
compatibility with the old behavior.
- Add an OpenIdConnect sample to overwrite the prompt argument in a
challenge request.
- Add extensive tests.
2018-03-23 02:09:05 +01:00
Jass Bagga
4acda9dd9b
Set userBrowserLink to false for VS host file ( #395 )
...
Addresses #394
2018-03-22 17:04:09 -07:00
Pavel Krymets
ed801f0e88
Do not return 200 for exceptions
2018-03-22 16:43:11 -07:00
Javier Calvarro Nelson
9e61d6bd98
Update application parts implementation
2018-03-22 14:31:21 -07:00
Javier Calvarro Nelson
de86071b2c
React to changes in Virtual schemes
2018-03-22 13:39:45 -07:00
Javier Calvarro Nelson
af05248042
[ Fixes #4 ] Adds an Azure Active Directory B2C package
...
* Adds extension methods to configure Azure Active Directory B2C
authentication for Web applications and APIs.
* Adds all the supporting controllers/pages to support handling UI
flows.
* Adds a sample using B2C to authenticate in a web application.
2018-03-22 13:22:13 -07:00
Justin Kotalik
f1058f8575
Cleanup ReadAsync calls, make IISHttpContext private ( #696 )
2018-03-22 11:13:06 -07:00
Jass Bagga
b24e3b2e78
Use applicationUrl instead of ASPNETCORE_URLS ( #390 )
...
Addresses #328
2018-03-22 10:32:20 -07:00
Nate McMaster
12abcd2f68
Merge branch 'release/2.1' into dev
2018-03-21 22:16:12 -07:00
Nate McMaster
54e538dcb5
Remove dotnet tool install from instructions on using dotnet-dev-certs
2018-03-21 22:10:48 -07:00
Nate McMaster
899a298534
Fix package metadata to match default settings for aspnetcore ( #389 )
2018-03-21 18:10:31 -07:00
Nate McMaster
d61d723cba
Update package metadata to include commit hash ( #713 )
2018-03-21 17:42:18 -07:00
Chris Ross (ASP.NET)
90064ce9df
Add ClaimActions for bulk add and remove. #1609
2018-03-21 16:35:37 -07:00
Ryan Brandenburg
1bac12716d
Updating baselines
2018-03-21 15:32:09 -07:00
Ryan Brandenburg
c8f5b2e3ae
Set 2.0 baselines
2018-03-21 15:20:30 -07:00
Ryan Brandenburg
bb52bcf11b
Set 2.0 baselines
2018-03-21 14:54:59 -07:00
pan-wang
ffeebfc8b9
support shutdown timeout for inprocess application ( #703 )
2018-03-21 13:37:26 -07:00
Ryan Brandenburg
46e62b2b67
Set 2.0 baselines
2018-03-21 11:46:17 -07:00
Chris Ross (ASP.NET)
e5cffe685b
Do not rely on the implicit StringValues to array converter.
2018-03-21 09:42:20 -07:00
David Fowler
5748898fc4
Make the RequestServicesContainerMiddleware thinner ( #1360 ) ( #1362 )
...
- Today the request services middleware is responsible for making sure there are request scoped services.
This PR tries introduces some breaking changes that are hopefully acceptable in order to gain some performance.
- Here are the assumptions this PR makes:
- Since this middleware is first in the pipeline, the only thing that can
set a default service provider would be the server itself. Since we have no servers that do that
I removed that code that tries to noop if there's an existing service provider.
- This PR no longer restores the previous service provider feature since it gets replaced every request
anyways. Kestrel also clears out the feature on each request so it shouldn't be a problem (in theory).
Once again, since this middleware is first, it is the last thing that runs before the server re-gains
control on the way out so there's no need to restore anything.
- We use the RegisterForDispose method to dispose of the IServiceProvider instead of doing it inline.
2018-03-21 08:58:03 -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
Jass Bagga
586c4ff780
Move layout and partial script to Shared dir ( #368 )
...
Addresses #340
2018-03-20 15:17:50 -07:00
Ryan Brandenburg
f38ebee489
Set 2.0 baselines
2018-03-20 14:46:34 -07:00
Ryan Brandenburg
7dd0424825
Set 2.0 baselines
2018-03-20 14:44:10 -07:00
Kiran Challa
69f52cc3b6
Removing Microsoft.AspNetCore.SpaTemplates project and friends
2018-03-20 13:46:11 -07:00
Ryan Brandenburg
424c0b0209
Set 2.0 baselines
2018-03-20 11:50:45 -07:00
Ryan Brandenburg
f91db5b794
Set 2.0 baselines
2018-03-20 11:49:29 -07:00
Ryan Brandenburg
07db6cc038
Set 2.0 baselines
2018-03-20 11:48:38 -07:00
Jass Bagga
f786df9dc9
Use partial tag helper ( #375 )
...
Addresses #338
2018-03-20 10:36:08 -07:00
Pavel Krymets
f1d8ca3045
Add CommitHash to file info ( #700 )
2018-03-20 09:20:37 -07:00
Stephen Halter
5fa658c800
Never run continuation inline in SocketAwaitable.OnCompleted ( #2407 )
2018-03-19 17:29:49 -07:00
Jass Bagga
cbdc7bd3b8
Remove tools references and explicit EF.Design reference ( #370 )
...
Addresses #99 and #357
2018-03-19 16:27:54 -07:00
Kiran Challa
fa8fcc9a62
Made wwwroot 'copyOnly' to avoid modifications in it's files
2018-03-19 16:15:34 -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
3edca24004
Set 2.0 baselines
2018-03-19 13:43:59 -07:00
Jass Bagga
79b4cafe68
Remove BOM from json files ( #369 )
...
Addresses #276
2018-03-19 10:11:00 -07:00
Ryan Brandenburg
5e9dd7a5fc
Set 2.0 baselines
2018-03-19 10:10:50 -07:00
Ryan Brandenburg
dc07aba935
Set 2.0 baselines
2018-03-19 09:27:10 -07:00
Ryan Brandenburg
7c50704c69
Set 2.0 baselines
2018-03-19 09:26:55 -07:00
richardhopton
f6f89554c9
Fix trimming line if CR not directly before LF ( #1006 )
...
If the line contains a CR in any location than directly before the LF it would detect a valid line and then trim 2 characters from the end of the line, losing a "real" character.
2018-03-19 09:09:57 -07:00