Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<h3>From <a href="http://msdn.microsoft.com/en-us/magazine/dd695917.aspx" rel="noreferrer">this source</a>:</h3> <ul> <li><p><strong>ContentResult</strong><br> Writes a string value directly into the HTTP response.</p></li> <li><p><strong>EmptyResult</strong><br> Does not write to the HTTP response. </p></li> <li><p><strong>FileContentResult</strong><br> Takes the contents of a file (represented as an array of bytes) and write the contents into the HTTP response.</p></li> <li><p><strong>FilePathResult</strong><br> Takes the contents of a file at the given location and writes the contents into the HTTP response.</p></li> <li><p><strong>FileStreamResult</strong><br> Takes a file stream produced by the controller and writes the stream into the HTTP response.</p></li> <li><p><strong>HttpUnauthorizedResult</strong><br> A special result used by authorization filters when authorization checks fail. </p></li> <li><p><strong>JavaScriptResult</strong><br> Responds to the client with a script for the client to execute.</p></li> <li><p><strong>JsonResult</strong><br> Responds to the client with data in JavaScript Object Notation (JSON).</p></li> <li><p><strong>RedirectResult</strong><br> Redirects the client to a new URL.</p></li> <li><p><strong>RedirectToRouteResult</strong><br> Renders the specified view to respond with an HTML fragment (typically used in AJAX scenarios).</p></li> <li><p><strong>PartialViewResult</strong><br> Renders the specified view to respond with an HTML fragment (typically used in AJAX scenarios).</p></li> <li><p><strong>ViewResult</strong><br> Renders the specified view and responds to the client with HTML.</p></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload