David Fowler
547ad80a27
Don't update consumed if we didn't see a new line ( #1592 )
...
* Don't update consumed if we didn't see a new line
- The start line parser incorrectly updated the consumed cursor
when it attempted to find new lines across buffers. This change fixes
that and also removes passing the span by reference (which will be illegal).
- Added a unit test
2017-04-02 00:03:06 -07:00
Hisham Bin Ateya
fe3d45fad1
Adding AllowAnonymousToPage & AllowAnonymousToFolder
...
Fixes #5884
2017-03-31 20:17:31 -07:00
Nate McMaster
83958886cc
Implement IHttpRequestIdentifierFeature on Frame
...
This feature generates a unique ID per request. This unique ID can be
used in event source and logging.
Also, this change improves KestrelEventSource by moving it back into the
Kestrel.Core assembly and de-coupling from the Libuv transport. This
adds two new events, RequestStart and RequestStop, which can be used to
identify the correlation between connection ID and request trace
identifier.
2017-03-31 16:54:35 -07:00
Ajay Bhargav Baaskaran
660db5b733
Merge branch 'ajbaaska/writer' into dev
2017-03-31 16:30:11 -07:00
Ajay Bhargav Baaskaran
da1e4130d2
Moved from Renderer to Writer
2017-03-31 16:25:07 -07:00
Doug Bunting
2cabd589ac
Add more `ExpressionHelper` tests
...
- #5792
2017-03-31 15:22:29 -07:00
Ajay Bhargav Baaskaran
a74cda4402
Setting TokenKind for RazorIRToken
2017-03-31 14:52:10 -07:00
Pranav K
a784265747
Search more places for MSBuild
2017-03-31 14:37:50 -07:00
Pranav K
468c090272
Update vsix metadata
2017-03-31 14:37:50 -07:00
Andrew Stanton-Nurse
915e984f32
increase timeout for remote deployer ( #1001 )
...
Turns out it takes a while to deploy to nano server
2017-03-31 14:34:14 -07:00
moozzyk
d9faf17f5c
* Fixing a racey test
...
* Fixing a misplaced test file
2017-03-31 13:54:46 -07:00
Andrew Stanton-Nurse
581e207e0f
fix build
2017-03-31 13:34:46 -07:00
Andrew Stanton-Nurse
049ee03d22
react to aspnet/Hosting#996 ( #769 )
2017-03-31 13:30:20 -07:00
Andrew Stanton-Nurse
676590eb32
react to aspnet/Hosting#996 ( #349 )
2017-03-31 13:22:51 -07:00
Andrew Stanton-Nurse
9b598201ff
react to aspnet/Hosting#996 ( #67 )
2017-03-31 13:22:09 -07:00
Kiran Challa
e25bfa8919
Skipping model validation tests temporarily to unblock mirror
...
- A fix was already checked in f3d0e4d0dd but this did not make into the netcoreapp2.0 shared runtime
2017-03-31 12:38:10 -07:00
Chris R
975cfcb8ce
#16 Create a lightup package for Application Insights
2017-03-31 12:01:45 -07:00
Hao Kung
13925be91e
Initial Auth 2.0 checkin
2017-03-31 11:56:20 -07:00
N. Taylor Mullen
385531f11a
Workaround issues preventing tests from running in Visual Studio.
...
#1139
2017-03-31 11:20:10 -07:00
Ryan Nowak
951341f612
Add a comment for our cool workaround
2017-03-31 11:19:22 -07:00
Ryan Nowak
7904c7756d
Add a simple action selection benchmark
2017-03-31 11:19:22 -07:00
Ryan Nowak
7d4ccd9c58
Add benchmark project and boilerplate
2017-03-31 11:19:22 -07:00
Cesar Blum Silveira
6b9d54265f
Call ProduceEnd() before consuming request body if response has already started ( #1530 ).
2017-03-31 11:08:55 -07:00
Ajay Bhargav Baaskaran
bc347d736f
[ Fixes #964 ] Removed Content property from CSharpStatementIRNode
2017-03-31 10:52:53 -07:00
Ryan Nowak
0ab49f4977
Fix benchmarks on netcoreapp2.0
2017-03-31 10:39:55 -07:00
David Fowler
b4cec03f65
Update libuv package ( #1577 )
...
- The latest libuv package has a new linux RID that should
let us remove the work around with setting the RID
in the docker file and systemd service
2017-03-31 10:19:27 -07:00
Alexis Nowikowski
3d29b7854b
Bugfix issue #355 : Don't handle Invocation when no InvocationHandler … ( #356 )
...
- Don't handle Invocation when no InvocationHandler is present
2017-03-31 09:44:57 -07:00
Pranav K
209729332c
Add GetImportItems to RazorTemplateEngine
...
Fixes #1109
2017-03-31 07:48:34 -07:00
David Fowler
1bf9b057d4
Converted test projects to run on netcoreapp2.0
...
* Converted test projects to run on netcoreapp2.0
* Set DOTNET_RUNTME_ID because of an issue in corehost and RID calculation.
2017-03-31 02:58:18 -07:00
Steve Sanderson
d19150ed22
Fix comment typos in preceding commit
2017-03-31 10:36:53 +01:00
Steve Sanderson
4f351bd37c
Add support for media type suffixes ( #5273 , #6032 )
2017-03-31 10:20:43 +01:00
David Fowler
b0bd5475cd
More decoupling ( #1572 )
...
- Remove Libuv and Hosting dependency from Kestrel.Core
- Kestrel.Https and Kestrel.Core depend on Hosting.Abstractions
* wip
* Added separate ServerAddressesFeature
* Review feedback
- Added TlsConnectionFeature to Https
2017-03-30 20:14:50 -07:00
Andrew Stanton-Nurse
b4b671556a
fix nginx deployer ( #998 )
...
* fix nginx deployer
* pr feedback
2017-03-30 15:31:07 -07:00
Chris R
c3a01be904
#9 Add Lightup package and sample. Remove IISIntegration.
2017-03-30 11:54:47 -07:00
Andrew Stanton-Nurse
7774ed50fa
additional checks and logging for iisx shutdown ( #997 )
2017-03-30 11:48:24 -07:00
Ryan Brandenburg
300135969f
Fix build break
2017-03-30 11:23:53 -07:00
Hao Kung
5894b58e1a
Merge pull request #1152 from aspnet/FixTests
...
Remove call to Normlize() for now
2017-03-30 11:11:17 -07:00
John Luo
4cdc970055
Server addresses configuration enhancements
...
Add PreferHostingUrls to IServerAdressesFeature
Add extension to IWebHostBuilder to set this flag
2017-03-30 10:16:47 -07:00
Hao Kung
1ddc6b111a
Remove call to Normlize() for now
...
https://github.com/aspnet/Identity/issues/1149#issuecomment-290142263
Can bring it back once we are on 2.0
2017-03-30 10:00:30 -07:00
Andrew Stanton-Nurse
f15c99c980
more logging and more resiliant port selection ( #996 )
2017-03-30 09:46:50 -07:00
David Fowler
c3ad007b0d
Fixed regression caused by transport refactoring ( #1573 )
...
* Fixed regression caused by transport refactoring
- Libuv should not close the socket until it has started it. Before this was enforced
by calling ReadStart before starting the frame but the flow has changed. Now that closing the connection
is communicated via the pipe, we need to start consuming writes after calling ReadStart.
- Renamed OnSocketClosed to Close and moved dispose and logging into that method.
Fixes #1571
2017-03-30 09:33:28 -07:00
Cesar Blum Silveira
1be31ae2ce
Throw if UseUrls specifies HTTPS or path base ( #1519 ).
2017-03-29 20:23:51 -07:00
Cesar Blum Silveira
e64bffd25c
Remove deprecated property KestrelServerOptions.MaxRequestBufferSize ( #1027 ).
2017-03-29 20:15:08 -07:00
N. Taylor Mullen
dd9eab551d
Workaround tooling issue with runtime only TagHelpers.
...
- Prior to this if all instances of `TagHelper`s in an assembly had editor browsable never we'd log an error saying that no TagHelpers were found for that assembly. Until we can evaluate a better fix for this issue I've removed the logic that logs those errors and its corresponding tests/resources.
#1145
2017-03-29 16:56:05 -07:00
Ryan Brandenburg
c47825944d
Remove Microsoft.AspNetCore.Mvc.Razor.Host
2017-03-29 16:50:39 -07:00
Ajay Bhargav Baaskaran
5fca8da665
React to razor changes
2017-03-29 16:45:37 -07:00
Nate McMaster
6b6a8347cc
Add Connection as a primary request header
2017-03-29 16:40:50 -07:00
N. Taylor Mullen
fdea42624d
Fix UrlResolutionTagHelper tag helper inclusion.
...
- Also fixed test name to assert all defaultly included TagHelpers instead of just the UrlResolutionTagHelper
2017-03-29 16:30:28 -07:00
Jass Bagga
959324b337
Add EditorBrowsable attribute
2017-03-29 16:24:44 -07:00
Ryan Brandenburg
60a87829f8
Fix type name
2017-03-29 16:19:12 -07:00