How to set SameSite cookie attribute to explicit None ASP NET Core : <p>Chrome 76 will begin to support an explicit <code>SameSite: None</code> attribute </p>

<p><a href="https://web.dev/samesite-cookies-explained/" rel="noreferrer">https://web.dev/samesite-cookies-explained/</a></p>

<p>I found that the current implementation of ASP.NET Core treats <code>SameSiteMode.None</code> as a no-op and does not send any attribute. How can I add a custom attribute to a cookie and thereby add an explicit <code>SameSite: None</code> to the cookie text?</p>

<p>Appending the attribute to the cookie value does not work as HttpResponse.Cookies.Append url-encodes the cookie value.</p>
