Bind Request to Type in a Razor Layout ASP.NET MVC
-
16-10-2022 - |
Domanda
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 ??
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow