A web proxy is written in ASP.NET with an admin console written in ReactJS. This was made as a repository for CN CS307's 1st assignment for web proxies @ FAST NUCES, Khi
Redirect, RedirectResult, and RedirectToAction all do not work as expected. There is no explanation as to why these are failing. There is nothing in the terminal, in dev tools, in the editor, in the docs, or stack overflow that talks about this. So I'm not sure where the breaking changes are.
Another viable solution would be to implement a JS async script within the C# code itself. This is long winding and not part of the original scope, so this is not a priority at the moment. But it will be hugely beneficial and convenient if redirects do happen.
Calling JavaScript inside an ASP.NET Core 2.2 application, this is an outdated tutorial, but the docs mentioned in the first link show that the latest NuGET package was pushed 19 days ago. So the package remains, and this tutorial can serve as a possible guide.
INodeServices Interface, but this page says to use Microsoft.AspNetCore.SpaServices.Extensions instead. No such doc page is available for this
Redirect
,RedirectResult
, andRedirectToAction
all do not work as expected. There is no explanation as to why these are failing. There is nothing in the terminal, in dev tools, in the editor, in the docs, or stack overflow that talks about this. So I'm not sure where the breaking changes are.Another viable solution would be to implement a JS async script within the C# code itself. This is long winding and not part of the original scope, so this is not a priority at the moment. But it will be hugely beneficial and convenient if redirects do happen.
For more information, check out,
NuGET
package was pushed19
days ago. So the package remains, and this tutorial can serve as a possible guide.Microsoft.AspNetCore.SpaServices.Extensions
instead. No such doc page is available for thisNuGET
page forSpaServices.Extensions
is this