aspnetcore/src/Microsoft.AspNetCore.Mvc.Razor/Internal
Doug Bunting 4cca6b09f0 Reduce allocations during HTML generation
- #3918
- precompute size of `StringBuilder` in `ExpressionHelper`
- reduce `string` allocations in `ViewDataEvaluator`
 - also get rid of `Enumeration` state machines
- reduce the size of a few objects; use more expression-valued properties
 - e.g. don't store `_modelType` in `ModelExplorer`
- add `EmptyArray<TElement>`; make empty arrays consistently `static`
- avoid `string.Split()` in HTML and tag helpers

nits:
- make `ExpressionHelperTest` tests more stringent
- correct `Message` for an `ArgumentNullException`
- remove excess `using`s in classes I touched (but often ended up leaving otherwise unchanged)
- improve doc comments
- remove `ToString()` call on a `string`
- avoid encoding `string.Empty`
- fix test file name
- remove useless variables
- correct spelling
- improve whitespace
2016-10-03 12:17:47 -07:00
..
CSharpCompiler.cs Adding support for Razor precompilation 2016-08-19 07:27:51 -07:00
CompilerCache.cs Adding support for Razor precompilation 2016-08-19 07:27:51 -07:00
CompilerCacheResult.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
CompositeTagHelperDescriptorResolver.cs Addressed feedback 2016-09-16 11:01:51 -07:00
DefaultCompilerCacheProvider.cs Adding support for Razor precompilation 2016-08-19 07:27:51 -07:00
DefaultRazorPageFactoryProvider.cs
DefaultRazorViewEngineFileProviderAccessor.cs
DefaultRoslynCompilationService.cs Adding support for Razor precompilation 2016-08-19 07:27:51 -07:00
DefaultTagHelperActivator.cs
DefaultTagHelperFactory.cs
DependencyContextRazorViewEngineOptionsSetup.cs
ExpressionRewriter.cs Adding support for Razor precompilation 2016-08-19 07:27:51 -07:00
ICompilerCache.cs
ICompilerCacheProvider.cs
IRazorViewEngineFileProviderAccessor.cs
MvcRazorLoggerExtensions.cs
MvcRazorMvcViewOptionsSetup.cs Replace ConfigureOptions with IConfigureOptions 2016-09-08 15:19:07 -07:00
RazorCompilationService.cs
RazorInjectAttribute.cs
RazorReferenceManager.cs Adding support for Razor precompilation 2016-08-19 07:27:51 -07:00
ServiceBasedTagHelperActivator.cs
SymbolsUtility.cs
TagHelpersAsServices.cs
ViewComponentTagHelperDescriptorFactory.cs Moved VCTHDFactory to .Internal namespace 2016-09-16 15:50:44 -07:00
ViewComponentTagHelperDescriptorResolver.cs Set designTime to false 2016-09-19 10:49:01 -07:00
ViewLocationCacheItem.cs
ViewLocationCacheKey.cs
ViewLocationCacheResult.cs