Commit Graph

17302 Commits

Author SHA1 Message Date
Kiran Challa 9ef496fe5b Updated to use the latest shared runtime 2017-05-26 12:39:04 -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 1619166911 Update manifest names 2017-05-26 11:43:36 -07:00
John Luo 3b488c470a Make IHostedServiceAsync 2017-05-26 10:52:08 -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
Hao Kung 298776c48c Remove unpushed new identity packages 2017-05-25 21:12:19 -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 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
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
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 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
Javier Calvarro Nelson b9a9ec9305 Add support for a default SSL certificate in development
When the ssl certificate specified is 'localhost' and
no certificate has been explicitly specified in the certificates
section, fallback to a certificate with 'CN=localhost' (ASP.NET Core SSL
developer certificate) in the current user store and if not found,
an ssl certificate with 'CN=localhost' on the current machine
(IIS Express developer certificate)
2017-05-24 16:24:32 -07:00
Javier Calvarro Nelson 7ac72dd7d8 Add task for generating ssl certificates with MSBuild 2017-05-24 15:55:43 -07:00
Stephen Halter 6c0af445e5 Fix flaky test and improve TestServer (#1859) 2017-05-24 15:45:54 -07:00
Hao Kung d97d3e7089 React to identity cookies 2017-05-24 14:01:28 -07:00
Nate McMaster 9428d1778d Upgrade corefx packages to 4.4.0 2017-05-24 11:48:05 -07:00
John Luo d25dbd572c Target NETStandard2.0 2017-05-24 11:10:13 -07:00
Nate McMaster b706a75e03 Target .NET Standard 2.0
This retargets all data protection libraries to ns2.0. This means .NET
Framework applications will need to upgrade to .NET Framework 4.6.1.
This upgrade makes available API to .NET Core that was previously only
available on .NET Framework, such as encrypting keys at rest with
certificates.

New API for .NET Core users:
- IDataProtectionBuilder.ProtectKeysWithCertificate(string thumbprint)
- CertificateXmlEncryptor
- ICertificateResolver
- DataProtectionProvider
  - .Create(string applicationName, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, Action<IDataProtectionBuilder>
  setupAction, X509Certificate2 certificate

Other minor changes in this commit:
- Fixed samples that were using obsolete logging API
- Remove calls to api-sets, instead using kernel32. .NET Core 2.0 no
longer requires using api-sets as Nano Server now forwards kernel32
calls
- Made minor improvements to the TypeForwardingActivator
- Remove dead code an unused api baselines
- Enable more tests on macOS/Linux that previously only ran on Windows
2017-05-24 09:47:10 -07:00
Thomas Hermann c592282646 Fix Node debugging by catching warning 2017-05-24 17:32:01 +01:00
Steve Sanderson b86e9f9254 Change template description to be consistent with others in 2.0 2017-05-24 15:10:37 +01:00
Steve Sanderson 970dc6c457 Add --silent to npm install command in CI. Fixes #972 (at least, to the extent that fixing it is reasonably possible) 2017-05-24 15:01:00 +01:00
Steve Sanderson 6baa2faf09 Split out built-in templates into new package Microsoft.DotNet.Web.Spa.ProjectTemplates 2017-05-24 14:47:23 +01:00
Arthur Vickers aaea92906f Add explicit decimal data types
Issue #768
2017-05-23 17:41:56 -07:00
pan-wang bce531f61a add features: flowing authentication info, hosting environment variable support; fix client disconnect and app_offline issues (#102)
resubmit
2017-05-23 17:25:45 -07:00
BrennanConroy 03bdb40f8a Add UseShutdownTimeout Extension (#1086) 2017-05-23 16:20:41 -07:00
Chris R c9a8cfce04 React to StringSegment change 2017-05-23 14:06:09 -07:00
Chris R 419ec53d07 React to StringSegment changes 2017-05-23 10:38:21 -07:00
Chris R 7ac6842d18 #1075 Suppress exceptions from failing to load HostingStartup assemblies 2017-05-23 10:36:57 -07:00
Nate McMaster e48eef8347 Add privateassets=all to NS.Library.NETFramework reference 2017-05-23 10:05:31 -07:00
Cesar Blum Silveira 4ab7a19dc2 Target netstandard2.0. 2017-05-23 10:00:29 -07:00
Steve Sanderson 918e7edbff Remove global.json files from templates for consistency with stock MVC template. 2017-05-23 17:05:42 +01:00
Steve Sanderson e1c90b3601 Change "dotnet new" config choices to reference netcoreapp2.0 (not that it makes a difference when it's the only choice) 2017-05-23 11:20:04 +01:00
Steve Sanderson b9e62cd4c9 Fix "dotnet new" postAction issues (and disable the "npm install" action) 2017-05-23 11:18:51 +01:00
Steve Sanderson ad9cfbb176 Make quotes consistent 2017-05-23 10:08:41 +01:00
Steve Sanderson 941ae9a34d Add postActions to "dotnet new" templates 2017-05-23 10:06:35 +01:00
John Luo 68d1d4ce12 Remove TestProjectHelpers from Server.IntegrationTesting 2017-05-22 15:55:24 -07:00
John Luo 9687be6c71 React to IDistributedCache interface change 2017-05-22 15:39:14 -07:00
Nate McMaster 8f3d04870f Target .NET Standard 2.0 2017-05-22 15:19:02 -07:00
BrennanConroy c8bf886e92 Fix tests not running as expected (#1080) 2017-05-22 15:16:35 -07:00