aspnetcore/test/WebSites/PrecompilationWebSite
Doug Bunting cc7b319cb7 Remove use of `ServiceDescriber` in MVC and cleanup related hacks
- 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`
2015-03-10 22:25:42 -07:00
..
Compiler/Preprocess Remove use of `ServiceDescriber` in MVC and cleanup related hacks 2015-03-10 22:25:42 -07:00
Controllers * Move precompiled assemblies into a resource in the primary assembly. 2015-02-19 17:50:54 -08:00
Models * Move precompiled assemblies into a resource in the primary assembly. 2015-02-19 17:50:54 -08:00
TagHelpers * Move precompiled assemblies into a resource in the primary assembly. 2015-02-19 17:50:54 -08:00
Views Updated missed dnx name changes. 2015-03-09 02:17:58 -07:00
wwwroot Fixing Readme 2015-02-19 10:20:16 -08:00
.gitignore
PrecompilationWebSite.kproj
Startup.cs
project.json Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:42 -07:00
readme.md Fixing Readme 2015-02-19 10:20:16 -08:00

readme.md

PreCompilationWebSite

This web site illustrates use cases for precompilation of razor pages.