farhan1386/MvcCoreUploadAndDisplayImage_Demo
This article will help you to understand image tag helper and IFormFile in asp.net core. Image Tag Helper enhances the img tag to provide cache busting behavior for static image files. A unique cache-busting string is appended as a query parameter to the image source. The file on the host web server changes, a unique request URL is generated that includes the updated request parameter. IFormFile which is a C# representation of the file is used to process or save the file.
C#