Cross-site resource at <URL> was set without the `SameSite` attribute .NET
The reason why you are getting this warning is because you are using an external resource (like an image). In my case, I copied an image URL/Address online and included it into my project. I didn't save it in a folder, so I got that warning.
The way I solved it is simple: I just said it: download whatever file you are trying to access locally and that warning will disappear.
Hope this helps