Commit Graph

43822 Commits

Author SHA1 Message Date
N. Taylor Mullen af3cf497a6 Update TagHelperMatchingConventions to disallow opt-out prefix.
- Prior to this change the `TagHelper` parsing would strip the opt-out character (`!`) from tag names that got passed to the TagHelper matching services. At design time this proved to be a problem because they have their own understanding of the HTML document and only pass us full tag names (names that include `!`). This changes the matching conventions to immediately return false if a tag name is seen to contain the `TagHelper` opt-out.
- Added two `DefaultTagHelperFactService` tests to verify that tag names with opt-out prefixes are denied `TagHelperDescriptor`s.

#1186
2017-04-06 16:10:35 -07:00
Andrew Stanton-Nurse 2464d81167 fix repo.targets test project reference 2017-04-06 15:55:49 -07:00
Mike Harder a594d0eeb8 Workaround for "Explicit RID still required for .NET Framework test projects"
- Addresses #1617
2017-04-06 15:49:23 -07:00
BrennanConroy ad1d0cc67d Pass configuration section to LoggerFactory 2017-04-06 15:27:19 -07:00
Andrew Stanton-Nurse 93a5454ce5 react to aspnet/hosting#1005 (#773) 2017-04-06 15:19:50 -07:00
Andrew Stanton-Nurse b019d30426 react to aspnet/hosting#1005 (#353) 2017-04-06 15:19:40 -07:00
Andrew Stanton-Nurse 50299cbac6 react to aspnet/Hosting#1005 (#68) 2017-04-06 15:19:34 -07:00
Andrew Stanton-Nurse 1ae1ff01a3 Add test logging helpers to Hosting (#1005) 2017-04-06 15:19:26 -07:00
John Luo 0da88e0dda Avoid double escaping in PathString 2017-04-06 13:29:06 -07:00
John Luo 6c7d099548 Fix directory name 2017-04-06 12:38:51 -07:00
John Luo eb918fc4b2 Use osx.10.12-x64 RID on macOS 2017-04-06 12:32:47 -07:00
Ajay Bhargav Baaskaran 0228fd2770 Moved ExecuteTagHelpersIRNode from renderer to writer 2017-04-06 11:43:35 -07:00
Ryan Nowak 0481cc6569 Fix travis
We were missing the newline normalization from the test base class.
2017-04-06 11:26:52 -07:00
Andrew Stanton-Nurse ad79cdd123 fix hangs due to uncleared TCS in IntegrationTesting (#1008) 2017-04-06 11:15:45 -07:00
Kiran Challa c42617e057 Converted samples and test projects to run on netcoreapp2.0 2017-04-06 10:21:31 -07:00
Ryan Nowak 4032de064e Removing _PageStart.cshtml
Pages now also use _ViewStart.cshtml

Also contains some naming/text cleanup that was missed in the previous
commit.
2017-04-06 08:14:37 -07:00
Ryan Nowak c6e4609096 Getting rid of _PageImports
Pages will just use _ViewImports.
2017-04-06 08:14:37 -07:00
John Luo 89de0e52d7 Generate package cache for each RID 2017-04-05 19:27:19 -07:00
John Luo 370df2d6d9 Remove cyclic dependencies 2017-04-05 19:14:01 -07:00
John Luo 4463144186 Fix build and remove cyclic dependencies 2017-04-05 18:21:24 -07:00
John Luo b1d1d85aee Remove cyclic dependency 2017-04-05 18:16:43 -07:00
Pranav K 3b016e6832 Use 4.3.0 version of System.Threading.Tasks.Extensions 2017-04-05 18:03:24 -07:00
John Luo c6c267507a Temporarity skip AzureIntegration packages due to rename 2017-04-05 17:26:38 -07:00
John Luo 36cd2b899b Add Microsoft.AspNetCore.All metapackage and build package cache 2017-04-05 17:12:27 -07:00
John Luo ff3ff939c3 Update WindowsAzure.Storage version (#217)
* Update WindowsAzure.Storage version

* Remove target fallback
2017-04-05 16:28:43 -07:00
Ajay Bhargav Baaskaran 697745c490 [Fixes #218] Set IXmlRepository using ConfigureOptions 2017-04-05 16:08:18 -07:00
Ryan Nowak 0cb7ae7fbf Add support for namespace tokens in extensible directives
This change adds support for accepting a namespace name in extensible
directives. This will be needed for the @namespace directive.

Implemented new parsing and codegen for namespaces using nameof().

Also fixed any issue where we were not global::-qualifying object where it
was used in the design time code for tokens.
2017-04-05 15:37:50 -07:00
Pavel Krymets dd02ba577f Use corefxlab and corefx by source (#1612) 2017-04-05 15:37:45 -07:00
Damian Edwards 89f06da488 Update README.md 2017-04-05 14:32:56 -07:00
Damian Edwards a84bf2fc10 Fix package table in README.md 2017-04-05 14:29:31 -07:00
Chris R aa5eb9eb83 #18 rename lightup packages to *.HostingStartup 2017-04-05 12:56:16 -07:00
John Luo bc003985c6 React to addition of PreferHostingUrls 2017-04-05 12:23:28 -07:00
Kiran Challa 7e051d92cb Converted samples and test projects to run on netcoreapp2.0 2017-04-05 12:10:45 -07:00
Ryan Brandenburg 9e8d4db7d8 Move TempDataPropertyProvider into filter 2017-04-05 12:04:02 -07:00
Cesar Blum Silveira 39164eeb40 Simplify WebHostBuilderTests.CanUseCustomLoggerFactory.
- Keep all the code in the test itself, instead of in an
  extension method. Makes it easier to understand what's
  happening without having to look up the extension
  method's definition.
2017-04-05 11:23:54 -07:00
Cesar Blum Silveira 7d50f34b85 Show unexpected error logs in assertion failures. 2017-04-05 11:23:04 -07:00
David Fowler bab4332a47 Add benchmark that drains the buffer without going through the pipe (#1611) 2017-04-05 10:09:43 -07:00
Cesar Blum Silveira adea477824 Re-write commented out tests in RequestHeaderLimitsTests as Frame tests (#1583). 2017-04-05 10:09:31 -07:00
BrennanConroy 2dfada051e React to CoreFx changes 2017-04-05 08:48:30 -07:00
David Fowler 5df022df0c Remove skipped tests and increased timeout for failing test 2017-04-04 22:13:12 -07:00
Stephen Halter b40d8b4248 Fix naming of IConnectionInformation.OutputReaderScheduler (#1608) 2017-04-04 21:30:33 -07:00
Ajay Bhargav Baaskaran 3424e20c67 Re-enable skipped test 2017-04-04 19:25:50 -07:00
Ajay Bhargav Baaskaran 6fea6454f0 Moved CreateTagHelperIRNode from renderer to writer 2017-04-04 16:33:28 -07:00
Ajay Bhargav Baaskaran 1a05359d12 Reset writer scope for tag helpers inside template 2017-04-04 15:43:42 -07:00
Pranav K fa378842af Use NuGetPackageRoot instead of NuGetPackageFolders 2017-04-04 15:32:46 -07:00
N. Taylor Mullen dda9cf3259 Do not generate C# line pragmas without a file path.
- Prior to this change default imports would get line pragmas generated for them because thye'd have a source location but no file path (they were a dynamic document).
- Re-generated C# files to reflect new line pragma changes.

#1110
2017-04-04 15:32:25 -07:00
glennc 0ab882b6d3 Allow configuration and logging to be configured on WebHostBuilder, setting up for the removal of AddProvider from ILoggerFactory. 2017-04-04 14:43:13 -07:00
Pranav K 925ad75cdf Add convenience methods for redirecting to another Razor Page
Fixes #5956
2017-04-04 14:36:22 -07:00
Yves57 c7e2e1880e Make FileSystemRazorProject internal (#1152)
Fixes #1117
2017-04-04 14:09:53 -07:00
moozzyk ebb2ce8fc9 Converting transport type from string to enum 2017-04-04 14:00:56 -07:00