Commit Graph

37701 Commits

Author SHA1 Message Date
SteveSandersonMS d865e1f28b Specify latest 'current' SDK in all template global.json files 2016-11-30 11:29:57 +00:00
Ryan Nowak 46018f9512 Add IR phase
This change adds a phase which runs IR passes. Design and code are almost
exactly the same as the existing SyntaxTree phase. However all of this is
public because the IR is public API.
2016-11-29 21:28:27 -08:00
moozzyk e6b34fdce3 Renaming RpcConnection to HubConnection 2016-11-29 16:03:56 -08:00
Russell Seamer 4158dfed8f add net451 support to signalr.redis 2016-11-29 14:52:44 -08:00
Yves57 dbaa01830b Replace 'foreach' by 'for' in StringValues (faster) 2016-11-29 22:33:18 +01:00
moozzyk 2039a18971 Introducing modules for the ts client 2016-11-29 12:35:33 -08:00
Choc 8214954d5b Add support for clients to configure a policy with custom logic about whether an origin should be allowed and provide a default implementation of the functionality to allow wildcard subdomains 2016-11-29 12:27:00 -08:00
SteveSandersonMS 62c0680193 Make 'fetchdata' components in templates compatible with latest TypeScript compiler 2016-11-29 19:11:03 +00:00
SteveSandersonMS a8d3eed32c Detect legacy aspnet-prerendering mode earlier to fix #470 2016-11-29 18:37:43 +00:00
Cesar Blum Silveira f918279873 Merge branch 'khellang/proxy-authenticate-typo' into dev 2016-11-29 10:32:16 -08:00
SteveSandersonMS 5d14f11b1b Update all the project templates to .NET Core 1.1.0 2016-11-29 16:36:05 +00:00
SteveSandersonMS 196c0dd32e Update other samples to 1.1.0 dependencies 2016-11-29 16:36:05 +00:00
SteveSandersonMS 31d8eb69a7 Updated all 'misc' samples to 1.1.0 dependencies (and to TypeScript 2 for the Webpack sample) 2016-11-29 16:36:05 +00:00
SteveSandersonMS 4cbbf58600 Update core packages to version 1.1.0-*, upgrading .NET Core dependencies to match 1.1.0 release 2016-11-29 16:35:59 +00:00
SteveSandersonMS 3ff4447924 Add XML docs to core packages 2016-11-29 16:03:15 +00:00
SteveSandersonMS 3b91ad9b39 Make core package project.json files conform to org-wide conventions 2016-11-29 14:02:26 +00:00
SteveSandersonMS bebf24952e Add AssemblyInfo files to core packages 2016-11-29 13:04:21 +00:00
David Fowler 42594afd42 Introducing IApplicationLifetimeEvents (#875)
- Introduce a new DI friendly API for handling lifetime events. IApplicationLifetime isn't
isn't replaceable so we introduce a new DI friendly API that can be implemented to handle
lifetime events of an ASP.NET application. It should also make it possible to write up extension
on IWebHostBuilder to wire up to external systems that need to register the state of the application (like systemd).
- Run all handlers even if one throws
- Let both sets of event handlers run before throwing (IApplicationLifetimeEvents and IApplicationLifetime cancellation token callbacks).
2016-11-29 03:38:07 -08:00
Nate McMaster f63006dc1a Pack with NuGet 3.5.0 RTM 2016-11-28 16:39:14 -08:00
Chris R 53e5c3d56c #1001 don't log stack traces for localhost bind failures. 2016-11-28 16:35:14 -08:00
Tugberk Ugurlu 4af4a434c5 remove About and Contact links from the sample
Their corresponding views are missing and when clicked, it gives 404. Not sure if removing is OK (seems so).
2016-11-28 15:50:05 -08:00
Stephen Halter 02b84d7ae1 Make ListenerPrimaryTests more reliable
- The Task from ListenerSecondary.StartAsync() may complete before the
  PrimaryListener adds the pipe connection to its dispatch pipe list.
2016-11-28 14:37:25 -08:00
SteveSandersonMS 834301e50d Publish generator-aspnetcore-spa 0.6.1 2016-11-28 17:48:08 +00:00
SteveSandersonMS 03774253eb Fix AureliaSpa TypeScript compile error introduced by newer version of TypeScript 2016-11-28 17:35:00 +00:00
SteveSandersonMS a3cba50e88 Make ReactReduxSpa able to do prerendering without node_modules at runtime 2016-11-28 17:30:09 +00:00
SteveSandersonMS 9cfea61f1e Make Angular2Spa able to do prerendering without node_modules at runtime 2016-11-28 17:30:04 +00:00
SteveSandersonMS 157b74a0cd Update Angular2Spa and ReactReduxSpa to use aspnet-prerendering 2.0.0 2016-11-28 16:56:02 +00:00
SteveSandersonMS 17f9ecec29 Support new prerendering mode that doesn't require you to deploy node_modules to production. This is a breaking change in aspnet-prerendering, hence the major version bump. The NuGet package is back-compatible though. 2016-11-28 16:56:02 +00:00
SteveSandersonMS 9f6b0b0573 Build SpaServices 'Node/Content/*.js' files from TypeScript sources 2016-11-28 16:56:02 +00:00
SteveSandersonMS dd97ae7316 Specify publicPath in all vendor build configs (otherwise, file-loader won't generate correct URLs to any static resources from the vendor bundle) 2016-11-28 16:55:53 +00:00
SteveSandersonMS ea2cfc277c Fix Angular2Spa "template parse errors" in production builds (was caused by html-loader's HTML minification feature) 2016-11-28 16:09:08 +00:00
David Fowler 1b59fc6f80 DI enabled Microsoft.AspNetCore.Sockets (#47)
* DI enabled Microsoft.AspNetCore.Sockets
- Added AddSockets extension method to IServiceCollection
- Inject IApplicationLifetime into ConnectionManager to handle
graceful shutdown and added test.
- Call AddSockets from AddSignalR

* PR feedback
- Added AddSignalR overload that takes Action<SignalROptions>
2016-11-26 23:09:38 -08:00
SteveSandersonMS fadb2b3127 Remove README.md files from templates, as much of the content is irrelevant or outdated. Fixes #463. 2016-11-25 10:19:55 +00:00
SteveSandersonMS 69a0a29057 Handle Webpack 2.1.0 beta 23 renaming 'loaders' to 'rules'. Fixes #460. 2016-11-25 10:15:38 +00:00
SteveSandersonMS 8401bbf33a Add global.json to templates specifying SDK preview 2 (otherwise, preview 3 breaks it). Will need to exclude/modify this file when emitting csproj projects. 2016-11-25 09:56:53 +00:00
N. Taylor Mullen 518378f499 Add extensible directive abstractions
- Based generic directive implementation off of descriptors.
- Added parsing logic to consume descriptors and parse content that's expected.
- Added parsing errors to automagically detect unexpected directive pieces.
- Updated visitor implementations to understand the directive bits.
- Added a builder abstraction to easily create descriptors. Had to maintain the ability to manually construct a descriptor to enable convenient serialization/deserialization.
- Added tests/comparers to verify correctness of parsing.

#853
2016-11-23 19:56:40 -08:00
Pranav K 52ee9afc31 Adding PageActionDescriptorProvider
Fixes #5353
2016-11-23 16:53:06 -08:00
Pranav K 5b2a4aecb6 Make Microsoft.AspNetCore.Mvc.TestCommon a regular project
* This allows specifying all it's dependencies rather than for consuming projects to do this
* Remove unused APIs
* Fix weird downgrade warnings that show up due to P2P references
2016-11-23 16:23:56 -08:00
N. Taylor Mullen 83397a6d06 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:01:53 -08:00
N. Taylor Mullen aafcd1edfa Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:01:46 -08:00
N. Taylor Mullen 7b814e8d92 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:01:27 -08:00
N. Taylor Mullen a2919e07b5 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:01:14 -08:00
N. Taylor Mullen 977430668e Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:01:08 -08:00
N. Taylor Mullen 4660c410b3 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:01:01 -08:00
N. Taylor Mullen 4d9ef3ffea Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:00:46 -08:00
N. Taylor Mullen 681e2e0329 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:00:40 -08:00
N. Taylor Mullen 5da505dfb0 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:00:34 -08:00
N. Taylor Mullen 25e0fee45c Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:00:28 -08:00
N. Taylor Mullen db6135bb79 Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:00:22 -08:00
N. Taylor Mullen ea27a4e56c Pin global.json SDK to 1.0.0-preview2-1-003177. 2016-11-23 16:00:15 -08:00