- see issues aspnet/DependencyInjection#193 and #1612 - use `TryAdd()` in `MvcServices` for the `IAssemblyProvider` Move `ApplicationBasePath` handling into `RazorPreCompileModule` - restores view precompilation in functional tests of sample sites - if we need this, others will as well - override `IApplicationEnvironment` but get folder from `ProjectContext` - also remove remaining `IServiceProvider` implementations in this code test fixes: - simplify `IApplicationEnvironment` override - move override logic into `TestHelper.CreateServer()` methods - remove `LoggerFactory` setup - does not seem to require special-casing - remove unused `ITestConfigurationProvider` / `TestConfigurationProvider` - remove `TestAssemblyProvider` classes - no longer required - remove `ReplaceCallContextServiceLocationService` test helper - change MVC sample to fully-qualify config.json path - avoids `ReplaceCallContextServiceLocationService` need in `MvcSampleTests` - no longer required for other tests nit: remove unused `_serviceProvider` and constructor overload in `RazorPreCompiler` |
||
|---|---|---|
| .. | ||
| Compiler/Preprocess | ||
| Controllers | ||
| Models | ||
| TagHelpers | ||
| Views | ||
| wwwroot | ||
| .gitignore | ||
| PrecompilationWebSite.kproj | ||
| Startup.cs | ||
| project.json | ||
| readme.md | ||
readme.md
PreCompilationWebSite
This web site illustrates use cases for precompilation of razor pages.