Mvc
This part provides methods for working with ViewEngine and other common MVC stuff.
AjaxAttribute
AjaxAttribute
allows to block non-ajax requests to marked controllers or actions.
Controller extensions
Method name | Return type | Description |
---|---|---|
RenderPartialViewAsync |
| Renders a partial view using provided model. |
RenderViewAsync |
| Renders a view using provided model. |
Sample usage is provided below:
ITempDataDictionary extensions
This extension methods help to work with ITempDataDictionary
:
Method name | Return type | Description |
---|---|---|
Put |
| Places a specified object in current |
Peek |
| Get object for specified key from current |
Last updated