سؤال

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