Pranav K
f80490f99d
Remove runtime compilation from Mvc.Razor ( #8755 )
...
* Remove runtime compilation from Mvc.Razor
* Remove RazorViewEngineOptions.FileProviders
2018-11-21 17:14:12 -08:00
Pranav K
f734efe2e7
Move pubinternal types in Mvc.Razor and Mvc.RazorPages to internal
2018-11-09 15:00:38 -08:00
Simon Cropp
b156dee4f1
Fix some spelling ( #8378 )
2018-09-06 07:39:01 -07:00
Pranav K
d6176ac7de
ApplicationPartFactory: The works
2018-03-21 15:40:15 -07: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
Pranav K
ab3134e373
Support conflict resolution when multiple precompiled views have the same path
...
Fixes #7223
2018-01-16 08:04:39 -08:00
Ryan Nowak
d58d0f917f
Add support for recompilation
2018-01-08 15:26:20 -08:00
Pranav K
6961cf9211
Cleanup unused precompilation code
2017-06-09 16:45:43 -07:00
Pranav K
8f883e8e13
Use RazorViewAttribute \ RazorPageAttribute for view discovery
2017-06-07 13:49:24 -07:00
Pranav K
452578e4a8
Revisit the architecture of CompilerCache
...
Fixes #5912
2017-05-25 08:54:15 -07:00
Pranav K
8ed55107e7
Add support for page precompilation
2017-04-17 10:43:50 -07:00
Pranav K
badb6ce8e5
Remove net451 as a cross-compile target
2017-03-22 06:32:50 -07:00
Pranav K
e749a80b30
Check for empty location in ViewsFeatureProvider
...
Fixes #5675
2017-01-17 11:07:48 -08:00
Marcus Schweda
24d5dfb552
Dynamic assembly checks to prevent NotSupprotedExceptions from System.Reflection.Emit
...
Fixes #5487
2016-11-07 12:49:49 -08:00
Pranav K
4a1c437f60
Don't fail precompiled view discovery if assembly is not managed
2016-10-09 20:39:13 -07:00
Pranav K
a623b4edd1
Use Assembly's containing directory to locate precompiled views assembly
2016-10-07 10:36:39 -07:00
Pranav K
5820854940
Load precompiled views binary from the bin directory
...
Work around for Assembly.Load in CoreCLR no longer loading arbitrary binaries from the bin directory.
2016-10-06 10:32:18 -07:00
Pranav K
994835ce47
Remove IViewsProvider and make view lookup to the feature provider
2016-09-14 13:40:05 -07:00
Pranav K
c942eab6e2
Adding support for Razor precompilation
...
Fixes #3917
2016-08-19 07:27:51 -07:00