Open Closed

Compiler warning MVC1000: Use of IHtmlHelper.Partial may result in application deadlocks. Consider using <partial> Tag Helper or IHtmlHelper.PartialAsync. #6275


0
geertveenstra created

Since changing to Core 2.2 I get many warnings during Build.

Should all @Html.Partial be changed to await @Html.PartialAsync ?


1 Answer(s)
  • 0
    maliming created

    Yes, you need to change and I will change in Zero.

    https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/partial-tag-helper?view=aspnetcore-2.1#migrate-from-an-html-helper


    The PR: https://github.com/aspnetzero/aspnet-zero-core/pull/2086