Commit Graph

40187 Commits

Author SHA1 Message Date
Ben Adams 6728e756b7 Sanitize and centralize exception throws (#2293)
* Sanitize and centralize exception throws
2018-02-23 09:24:20 -08:00
Steve Sanderson ea3a18af25 Add basic support for onchange 2018-02-23 14:02:55 +00:00
Steve Sanderson 88cc2caf45 Infrastructure for E2E tests where the app makes requests to an API server 2018-02-23 13:28:58 +00:00
Steve Sanderson ea6b6bcd19 Add an example API server project that can be used in E2E tests 2018-02-23 13:07:49 +00:00
Steve Sanderson 423ad85a04 Implement OnInit/OnInitAsync and use it in sample HTTP request 2018-02-23 12:47:02 +00:00
Steve Sanderson 891f2a14d0 Basic implementation of temporary HttpClient. Currently only supports GET requests and doesn't return HTTP headers. 2018-02-23 12:29:53 +00:00
Steve Sanderson 8e57261167 In BrowserUriHelper, change URI caching logic to be more defensive in case OnLocationChanged isn't being used 2018-02-23 11:05:29 +00:00
Steve Sanderson f684203721 Rename DefaultBrowserServiceProvider->BrowserServiceProvider for consistency 2018-02-23 10:50:35 +00:00
Steve Sanderson 0bb32ad628 Move BrowserRouter -> Router in Microsoft.AspNetCore.Blazor now it has no browser-specific aspects 2018-02-23 10:49:03 +00:00
Steve Sanderson eab10dcf83 Move NavLink component into Microsoft.AspNetCore.Blazor 2018-02-23 10:43:16 +00:00
Steve Sanderson bbe00753f4 Workaround AppVeyor failing to install Chrome 2018-02-23 10:38:52 +00:00
Steve Sanderson 82bcf9172a Convert the static UriHelper into a service, IUriHelper, and inject where needed 2018-02-23 10:35:28 +00:00
Steve Sanderson 68f6ede3a7 Simplify UriHelper by making EnableNavigationInteception automatic 2018-02-23 09:59:56 +00:00
Steve Sanderson e1aab02228 Add name/description values for InjectDirective 2018-02-23 09:32:26 +00:00
Steve Sanderson 8ff4cee323 Make ComponentFactory thread-safe 2018-02-23 09:32:26 +00:00
Steve Sanderson c408045e31 In RazorCompiler, support @inject directive 2018-02-23 09:32:26 +00:00
Steve Sanderson 3f9d358004 Make ComponentFactory throw if you try to use [Inject] with a property that has no setter (otherwise it could be confusing) 2018-02-23 09:32:26 +00:00
Steve Sanderson b4a3c852c5 Implement DefaultBrowserServiceProvider using Microsoft.Extensions.DependencyInjection.ServiceCollection 2018-02-23 09:32:26 +00:00
Steve Sanderson e524994734 Make ComponentFactory do all the reflection up-front and cache the resulting delegates 2018-02-23 09:32:26 +00:00
Steve Sanderson ceacd489aa Simplistic implementation of property injection 2018-02-23 09:32:26 +00:00
Steve Sanderson ce10e6fa19 In preparation for DI, give every Renderer an IServiceProvider 2018-02-23 09:32:26 +00:00
Andrew Stanton-Nurse 6a2d41cc9f
Fix #924 by introducing HubDispatcher abstraction (#1479) 2018-02-22 20:59:34 -08:00
Ajay Bhargav Baaskaran 64c86634a8 Added a test to verify incremental TagHelper discovery 2018-02-22 17:15:58 -08:00
Artak Mkrtchyan 1796abcbcd Updated the test TagHelperBlockRewriteTest class 2018-02-22 17:07:52 -08:00
Artak Mkrtchyan 0c8dddcc40 Added the AllowHtmlCommentsInTagHelpers feature flag to control behavior of having comments in TagHelpers 2018-02-22 17:05:13 -08:00
Ben Adams 6252ffd86a Flatten exception handling (#2313)
3 nested try blocks with 3 finallies in same function O_o
2018-02-22 16:46:18 -08:00
Ben Adams c57784447e Speed up TryGetAsciiString (#1973)
* Widen
* Remove TryGetAsciiStringVectorCheckShifts
* Add Span version to benchmarks
2018-02-22 16:45:31 -08:00
Ben Adams c0f88ebdc1 Faster IFeatureCollection.Get<TFeature> (#2290) 2018-02-22 16:44:38 -08:00
David Fowler 32baa655b9
Do over the websocket transport (#1481)
* Do over the websocket transport
- Unify client and server logic (no code sharing yet)
- Removed use of cancellation tokens to communicate shutdown and instead used the pipe reader and socket abort.
- Added CloseTimeout to HttpOptions
2018-02-22 15:19:25 -08:00
John Luo c29531f2eb Delimit key values for query strings 2018-02-22 14:57:59 -08:00
Nate McMaster 68b3df8fe9
Don't ship global CLI tool packages to nuget.org or put into LZMA (#906) 2018-02-22 14:49:24 -08:00
Jass Bagga 8cac91b15e
Update jQuery (#307) 2018-02-22 14:39:18 -08:00
Pavel Krymets e9ccf1a11d Update AzureIntegration submodule 2018-02-22 14:33:06 -08:00
Pavel Krymets c5c4ff4b9c
Add SDK feed override (#157) 2018-02-22 14:14:00 -08:00
Nate McMaster 590c621c6f
Update README to reflect that dotnet-watch et. al. are bundled in the CLI 2018-02-22 12:55:03 -08:00
Pavel Krymets fd38a67f80
Drop Pipelines.Testing dependency that we don't use (#915) 2018-02-22 12:38:44 -08:00
pan-wang dc62b9ba38
adding mof file for freb log (#603) 2018-02-22 11:14:29 -08:00
John Luo b85ed9d5cd Commas in doc comments 2018-02-22 10:44:59 -08:00
ASP.NET CI 961d13d114 Updating submodule(s)
IISIntegration => 4775706bbc
KestrelHttpServer => d996f6b7fc

[auto-updated: submodules]
2018-02-22 10:36:34 -08:00
Pavel Krymets d996f6b7fc
Drop Pipelines.Testing dependency that we don't use (#2343) 2018-02-22 10:27:47 -08:00
Justin Kotalik 4775706bbc
Add version numbers on aspnetcore.dll and aspnetcorerh.dll, remove unnecessary files (#601) 2018-02-22 10:03:51 -08:00
ASP.NET CI 298540961e Updating submodule(s)
DataProtection => 70dcbf6ed6
Scaffolding => 3a00fed7ee5ce7de6002d4a6ec6e644c2e857773

[auto-updated: submodules]
2018-02-22 17:57:14 +00:00
Nate McMaster 70dcbf6ed6
Add UnprotectKeysWithAnyCertificate 2018-02-22 08:50:03 -08:00
Ryan Nowak dfe576f4fa Add new Razor bits
- Adds the aspnetcore-dev feed as a package source
- Updates Razor to a relatively new build
- Fixes a few issues encountered with new bits
2018-02-22 08:48:32 -08:00
ASP.NET CI c5a04d2d8c Updating submodule(s)
Common => f3d7d3a1c2483a3f3698e2259506ab24e60db698

[auto-updated: submodules]
2018-02-22 16:43:15 +00:00
Steve Sanderson f4e0d663fa Tiny simplification to NavLink 2018-02-22 15:03:49 +00:00
Steve Sanderson d388cb6510 Add E2E test covering nav menu and NavLink usage in StandaloneApp 2018-02-22 15:03:49 +00:00
Steve Sanderson b705ac2c0a Switch to slightly higher-level implementation of NavLink (sacrificing some perf for better representation of current idioms) 2018-02-22 15:03:49 +00:00
Steve Sanderson 58ae5dea9a Additional methods on ParameterCollection to simplify usage 2018-02-22 15:03:49 +00:00
Steve Sanderson 3e30655ea4 Low-level NavLink implementation 2018-02-22 15:03:49 +00:00