Go to file
N. Taylor Mullen 9f675abbca Pre-allocate unbound `TagHelper` attributes.
- Hoist `TagHelperAttribute` creation into `private static readonly` fields to avoid allocations on every request. With the recent `TagHelperAttribute` change that made them immutable we can now pre-allocate them without worry of them being modified.
- Added two extra class configuration pieces to enable pre-allocation.
- Updated test files to showcase new pre-allocations.

#600
2016-03-01 11:23:49 -08:00
src Pre-allocate unbound `TagHelper` attributes. 2016-03-01 11:23:49 -08:00
test Pre-allocate unbound `TagHelper` attributes. 2016-03-01 11:23:49 -08:00
tools
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
Razor.sln
appveyor.yml
build.cmd Return the error code from build.cmd 2016-02-28 10:12:14 -08:00
build.ps1 Update the build scripts 2016-02-27 12:51:10 -08:00
build.sh Update the build scripts 2016-02-27 12:51:10 -08:00
global.json
makefile.shade

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.