[ASP.NET] Middleware Stops Controller From Receiving Login Request
These are my buttons in /Views/Login
These are the buttons in /Controllers/LoginController
This is the middleware code in program.cs
For some reason, it looks like the middleware is preventing the user from using the controller IActionMethods in /LoginController to get a session ID. But this seems to be happening anyway even though I am checking that (context.Request.Path.StartsWithSegments("/Login/")).
FWIW, even
will not let me through to the IActionResult.
What is going wrong here?
These are the buttons in /Controllers/LoginController
This is the middleware code in program.cs
For some reason, it looks like the middleware is preventing the user from using the controller IActionMethods in /LoginController to get a session ID. But this seems to be happening anyway even though I am checking that (context.Request.Path.StartsWithSegments("/Login/")).
FWIW, even
will not let me through to the IActionResult.
What is going wrong here?