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 ??

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top