Commit Graph

39960 Commits

Author SHA1 Message Date
ASP.NET CI 57f394209b Updating submodule(s)
Razor => 59f2cf8e66

[auto-updated: submodules]
2018-01-22 17:21:03 -08:00
N. Taylor Mullen 59f2cf8e66 Add contracts for RazorProjectEngine.
- These contracts introduce a new `RazorProjectEngine` concept which allows for users to configure 1 entity that's responsible for the RazorEngine and project.
- The `RazorProjectEngineBuilder` has a collection of features that are dispersed on the created `RazorEngine` and the `RazorProjectEngine`.
- Included a complete implementation of `RazorProjectEngine` it introduces the extension points for the project engine. The primary one includes the `IRazorImportFeature`, the default behavior is to return 0 imports.
- Included a complete project engine builder implementation.

#1828
2018-01-22 17:05:43 -08:00
Ryan Nowak 2d87bdf565
Add support for MvcPrecompilation settings (#1956)
* Add support for MvcPrecompilation settings

Adds support to the Razor SDK for various legacy features of the MVC
Precompilation tool.

- MvcRazorCompileOnPublish
- MvcRazorExcludeViewFilesFromPublish
- MvcRazorExcludeRefAssembliesFromPublish
- MvcRazorOutputPath
- MvcRazorEmbedViewSources
- MvcRazorFilesToCompile
2018-01-22 16:56:58 -08:00
Steve Sanderson 0ea4c930e9 Remove redundant property 2018-01-22 16:53:41 -08:00
Artak Mkrtchyan ea38977599 Removed unnecessary spaces 2018-01-22 16:41:43 -08:00
Artak Mkrtchyan 4fa975a416 Writing header cache values only when the response hasn't yet started 2018-01-22 16:40:57 -08:00
ASP.NET CI 085b1ff088 Updating submodule(s)
EntityFrameworkCore => 908491ca0f55a27c43a7b5b91a92a3714f7c89cd
Identity => df4db2f49c
MvcPrecompilation => e64954c9c7
SignalR => b088eaa91f
Templating => d159cb9b00
WebSockets => ec442c3d80

[auto-updated: submodules]
2018-01-22 16:28:06 -08:00
Andrew Stanton-Nurse ec442c3d80
set HasRuntimeOutput for test projects (#221) 2018-01-22 16:08:39 -08:00
BrennanConroy b088eaa91f
Rename JwtBearer to AccessToken in C# Client (#1333) 2018-01-22 16:05:51 -08:00
Steve Sanderson 2c3925a05c Apply render tree diffs on JS side 2018-01-22 16:02:52 -08:00
Ryan Nowak e64954c9c7 Undo compatibility error messages
We're going another way with Razor SDK interop. The Web SDK
will make a choice whether to enable MvcPrecompilation or RazorSDK, and
the Razor SDK will support all of the settings from MvcPrecompilation.
2018-01-22 15:50:31 -08:00
Pranav K b960818247 Build metapackages in sequence since they rely on each other. 2018-01-22 14:57:41 -08:00
Artak Mkrtchyan 77b04e3c82 Removed redundant spacings 2018-01-22 14:53:46 -08:00
Artak Mkrtchyan 6138087de6 Updated the DefaultAntiforgery to set the the cache headers only if they aren't set yet. 2018-01-22 14:50:45 -08:00
Javier Calvarro Nelson df4db2f49c Fix manage views layout 2018-01-22 14:44:44 -08:00
Pranav K 13cf9f76bd Add support for building Microsoft.AspNetCore.Analyzers metapackage 2018-01-22 13:54:50 -08:00
Javier Calvarro Nelson d159cb9b00 Add application DbContext 2018-01-22 13:24:54 -08:00
ASP.NET CI d3a56f55e1 Updating submodule(s)
AuthSamples => 24ee0cf7a5
EntityFrameworkCore => e4ff0b2b199a0fa0b64b9d5d24a62f811111decd

[auto-updated: submodules]
2018-01-22 20:34:38 +00:00
Hao Kung 24ee0cf7a5
Merge pull request #25 from aspnet/haok/xfix
Fix xform sample
2018-01-22 12:06:13 -08:00
ASP.NET CI b6568ebb88 Updating submodule(s)
EntityFrameworkCore => f9fc84695edb843ab1a22c0eacf138aef20def67
FileSystem => a94eeace5086b37411e547692ebd491050afae6a
Mvc => ebdb3c650a

[auto-updated: submodules]
2018-01-22 11:08:48 -08:00
Pranav K ebdb3c650a Smooth rough ApiBehavior edges
Fixes #7262
2018-01-22 09:53:21 -08:00
ASP.NET CI 3d0ffaacc0 Updating submodule(s)
SignalR => a449345436

[auto-updated: submodules]
2018-01-22 17:45:03 +00:00
BrennanConroy a449345436
Clean up logging (#1308) 2018-01-22 09:37:53 -08:00
Steve Sanderson 584e363110 Pass the tree edits to JS code on render 2018-01-22 09:26:14 -08:00
Steve Sanderson 5435582c0e Update rendering APIs to supply the diff as well as the final state 2018-01-22 08:54:03 -08:00
Steve Sanderson bea15241f2 Various renames of diff-related types, plus XML docs for newly-public types. 2018-01-22 08:31:07 -08:00
ASP.NET CI daa3d31f68 Updating submodule(s)
Mvc => 2c6ba372c1

[auto-updated: submodules]
2018-01-21 21:52:54 -08:00
Ajay Bhargav Baaskaran 2c6ba372c1 Some cleanup around FileProviderRazorProject with tests 2018-01-21 21:38:25 -08:00
Steve Sanderson 7c30d51be9 In tree diffs, omit trailing Continue entries and skip over unmodified subtrees 2018-01-22 01:55:10 +00:00
Steve Sanderson b021e19598 In diffing, support elements with descendants 2018-01-21 21:30:01 +00:00
Steve Sanderson 0a5e27fdcf Support diffing attributes. This required tracking 'sequence' values on attributes too. 2018-01-21 20:57:11 +00:00
ASP.NET CI 4d847e6123 Updating submodule(s)
Identity => 5079f708e1

[auto-updated: submodules]
2018-01-21 11:51:39 -08:00
Steve Sanderson 7a1abbaca3 In tree diffing, better handle scenario where both old and new sequences loop back but to different locations 2018-01-21 19:37:34 +00:00
Javier Calvarro Nelson 5079f708e1 [Fixes #1583] Add authorization to the default Identity UI 2018-01-21 11:31:56 -08:00
Javier Calvarro Nelson d968fdd31f [Fixes #1580, #1581] Update Identity UI to use Razor precompilation
* Switch from using the embedded file provider for the precompiled views
  for actual razor precompilation.
* Add MSBuild props and targets file to include additional assembly
  attributes on the generated precompiled views.
2018-01-21 11:19:16 -08:00
Steve Sanderson 6b37494e7c Begin on RenderTree diffing. Doesn't yet recurse into elements to handle attributes/children. 2018-01-21 18:53:09 +00:00
ASP.NET CI 0e87e60b44 Updating submodule(s)
Mvc => 1d6b02c1f5

[auto-updated: submodules]
2018-01-21 08:36:29 -08:00
Javier Calvarro Nelson 1d6b02c1f5 [Fixes #7239] Add support for loading additional parts.
* Support loading parts through an assembly metadata attribute with a
  key of Microsoft.AspNetCore.Mvc.AdditionalReference and a value that
  describes the additional assembly to add to the list of parts and
  whether or not it should be added by default. The additional reference
  can only contain the file name of the assembly and it must be located
  side by side with the assembly where the additional reference is
  defined.
* Add an AdditionalAssemblyPart application parts to represent parts
  that are not part of the original application per se, like precompiled
  views.
* Update the ViewsFeatureProvider to search for razor views in the
  application part directly instead of trying to load the precompiled
  views assembly part.
2018-01-21 08:02:20 -08:00
Steve Sanderson a0b354e0eb Add concept of 'sequence' to RenderTreeNode. This is in preparation for diffing. 2018-01-21 11:51:26 +00:00
ASP.NET CI 62419ca4a1 Updating submodule(s)
MvcPrecompilation => 24307dd301

[auto-updated: submodules]
2018-01-21 03:19:29 +00:00
Ryan Nowak 24307dd301 update deps 2018-01-20 19:09:57 -08:00
ASP.NET CI 8460982ba8 Updating submodule(s)
IISIntegration => 6b4673bbdc

[auto-updated: submodules]
2018-01-20 01:57:36 +00:00
Justin Kotalik 6b4673bbdc
Fixes bitness alignment issue for 32bit (#527) 2018-01-19 17:39:42 -08:00
Nate McMaster c6f2fa307a Merge branch 'release/2.0' 2018-01-19 16:57:57 -08:00
Nate McMaster 22c09387cb Update runtime store generation to respect DotNetAssetRootUrl 2018-01-19 16:57:17 -08:00
Hao Kung c0eabc39e3 Fix xform sample 2018-01-19 16:56:12 -08:00
ASP.NET CI 70d228aa3f Updating submodule(s)
EntityFrameworkCore => c0d127c7c23396ab03ce71fe78d0b4f2a79fdfa3
IISIntegration => d7d502a04c

[auto-updated: submodules]
2018-01-19 16:55:55 -08:00
Pranav K f33892ebc4 Add Microsoft.AspNetCore.Mvc.Analyzer 2018-01-19 16:49:50 -08:00
Pranav K c6c77dd4d3 Introduce Mvc analyzers 2018-01-19 16:02:50 -08:00
Justin Kotalik d7d502a04c
Free stdout after app closes (#535) 2018-01-19 15:52:21 -08:00