dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.05k stars 9.89k forks source link

Consider invalidating ComponentProperties cache when Hot Reload triggers metadata update #43780

Open tmat opened 1 year ago

tmat commented 1 year ago

Describe the bug

This cache might need to be invalidated after Hot Reload applies a change since it caches information about properties that can change during the update: https://source.dot.net/#Microsoft.AspNetCore.Components/Reflection/ComponentProperties.cs,18

Related: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1601868 https://github.com/dotnet/runtime/issues/75154

tmat commented 1 year ago

@mkArtakMSFT

ghost commented 10 months ago

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.