razor pages not seeing change in css file code example
Example: css not loading after clearing chaches asp.net
<link href="<%= String.Format("{0}dt={1}",ResolveUrl("~/Style/YourStyleSheet.css"),DateTime.Now.Ticks) %>" rel="stylesheet" type="text/css" />