Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Types related to the Microsoft.AspNetCore.Razor.Language.RazorEngine type in Blazor have been marked as obsolete.
Version introduced
ASP.NET Core 6.0
Old behavior
The RazorEngine APIs weren't obsolete.
New behavior
The RazorEngine APIs are obsolete.
Reason for change
The RazorEngine type has been deprecated as compatibility can't be guaranteed.
Recommended action
Don't use RazorEngine APIs in your code.
Affected APIs
Microsoft.AspNetCore.Mvc.Razor.Extensions.InjectDirective.RegisterMicrosoft.AspNetCore.Mvc.Razor.Extensions.ModelDirective.RegisterMicrosoft.AspNetCore.Mvc.Razor.Extensions.PageDirective.RegisterMicrosoft.AspNetCore.Razor.Language.Extensions.FunctionsDirective.RegisterMicrosoft.AspNetCore.Razor.Language.Extensions.InheritsDirective.RegisterMicrosoft.AspNetCore.Razor.Language.Extensions.SectionDirective.RegisterMicrosoft.AspNetCore.Razor.Language.IRazorEngineBuilder
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.