Commit Graph

44024 Commits

Author SHA1 Message Date
Steve Sanderson b690aeee28 In RazorCompiler, support attributes with C# expression values 2018-01-16 13:15:13 +00:00
Steve Sanderson 5aa6ccaff7 Convert TextOnlyComponent to Razor format 2018-01-16 12:36:10 +00:00
Steve Sanderson 80b371c647 In RazorCompiler, support string-valued attributes 2018-01-16 12:23:12 +00:00
Steve Sanderson 1c1fd69bf2 In RazorCompiler, support self-closing and void elements 2018-01-16 11:50:40 +00:00
Steve Sanderson a64ece0319 In RazorCompiler, support HTML elements 2018-01-16 11:36:55 +00:00
Steve Sanderson 75b083911c Add AngleSharp with temporary InternalsVisibleTo 2018-01-16 11:11:49 +00:00
Steve Sanderson 604aa14518 Use Razor component in StandaloneApp sample 2018-01-15 23:11:54 +00:00
Steve Sanderson 7e40427ffe Razor compilation: Support text literals and C# code 2018-01-15 23:11:48 +00:00
ASP.NET CI 7ea0e8e5a9 Updating submodule(s)
Identity => 330823bed8
Testing => 21934a6393a5859c5fd7cc484c19f805ce49ce66

[auto-updated: submodules]
2018-01-14 14:06:27 -08:00
Pranav K 330823bed8 Make options registerations post configure 2018-01-14 12:59:07 -08:00
ASP.NET CI e177653315 Updating submodule(s)
Common => 8c2bae25a0b064444bb23fea090f435c9cc0d8eb
Microsoft.Data.Sqlite => 575e433d8bd1fd50f597d9deb4b5882621da6267

[auto-updated: submodules]
2018-01-14 20:47:45 +00:00
ASP.NET CI 8fb5d703e5 Updating submodule(s)
Razor => b5554a8038

[auto-updated: submodules]
2018-01-14 11:49:04 -08:00
Ryan Nowak b5554a8038 Make Razor SDK support refs and views on publish
These are default behaviors for precompilation.
2018-01-14 11:43:01 -08:00
Steve Sanderson 3ccdc1d16f Begin integrating with real Razor compiler 2018-01-14 16:37:01 +00:00
Steve Sanderson a03cb48c7a When compiling Razor components, take base namespace from host project 2018-01-14 14:40:57 +00:00
Steve Sanderson a32b857d96 When compiling Razor files, generate namespace based on directory path 2018-01-14 14:35:13 +00:00
ASP.NET CI f59db6a63d Updating submodule(s)
MvcPrecompilation => d686acad87

[auto-updated: submodules]
2018-01-13 19:08:13 -08:00
Ryan Nowak d686acad87 Avoid use of AssemblyQualifiedName in tests
The type name generated by Razor is an implementation detail and
shouldn't be used in tests outside of the Razor repo. Testing that the
assembly name is correct should be enough to validate what we need for
these tests.
2018-01-13 18:24:50 -08:00
hishamco 2fe9fb4707 WIP 2018-01-13 23:34:43 +03:00
ASP.NET CI 54c12819e1 Updating submodule(s)
MvcPrecompilation => c3dedd9feb

[auto-updated: submodules]
2018-01-13 20:11:40 +00:00
Ryan Nowak c3dedd9feb update deps 2018-01-13 12:06:00 -08:00
ASP.NET CI db652b8256 Updating submodule(s)
Razor => d1984aa44b

[auto-updated: submodules]
2018-01-13 06:36:45 +00:00
Ryan Nowak d1984aa44b Add hook for precompilation 2018-01-12 21:24:15 -08:00
ASP.NET CI 613e502e30 Updating submodule(s)
Razor => 14cea3c1b9

[auto-updated: submodules]
2018-01-13 05:16:52 +00:00
Ryan Nowak 14cea3c1b9 Move properties 2018-01-12 21:11:28 -08:00
Ryan Nowak f0c3843a5b Implment support for publish 2018-01-12 21:11:28 -08:00
Ryan Nowak 07a63d2ddd Add tests for RazorCompile target
This target should be callable on its own without using Build so it
deserves a few tests.
2018-01-12 21:11:28 -08:00
Ryan Nowak e0d876deb9 Skip flaky test on OSX 2018-01-12 21:01:12 -08:00
ASP.NET CI 1e8783ddf6 Updating submodule(s)
Razor => 2555c5bab1

[auto-updated: submodules]
2018-01-13 03:11:10 +00:00
Ryan Nowak 2555c5bab1 WIP 2018-01-12 19:05:46 -08:00
ASP.NET CI ce3d57be0e Updating submodule(s)
Razor => f025a27f04

[auto-updated: submodules]
2018-01-13 02:02:46 +00:00
N. Taylor Mullen f025a27f04 Unify how AdhocWorkspace is constructed.
- Created a new `TestWorkspace` type to lock on `AdhocWorkspace` construction. This type can't be constructed/changed in parallel.
- Updated test usages of `AdhocWorkspace` to make use of `TestWorkspace`.
- Added a `Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common` project to have the `TestWorkspace` type.

#1913
2018-01-12 17:54:53 -08:00
Ajay Bhargav Baaskaran d238c0dcfc Some pre-requisites for for Razor build server 2018-01-12 17:42:52 -08:00
ASP.NET CI 07431679e5 Updating submodule(s)
KestrelHttpServer => e6bb551018
Mvc => 946b64143e

[auto-updated: submodules]
2018-01-13 01:11:38 +00:00
Javier Calvarro Nelson e6bb551018 Adds support for loading the developer certificate from a pfx file
* If we can't find a developer certificate on the certificate store
  we will look for a developer certificate on the file system if a
  password has been specified for the Development certificate.
* We will look at ${APPDATA}/ASP.NET/https/<<AppName>>.pfx for windows
  and fallback to ${HOME}/.aspnet/https/<<AppName>>.pfx
* In case the password wasn't specified through configuration, the file
  is not found on the file system or can't be loaded, we won't
  do anything.
2018-01-12 16:32:06 -08:00
Pranav K 946b64143e Allow override routes on Pages
Fixes #6605
2018-01-12 15:57:13 -08:00
ASP.NET CI 326a38eec2 Updating submodule(s)
KestrelHttpServer => 1bce01cb9c
Mvc => 094b61dfc6
Razor => ecb323b5dc

[auto-updated: submodules]
2018-01-12 23:53:26 +00:00
Pranav K 094b61dfc6 Refactor PageRouteModel generation 2018-01-12 15:44:23 -08:00
Pranav K ecb323b5dc Use FilePath if RelativePhysicalPath on RazorProjectItem is null 2018-01-12 15:19:01 -08:00
Nate McMaster 1bce01cb9c Respect NoBuild from /t:StressTest 2018-01-12 14:47:52 -08:00
ASP.NET CI 6dc277bb7e Updating BuildTools from 2.1.0-preview1-15669 to 2.1.0-preview1-15670
[auto-updated: buildtools]
2018-01-12 14:36:27 -08:00
ASP.NET CI f280f09861 Updating submodule(s)
BasicMiddleware => 726035e3fb
DotNetTools => d4adf14819
Mvc => 66c13ae5e5
Razor => 8c7c486641

[auto-updated: submodules]
2018-01-12 14:36:08 -08:00
Nate McMaster 8c7c486641 Update build tools to 2.1.0-preview1-15670 and update list of exclusions for Razor.Design 2018-01-12 14:29:59 -08:00
Ryan Nowak 6bab1c682d Fix a build break introduced by new SDK
This is failing on the CI due to an issue with a newer build of the SDK.
I opened https://github.com/dotnet/sdk/issues/1854 to track the SDK bug.

- update korebuild
- upgrade deps
- remove System.Diagnostics.DiagnosticSource from test projects
2018-01-12 14:22:00 -08:00
Justin Kotalik 726035e3fb
Allow null SeverAddressFeature in Redirection Middleware (#289) 2018-01-12 13:20:06 -08:00
Jass Bagga 66c13ae5e5
Use weak comparison for If-None-Match header (#7237) 2018-01-12 12:40:51 -08:00
Nate McMaster d4adf14819 Update exclusions for nuget package verifier 2018-01-12 12:32:30 -08:00
ASP.NET CI 3e832370bd Updating submodule(s)
Antiforgery => e5de4e672c
EntityFrameworkCore => d7c350faaeace555c727a9b7cc38298e51d1cb46
Identity => e44cba9b75

[auto-updated: submodules]
2018-01-12 19:31:31 +00:00
Pranav K e44cba9b75 Split showing and generating recovery codes 2018-01-12 11:10:39 -08:00
Pranav K ce88212f49 Use AuthenticatorUrl generated on the server in EnableAuthenticator pages 2018-01-12 11:08:28 -08:00