-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
partial warning #6435
partial warning #6435
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rick-Anderson Just a few minor nits to consider.
aspnetcore/testing/troubleshoot.md
Outdated
::: moniker range=">= aspnetcore-2.1" | ||
|
||
### Use of IHtmlHelper.Partial may result in application deadlocks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No period on section header
aspnetcore/testing/troubleshoot.md
Outdated
In ASP.NET Core 2.1 and later, calling `Html.Partial` will result in an analyzer warning due to the potential for deadlocks. The warning message is: | ||
|
||
*Use of IHtmlHelper.Partial may result in application deadlocks. Consider using `<partial>` Tag Helper or `IHtmlHelper.PartialAsync`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Italics are started (*
) but not ended. Missing a closing asterisk?
aspnetcore/testing/troubleshoot.md
Outdated
### Use of IHtmlHelper.Partial may result in application deadlocks. | ||
|
||
In ASP.NET Core 2.1 and later, calling `Html.Partial` will result in an analyzer warning due to the potential for deadlocks. The warning message is: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove future tense: "will result in" 👉 "results in"
@Rick-Anderson Should this be moved to the following doc instead? https://docs.microsoft.com/aspnet/core/mvc/views/partial |
Good idea. I'll do that. |
Fixes #5938