Commit Graph

37463 Commits

Author SHA1 Message Date
N. Taylor Mullen 5aababce6e Remove magic string keys from TH builders.
- Replaced the magic strings with extension methods that produce the same behavior as the string keys did.
- Added tests to validate new extension methods.

#1307
2017-05-19 11:15:38 -07:00
Jass Bagga 9aff0a67c1 Range support for FileResult(#6150)
Addresses #3702
2017-05-19 10:51:46 -07:00
Pavel Krymets 1c55ef5469 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-05-19 10:28:23 -07:00
Ryan Nowak 315221c758 Re-enable some skipped tests
The underlying bug in this area has been fixed.
2017-05-19 10:18:17 -07:00
Ryan Nowak f4f291a7f2 PR feedback 2017-05-19 09:47:55 -07:00
Pawel Kadluczka 4bb9721d39 Adding strongly typed Invoke and On overloads
See: #311
2017-05-19 09:47:16 -07:00
Ryan Nowak 2a88d6efcf Fix aspnet/Mvc#6296 sanitize class and namespace
The new @namespace directive isn't sanitizing class and namespace names
when generating them. This means that a file-system-legal character like
'-' will show up in a class name, and that's not good.

Note that the old code paths (document classifiers) already had tests for
this and did it properly. It was only missing from @namespace.
2017-05-19 08:54:24 -07:00
Steve Sanderson ad645cbfe9 Remove build reference cycle caused by samples 2017-05-19 15:35:24 +01:00
Steve Sanderson d5483f3b64 Add workaround for 'publish' tests failing since 2.0 update 2017-05-19 15:16:49 +01:00
Steve Sanderson e1a0931ca0 Add reference to NodeServices and SpaServices 2017-05-19 15:07:04 +01:00
Steve Sanderson a4512873f9 Update templates' SpaServices dependency to 2.0.0-* 2017-05-19 14:57:13 +01:00
Steve Sanderson 9e59ed4bc8 Put back <IsPackable>false</IsPackable> on template csproj files 2017-05-19 12:12:52 +01:00
Steve Sanderson b091932e10 Temporarily remove templates from .sln to avoid dependency cycle 2017-05-19 12:00:22 +01:00
Steve Sanderson ac3ab36b3d Add JavaScriptServices to Universe 2017-05-19 11:38:50 +01:00
Steve Sanderson 42b88c15f2 Make all templates as consistent as possible with stock MVC Core 2.0 one 2017-05-19 11:36:17 +01:00
Steve Sanderson 3ee16a5ba5 Update templates to .NET Core 2.0 (but not yet own package refs until they are built in CI) 2017-05-19 09:28:33 +01:00
Chris R f258be61fd React to parser StringSegment changes 2017-05-18 21:57:13 -07:00
Nate McMaster 74239f08c0 Update TFM to netstandard2.0 2017-05-18 16:09:19 -07:00
Chris R 8580226a4b #51 Add AzureSiteExtension tag and package type 2017-05-18 15:28:56 -07:00
Pavel Krymets 34ab089e7b React to scheduler changes (#1846) 2017-05-18 14:49:48 -07:00
N. Taylor Mullen 4c98b7f8f3 Make ViewComponentTagHelper's display name nicer.
- Went from `__Generated__SomeViewComponentTagHelper` to `SomeViewComponentTagHelper`.
- Updated `TagHelperDescriptorBuilder` to allow setting of `DisplayName`.
- Added `TagHelperDescriptorBuilderTest` class to verify new `DisplayName` additions.
- Updated `ViewComponentTagHelperDescriptorFactoryTest` expectations.

#1251
2017-05-18 14:48:59 -07:00
John Luo 6e87b0f5eb Target netstandard2.0 TFM 2017-05-18 14:38:26 -07:00
John Luo 9313a02aa8 Remove duplication of parsing helper 2017-05-18 11:49:03 -07:00
Mardoxx ece5e748ad Minor documentation fix for SerializableError
ModelStateEntry -> ModelStateDictionary
2017-05-18 11:02:23 -07:00
Ryan Nowak c8614e9aa8 Fix build break due to Razor changes 2017-05-18 10:58:43 -07:00
N. Taylor Mullen 03f3975360 Allow directive string tokens to be colorized.
- Without a directive string token having a `SpanKind.Code` it cannot have any sort of C# coloring associated with it.
- Updated tests to reflect new `SpanKind` expectations.

#1269
2017-05-18 10:36:54 -07:00
Ryan Nowak e391ac7a3c Split options into ParserOptions and CodeGenerationOptions 2017-05-18 10:22:39 -07:00
Steve Sanderson 33cc640942 Remove obsolete 1.x APIs 2017-05-18 14:17:29 +01:00
Steve Sanderson baae62132b Remove projects and packages obsoleted in v2 2017-05-18 13:52:58 +01:00
Steve Sanderson 58fa07d4dc Build fixes following .NET Core 2.0 update 2017-05-18 13:45:13 +01:00
Steve Sanderson deaaa43e02 Fix SDK download URL for AppVeyor 2017-05-18 13:45:13 +01:00
Steve Sanderson 58fd9150b9 Update AppVeyor build to use .NET Core 2.0 Preview 1 2017-05-18 13:45:13 +01:00
Steve Sanderson 244deca019 Update libraries and samples to .NET Core 2.0 2017-05-18 13:45:13 +01:00
Steve Sanderson e081d5e091 Make build.sh consistent with other ASP.NET repos 2017-05-18 13:44:15 +01:00
Steve Sanderson 85e59efa21 Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places 2017-05-18 13:40:58 +01:00
Steve Sanderson a74b7aea6b Bump template package versions to 0.9.3 for release 2017-05-18 12:10:15 +01:00
Ryan Nowak 5a1090f324 Api Cleanup for language services
Created internal + public versions of
- BlockKind
- SpanKind
- AcceptedCharacters

That way these types are only exposed through the VS apis and not
through the runtime API surface.

Also deleted RazorEditorParser. Yep. It's going to take significant work
to just port it to the language services assembly. Let's reevaluate this
when we get closer to the next foundational update.
2017-05-17 22:09:01 -07:00
Ryan Nowak 94aaa3db9e Configure xunit for better display 2017-05-17 20:31:37 -07:00
Ryan Nowak 811ea019a5 Fixes #1245 - Make TemplateCodeExtension public
This removes the hardcoding of an MVC type from Razor.
2017-05-17 20:25:06 -07:00
Smit Patel 09468daaef Revert "Disable SqlServer specific tests on netcoreapp2.0 on win7/2008"
This reverts commit 775847a1fa.
2017-05-17 18:08:46 -07:00
Cesar Blum Silveira f8a6433cd5 Fix flaky ResponseTests.FailedWritesResultInAbortedRequest. 2017-05-17 17:01:34 -07:00
jhkimnew 88cc1c14d0 Added a new environment variable value UsePrivateAspNetCoreFile for ANCMTestFlags and fixing test issues (#101) 2017-05-17 16:40:29 -07:00
Hao Kung ddd69e5fdf Remove references to DisplayName 2017-05-17 14:41:16 -07:00
Mads Kristensen 178a05cc33 Added missing Framework symbol 2017-05-17 22:25:37 +01:00
Steve Sanderson 33b275a7d3 Update ReactReduxSpa to latest versions of all dependencies, and pin to exact versions 2017-05-17 22:21:37 +01:00
Steve Sanderson c9d235d425 Update ReactSpa to latest versions of dependencies, and pin to exact versions. Simplify some instructions. 2017-05-17 22:06:32 +01:00
Hao Kung 1f5a27e20a Switch to Options Initializer 2017-05-17 14:05:27 -07:00
Hao Kung f12fc69cbf Fix test reference 2017-05-17 14:03:56 -07:00
Steve Sanderson 48b923fcd5 Update ReactReduxSpa to React Hot Loader 3, and remove Babel dependency 2017-05-17 21:51:13 +01:00
Hao Kung c4414c362f ServerTests => Auth 2.0 2017-05-17 13:42:11 -07:00