Commit Graph

43822 Commits

Author SHA1 Message Date
Kiran Challa 46dd25fcac Updated to use the latest shared runtime 2017-05-26 12:40:38 -07:00
Kiran Challa 57647bff2e Updated to use the latest shared runtime 2017-05-26 12:40:28 -07:00
Kiran Challa 85d712251d Updated to use the latest shared runtime 2017-05-26 12:39:37 -07:00
Kiran Challa bd921bf96d Updated to use the latest shared runtime 2017-05-26 12:39:26 -07:00
Kiran Challa 9ef496fe5b Updated to use the latest shared runtime 2017-05-26 12:39:04 -07:00
Kiran Challa 6d3ce16da9 Updated to use the latest shared runtime 2017-05-26 12:38:52 -07:00
Kiran Challa aae6b44900 Updated to use the latest shared runtime 2017-05-26 12:37:59 -07:00
Kiran Challa 0ab3f1e94f Updated to use the latest shared runtime 2017-05-26 12:36:36 -07:00
Ajay Bhargav Baaskaran 2f03a39e41 Refactored attribute values IR 2017-05-26 12:34:34 -07:00
Ryan Nowak 688e518991 Add result filters to pages 2017-05-26 12:33:46 -07:00
Ryan Nowak 84e007a2a7 Move exception and result filters in base 2017-05-26 12:33:46 -07:00
Ryan Nowak e7bd6cfc06 Refactor invoker tests for reuse 2017-05-26 12:33:46 -07:00
N. Taylor Mullen dcccea3004 Add Checksum computation to RazorSourceDocument.
- Renamed many of our `RazorSourceDocument` abstractions to not include the word `Razor`.
- Added a `GetChecksum()` method to `RazorSourceDocument` to allow source documents to compute their own checksums.
- Re-generated codegen tests that did not normalize new lines. Ones that did re-generate newlines converted from stream => string => normalized string and then ran the Razor parser.
- Added tests to validate `GetChecksum` for all source document types.
- Removed unused `LegacySourceDocument`.
2017-05-26 12:29:36 -07:00
Ryan Nowak b7db6dbc8e Remove pass-through activator for pages
This change removes a 'pass through' IRazorPageActivator that we were
using to avoid the default one initializing the Page twice.

The fix is to add an adapter so that the IRazorPage that the RazorView has
isn't the *real* page, it's the adapter. The adapter doesn't have anything
interesting to activate :).
2017-05-26 12:29:10 -07:00
Nate McMaster c343628926 Implement max connection limits
- Added new options to allow configuring the maximum number of concurrent connections and upgraded connections.
- `KestrelServerLimits.MaxConcurrentConnections` defaults unlimited.
- `KestrelServerLimits.MaxConcurrentUpgradedConnections` defaults to unlimited.
- Calls to IHttpUpgradeFeature.UpgradeAsync() will throw when the MaxConcurrentUpgradedConnections limit has been reached.
- Kestrel will close new connections without response when MaxConcurrentConnections is reached.
2017-05-26 12:27:48 -07:00
John Luo c523839078 Update default settings for SameSite
- Need Lax policy for social authentication
- Need None policy for OIDC
2017-05-26 12:19:18 -07:00
N. Taylor Mullen 8c822a8e77 Move away from `Assembly.Load` to Assembly.LoadFile
- Fixes build break.
2017-05-26 12:18:49 -07:00
John Luo 1619166911 Update manifest names 2017-05-26 11:43:36 -07:00
Ryan Nowak c3f7613725 Make RazorReferenceManage public
Fix for #4938. This change makes the reference manager public and
documented so that it can be replaced.
2017-05-26 10:58:45 -07:00
John Luo 47ac4e5bf9 React to Hosting changes 2017-05-26 10:53:10 -07:00
John Luo 3b488c470a Make IHostedServiceAsync 2017-05-26 10:52:08 -07:00
Doug Bunting 9f4ff22c4a React to breaking change latest API Check detects
- see PR aspnet/BuildTools#259 and issue aspnet/BuildTools#146
- relates to 014a786b45
2017-05-26 09:53:46 -07:00
Doug Bunting 5b9e129abb React to breaking change latest API Check detects
- see PR aspnet/BuildTools#259 and issue aspnet/BuildTools#146
2017-05-26 09:51:56 -07:00
Nate McMaster 75ba58bac2 Re-add some code that was removed during TFM churn 2017-05-26 09:51:38 -07:00
Arthur Vickers adee238e8f Remove ignored Include call. 2017-05-26 09:42:31 -07:00
Pawel Kadluczka cb9f44ddf6 Fixing WebSocketsTransport to handle exceptions correctly
Exceptions thrown when sending or receiving messages would leave the
WebSockets transport in a half-closed state when one of the loops is
closed but the other one is still running preventing from the
Connection.Closed event to be fired.

Fixes: #412
2017-05-26 07:58:44 -07:00
Hao Kung 348cdf9da9 Fix sln 2017-05-25 23:31:09 -07:00
Hao Kung fbf7e1fb72 Add auth reference 2017-05-25 21:56:28 -07:00
Hao Kung 298776c48c Remove unpushed new identity packages 2017-05-25 21:12:19 -07:00
Ryan Nowak ad6b029443 Temporarily disable MVC functional tests on net461 2017-05-25 21:10:01 -07:00
Hao Kung 0b41dd1289 Disable api check to unblock build 2017-05-25 20:25:04 -07:00
Hao Kung d387e6b560 Fix package reference 2017-05-25 19:54:00 -07:00
bchavez 8682cc74c8 Fixes #1098. Allows derived types of UserClaimsPrincipalFactory to return their own ClaimsPrincipals. 2017-05-25 18:40:47 -07:00
Hao Kung 34e7a8df27 Switch to new default config options support 2017-05-25 18:39:55 -07:00
Hao Kung 273b25fb3a React to forbid changes 2017-05-25 18:37:27 -07:00
Hao Kung e3cae98a05 Add new packages 2017-05-25 18:33:54 -07:00
Hao Kung e940cdb36b AuthZ 2.0 changes + react to Http 2017-05-25 18:29:19 -07:00
Hao Kung b1f92fb6bc Forbid + obsolete context.Authentication 2017-05-25 18:26:36 -07:00
Hao Kung 67bb0bd4ba React to Auth 2017-05-25 18:24:38 -07:00
Hao Kung 4c2d727e38 React to Auth + switch to Policy Evaluator 2017-05-25 18:23:41 -07:00
Hao Kung 42739b064f React to Auth + switch to PolicyEvaluator 2017-05-25 18:22:51 -07:00
Hao Kung d78e986bcf React to HttpAbstractions changes 2017-05-25 18:19:52 -07:00
Jass Bagga 7bd98f5cf9 Update TFM to netstandard2.0 (#53) 2017-05-25 17:12:10 -07:00
Cesar Blum Silveira 009759c7f6 Fix broken microbenchmarks (#1861). 2017-05-25 16:01:17 -07:00
N. Taylor Mullen d917311883 Make ViewComponentTagHelper's bound attribute display names nicer.
- Went from `typeName __Generated__SomeViewComponentTagHelper.PropertyName` to `typeName SomeViewComponentTagHelper.PropertyName`.
- Updated `TagHelperBoundDescriptorBuilder` to allow setting of `DisplayName`.
- Added `TagHelperBoundAttributeDescriptorBuilderTest` class to verify new `DisplayName` additions.
- Updated `ViewComponentTagHelperDescriptorFactoryTest` expectations.

#1251
2017-05-25 15:57:51 -07:00
Ajay Bhargav Baaskaran cdddaefa81 Fixed a bug in VCTH pass and added an integration test 2017-05-25 15:44:24 -07:00
Pranav K bb5eb96625 Load the precompilation type from the loaded assembly 2017-05-25 15:00:12 -07:00
Ryan Brandenburg 9ea37a1bbb Fix TFM build breaks 2017-05-25 13:12:39 -07:00
Ryan Brandenburg 03404cd3df Return to NetStandard 2017-05-25 10:34:16 -07:00
Pranav K ab64769c59 Fix compilation failure 2017-05-25 10:18:59 -07:00