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
Pranav K
a5ddfc1f21
Fix build break (part 2)
2017-05-25 09:15:59 -07:00
Pranav K
452578e4a8
Revisit the architecture of CompilerCache
...
Fixes #5912
2017-05-25 08:54:15 -07:00
Pranav K
9559c454cd
Fixing build break
2017-05-25 08:18:28 -07:00
Steve Sanderson
75fd215b1a
Change Microsoft.DotNet.Web.Spa.ProjectTemplates to use 1.0.0-preview-* version numbers since the first release will be 1.0.0
2017-05-25 13:06:42 +01:00
Steve Sanderson
38997c3f3f
Pad build numbers so that alpha-sort produces correct ordering
2017-05-25 12:22:48 +01:00
Steve Sanderson
bee4c6ff11
Stop "dotnet new" from stripping out important parts of .csproj files
2017-05-25 12:08:10 +01:00
Steve Sanderson
cc859306a3
Make template package version numbers more descriptive
2017-05-25 12:08:09 +01:00
Steve Sanderson
44512226c6
Stop including prebuilt .js bundles with template packages, since they are now generated on first build
2017-05-25 12:08:09 +01:00
Steve Sanderson
a2bde750be
Make templates auto-run webpack on Debug build if wwwroot/dist is not already present
2017-05-25 12:08:09 +01:00
Chris R
30392a1811
Retarget to netstandard2.0 and net461
2017-05-24 19:04:48 -07:00
Chris R
3963a6aa52
#125 Add HostingStartup packages to .All
2017-05-24 18:47:32 -07:00
Andrew Stanton-Nurse
06028e81c7
fix build by adding OutputType exe to test project ( #179 )
2017-05-24 18:20:46 -07:00
Ryan Nowak
c1dd95be2a
Add a test for #6294
...
This case was fixed by 2992f8e - this commit just adds a test to verify
the fix.
2017-05-24 16:53:30 -07:00