Commit Graph

38847 Commits

Author SHA1 Message Date
N. Taylor Mullen b538ceba93 Change final code documents to not contain non-existent imports.
- Existent imports are imports that have content that contribute to the processing of a Razor document. Prior to this we had a legacy expectation that code documents had empty markers in them for all of their import locations. This proved troublesome when cross-referencing files that had file paths and were supposed to be existent but weren't in metadata. Now that we have a project engine with a de-coupled import feature we can rely on the import feature for finding all locations of important files and then strip out any non-existent items.
2018-02-23 16:30:22 -08:00
ASP.NET CI 2c92564703 Updating BuildTools from 2.1.0-preview2-15711 to 2.1.0-preview2-15721
[auto-updated: buildtools]
2018-02-23 15:47:33 -08:00
ASP.NET CI ba95eea1b4 Updating submodule(s)
Configuration => dd33ad364a74936923edf25286cbff0a08232786
DotNetTools => 590c621c6f
EntityFrameworkCore => bfe07c526fd59be235439825a37d9fe9817c6940
HttpAbstractions => b85ed9d5cd
HttpClientFactory => 4ca695e0dad12ffda58fcc65781d2e764e178aae
Identity => 0ee3a5d4f4
IISIntegration => dc62b9ba38
KestrelHttpServer => de7e2a2573
Razor => 64c86634a8
ResponseCaching => c29531f2eb
SignalR => f7da0edcb2
Templating => 8cac91b15e

[auto-updated: submodules]
2018-02-23 15:47:24 -08:00
Pranav K 0ee3a5d4f4 React to Razor Sdk changes 2018-02-23 15:39:59 -08:00
Steve Sanderson c0bf73234c Tweak (to force rebuild, since Travis just tried to build a branch that was already deleted) 2018-02-23 22:42:10 +00:00
Steve Sanderson 8590f6e7a5 Remainder of initial HttpClient features plus E2E tests 2018-02-23 22:31:26 +00:00
Ben Adams de7e2a2573 Use enum for method rather than string compares (#2294) 2018-02-23 14:29:42 -08:00
Jass Bagga 298a1e2a78
Add AllowAnonymous for some Identity razor pages (#1644)
Addresses #1617
2018-02-23 13:57:37 -08:00
Ryan Brandenburg f7da0edcb2 Skip ConnectionCanSendAndReceiveMessages 2018-02-23 11:45:24 -08:00
Nikita Tsukanov 39951e892e Don't throw in HttpRequestStream.Flush (#2342)
Because read-only streams apparently can have Flush semantics and this behavior is expected by some of built-in stream wrappers (e. g. CryptoStream)

https://github.com/dotnet/corefx/pull/27327#pullrequestreview-98384813
https://github.com/aspnet/KestrelHttpServer/issues/2341
2018-02-23 09:51:09 -08:00
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