Bind Request to Type in a Razor Layout ASP.NET MVC
-
16-10-2022 - |
Question
I know that the ASP.NET MVC
framework can bind an incoming request to an instance of a given Type
at the controller
level.
However, I want to be able to bind to a Known Type instance somewhere in my Razor Layout from the current Request context.
Is this possible ??
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow