Asynchronously load a view in asp.net core mvc
I'm on a ASP.NET Core Web App (Model-View-Controller) on .NET 6.0 and I'm trying to show a determinate view when some internal asynchronous task wants. Here's what I've tried: Task.RunAsync(() => { Thread.Sleep(10000); HttpContext.Current.Response.Redirect("/Index"); }); What it happens is that…