使用指定的控制器上下文来调用指定操作。
Invokes the specified action by using the specified controller context.
使用指定的控制器上下文查找指定的分部视图。
Finds the specified partial view by using the specified controller context.
使用指定的控制器上下文将指定的值保存在临时数据字典中。
Saves the specified values in the temporary data dictionary by using the specified controller context.
你现在可以在一个控制器的action方法中键入Ctrl - M, Ctrl - V,或者在一个action方法中右击,选择“添加视图”上下文菜单项来生成新的视图模板。
You can now type Ctrl-M, Ctrl-V within a Controller action method, or right-click within an action method and choose the "Add view" context menu item to create new view templates.
控制器方法会返回字典,它们在对指定的Kid模板进行呈现时被用作名称空间或上下文。
Controller methods return dictionaries, which are used as a namespace, or context, during the rendering of the specified Kid template.
根据动作和上下文作出所有决定并集中控制器中的逻辑。
Make all decisions based on the action and the context and centralize the logic in the controller.
注:最终版本带回来的“添加控制器”上下文菜单。
Note: the final release brought back the "Add Controller" context menu.
注意:VS 2013预览和RC中不包括“添加控制器”上下文菜单。
Note: VS 2013 Preview and RC did not include the "Add Controller" context menu.
检索指定名称和请求上下文的控制器类型。
Retrieves the controller type for the specified name and request context.
使用指定的请求上下文来创建指定的控制器。
Retrieves the controller instance for the specified request context and controller type.
使用指定的请求上下文来创建指定的控制器。
Retrieves the controller instance for the specified request context and controller type.
应用推荐