Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

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


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team

    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