Add link in 2.0 release notes to view compilation doc (#5624)

pull/5625/head
Scott Addie 2018-03-07 16:14:41 -06:00 committed by Rick Anderson
parent a3ea1729fb
commit 7c70c6156e
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ For more information, see [Prevent Cross-Site Request Forgery (XSRF/CSRF) attack
Razor view pre-compilation is enabled during publish by default, reducing the publish output size and application startup time.
For more information, see [Razor view compilation and precompilation in ASP.NET Core](xref:mvc/views/view-compilation).
## Razor support for C# 7.1
The Razor view engine has been updated to work with the new Roslyn compiler. That includes support for C# 7.1 features like Default Expressions, Inferred Tuple Names, and Pattern-Matching with Generics. To use C# 7.1 in your project, add the following property in your project file and then reload the solution: