79739851

Date: 2025-08-19 11:47:51
Score: 1
Natty:
Report link

In .NET 6 and later you don’t need to add Microsoft.AspNetCore.Razor manually, because Razor support is included by default through the Razor SDK. You can safely remove the old reference and everything will still work. If you are working with custom Tag Helpers, use Microsoft.AspNetCore.Razor.TagHelpers instead. For more details, check this related thread: Razor SDK in .NET 6.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adele Ward