'ControllerBase.File(byte[], string)' is a method, which is not valid in the given context (CS0119) - in method
问题 I am trying to create an app where user can upload a text file, and gets the altered text back. I am using React as FE and ASP.NET Core for BE and Azure storage for the database storage. This is how my HomeController looks like. I created a separate "UploadToBlob" method, to post the data public class HomeController : Controller { private readonly IConfiguration _configuration; public HomeController(IConfiguration Configuration) { _configuration = Configuration; } public IActionResult Index()