Skip to content

Obsolete Razor Runtime Compilation (Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation) #62648

Open
@danroth27

Description

@danroth27

Razor Runtime Compilation lets you compile and build Razor views at runtime using the Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation package. This feature enables developers to update Razor views while running the app. However, Hot Reload now offers more comprehensive editing capabilities during runtime. Additionally, Razor Runtime Compilation hasn't kept pace with modern C# features, leading to inconsistencies between what the Razor SDK and Runtime Compilation can build. Since our main focus is on improving Hot Reload, we don’t plan further updates to Razor Runtime Compilation. To prioritize our resources, we propose marking Razor Runtime Compilation as obsolete. We'll instead focus our efforts on improving the quality of the developer experience with Hot Reload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions