Commit Graph

44024 Commits

Author SHA1 Message Date
ASP.NET CI 595156f36e Updating submodule(s)
KestrelHttpServer => ee1c5c440c

[auto-updated: submodules]
2018-01-23 11:04:30 -08:00
Stephen Halter ee1c5c440c
Fix HeartbeatTests flakiness (#2268) 2018-01-23 10:58:22 -08:00
John Luo cc3c24417c Remove duplicated assemblies from .All shared framework 2018-01-23 10:42:23 -08:00
Steve Sanderson b049c7f574 Fix diffing for consecutive text nodes 2018-01-23 09:43:14 -08:00
ASP.NET CI 3b7015f344 Updating submodule(s)
Mvc => ea14942525

[auto-updated: submodules]
2018-01-23 16:13:13 +00:00
Ryan Brandenburg ea14942525 React to Options change 2018-01-23 08:07:45 -08:00
hishamco 333092ad5b Add unit tests 2018-01-23 14:16:18 +03:00
ASP.NET CI e87e70c2e1 Updating submodule(s)
Antiforgery => 4c84463ad4

[auto-updated: submodules]
2018-01-22 22:25:07 -08:00
Artak Mkrtchyan 4c84463ad4
Merge pull request #179 from aspnet/artakm/ReadonlyHeadersResetFix
Updated the DefaultAntiforgery to set the the cache headers only if the Response hasn't started yet
2018-01-22 22:19:23 -08:00
hishamco 1f00f0a951 Use Resources.resx 2018-01-23 08:31:58 +03:00
hishamco 36b55fc7ba Address feedback 2018-01-23 07:53:14 +03:00
Steve Sanderson df321b9b8d Make RenderTreeEdit specify which sibling node it acts on, so we can eliminate the Continue concept and no longer track indices on JS side 2018-01-22 20:17:32 -08:00
Artak Mkrtchyan 18bd033d8e Removed unnecessary comment 2018-01-22 18:10:01 -08:00
Artak Mkrtchyan 763393efc4 Added a test verifying that the cache headers are not set after the response has started. 2018-01-22 17:51:13 -08:00
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