你的位置: 码友网首页 / 资讯源列表 / ASP.NET Core 5 - Enabling Razor runtime compilation

关于[ASP.NET Core 5 - Enabling Razor runtime compilation]的摘要:

Razor files (.cshtml) are compiled at both build and publish time and this gives better performance as your views are compiled. We can also enable runtime compilation, which will help developers to see any modified view change in real-time, without starting the application again. The recent version of ASP.NET Core (ASP.NET Core 5.0) Preview 2 came out and you can start building an app on ASP.NET Core 5.0 framework. ASP.NET Core 5.0 changes this experience for enabling razor runtime compilation. This is now available as an option while creating the ASP.NET Core 5.0 project. It’s a tiny enhancement, but good to know.

原文地址: https://www.talkingdotnet.com/asp-net-core-5-for-enabling-razor-runtime-compilation/

收录时间: 2020-04-08 浏览量: 2264 分类: ASP.NET Core

| 0 收藏 | 0