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

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top