Pavel Krymets
361caff1ad
Remove managed InProcess code ( #809 )
2018-05-03 17:18:33 -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
99114c25a4
Adjust spacing in csproj files ( #492 )
...
Address #462 and fix build break
2018-05-03 11:40:39 -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
Chris Ross (ASP.NET)
2c1376c95f
Add a AddHostedService extension #1402
2018-05-01 14:07:24 -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
Stephen Halter
b0e1fa5e30
Fix connection abort
2018-04-23 17:01:49 -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
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
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
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
Javier Calvarro Nelson
e06b1fd690
[ Fixes #1242 ] Moves IStartupConfigureServicesFilter and IStartupConfigureContainerFilter interfaces to the internal namespace
2018-04-17 12:31:09 -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
Justin Kotalik
cf4874997e
Heap allocate HTTP_DATA_CHUNK if the size of the response is too large. ( #683 )
2018-03-16 16:56:23 -07:00
Ryan Brandenburg
2fb65200ee
Set 2.0 baselines
2018-03-16 16:08:10 -07:00
Chris Ross
fbc5b64cd8
React to new SocketHttpHandler ( #434 )
2018-03-16 10:56:36 -07:00
Ryan Brandenburg
ca15b2fbf6
Set 2.0 baselines
2018-03-16 10:50:27 -07:00
Ryan Brandenburg
8553647ce8
Set 2.0 baselines
2018-03-16 10:50:18 -07:00
Ryan Brandenburg
3584e5f2ab
Set 2.0 baselines
2018-03-16 10:50:05 -07:00
Ryan Brandenburg
4cf0b5d033
Set 2.0 baselines
2018-03-16 10:49:52 -07:00
Justin Kotalik
5e74b36c53
Verify read/write buffers, use offset parameter when reading. ( #652 )
2018-03-16 10:11:20 -07:00
Justin Kotalik
8ff9ce70c9
Fixes spelling ( #679 )
2018-03-16 09:27:40 -07:00
Ben Adams
2527face16
Query EndPoints once during reset ( #2398 )
2018-03-15 23:55:51 -07:00
Javier Calvarro Nelson
acf7584d13
Reenable API Check
2018-03-15 21:44:34 -07:00
David Fowler
181dc0de24
React to pipelines changes
2018-03-15 16:58:53 -07:00
pan-wang
e5661a46b7
do cleanup inside inprocessapplication destrutor ( #676 )
2018-03-15 16:47:21 -07:00
pan-wang
8e54e792fb
do shutdown check before processing request ( #677 )
2018-03-15 16:46:50 -07:00
Pavel Krymets
3ef9dd1640
Fix http_stop_calls_into_managed typo ( #673 )
2018-03-15 15:59:57 -07:00
David Fowler
d31512528d
Items is now a first class property on ConnectionContext ( #2395 )
...
* Metadata is now a first class property on ConnectionContext
- Make IConnectionMetadata a manatory top level feature on ConnectionContext
- TransportConnection will lazily manifest ConnectionMetadata on first access.
This should avoid allocations since Kestrel isn't using this today.
2018-03-14 20:56:30 -07:00
pan-wang
9d064b24c7
enable debug print in aspnetcore.dll ( #663 )
2018-03-14 14:29:25 -07:00
Stephen Halter
9901f0f3e4
Default to the managed socket transport ( #2392 )
2018-03-14 11:50:10 -07:00
David Fowler
6de76c5e69
Respect the buffer size arguments on options ( #230 )
...
* Respect the buffer size arguments on options
- Allocate a buffer for receives and pass into CreateFromStream.
2018-03-14 08:48:45 -07:00
David Fowler
04eef791bc
Added transfer format to Protocol.Abstractions ( #2391 )
2018-03-14 08:16:38 -07:00
Ben Adams
e65e58daf3
Reduce Sockets mainloop Send/Receive statemachine size ( #2376 )
...
* Use Completion to Advance in Error
* Drop ReadResult from statemachine
2018-03-13 23:04:12 -07:00
David Fowler
572627e88c
Handle posting to the libuv thread after StopAsync ( #2388 )
...
- Check if the post handle is disposed and noop if it is.
We also catch an ObjectDisposedException because it's an inherent race condition.
2018-03-13 19:37:39 -07:00
Ben Adams
f6108928d8
Pass ReadOnlySequence via in ( #2389 )
...
* Pass ReadOnlySequence via in
2018-03-13 17:54:01 -07:00
Chris Ross (ASP.NET)
bfdb48717f
Host header format validation
2018-03-13 16:37:03 -07:00
Justin Kotalik
810c4bcb0a
Fix two AVs with InProcess ( #656 )
2018-03-13 16:07:55 -07:00
pan-wang
d246c6f201
add port info to event log ( #660 )
2018-03-13 16:06:01 -07:00
pan-wang
7a511d6a94
websocket handler changes ( #661 )
...
add debug logging and reset connection in case of failure
2018-03-13 16:05:32 -07:00
David Fowler
bcea8330c4
Clean up some left overs ( #2385 )
2018-03-13 14:10:06 -07:00