Hello friends I want when a photo from the view to the controller It was sent to check that there must be a photo and the malicious file has not been uploaded Just like the answers sent to this question Determine if uploaded file is image (any format) on MVC
But this is for MVC but I want for asp.net core