- 
                Notifications
    You must be signed in to change notification settings 
- Fork 81
Open
Labels
6.0.0AnnouncementDocumentedThe breaking change has been published to the .NET Core docsThe breaking change has been published to the .NET Core docs
Milestone
Description
Notice on obsoleted RazorEngine APIs in Razor
Types related to the RazorEngine type in Blazor have been obsoleted.
Version introduced
6.0.0-preview1
Old behavior
APIs were not obsolete.
New behavior
APIs are obsoleted.
Reason for change
The RazorEngine type has been deprecated in favor of the RazorProjectEngine type.
Recommended action
Migrate source code from the RazorEngine type to the RazorProjectEngine type.
Category
ASP.NET
Affected APIs
- Microsoft.AspNetCore.Mvc.Razor.Extensions.InjectDirective.Register
- Microsoft.AspNetCore.Mvc.Razor.Extensions.ModelDirective.Register
- Microsoft.AspNetCore.Mvc.Razor.Extensions.PageDirective.Register
- Microsoft.AspNetCore.Razor.Language.Extensions.FunctionsDirective.Register
- Microsoft.AspNetCore.Razor.Language.Extensions.InheritsDirective.Register
- Microsoft.AspNetCore.Razor.Language.Extensions.SectionDirective.Register
- Microsoft.AspNetCore.Razor.Language.IRazorEngineBuilder
Issue metadata
- Issue type: breaking-change
Metadata
Metadata
Assignees
Labels
6.0.0AnnouncementDocumentedThe breaking change has been published to the .NET Core docsThe breaking change has been published to the .NET Core docs