Controller for all full page requests within YetaWF.
This controller is a plain MVC controller because we don't want any startup processing to take place (like authorization, etc.) because we handle all this here. This controller is used for page and single module display (GET/HEAD requests only).
Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core
Inheritance
public class PageController : Microsoft.AspNetCore.Mvc.Controller;
PageController | Constructor. |
ControllerContext | Gets or sets the ControllerContext. | |
HttpContext | Gets the HttpContext for the executing action. | |
MetadataProvider | Gets or sets the IModelMetadataProvider. | |
ModelBinderFactory | Gets or sets the IModelBinderFactory. | |
ModelState | Gets the ModelStateDictionary that contains the state of the model and of model-binding validation. | |
ObjectValidator | Gets or sets the IObjectModelValidator. | |
ProblemDetailsFactory | Gets or sets the ProblemDetailsFactory. | |
Request | Gets the HttpRequest for the executing action. | |
Response | Gets the HttpResponse for the executing action. | |
RouteData | Gets the RouteData for the executing action. | |
TempData | Gets or sets ITempDataDictionary used by ViewResult. | |
Url | Gets or sets the IUrlHelper. | |
User | Gets the ClaimsPrincipal for user associated with the executing action. | |
ViewBag | Gets the dynamic view bag. | |
ViewData | Gets or sets ViewDataDictionary used by ViewResult and ViewBag. | |
Manager | The YetaWFManager instance for the current HTTP request. |
Accepted | Creates a AcceptedResult object that produces an Status202Accepted response. | |
AcceptedAtAction | Creates a AcceptedAtActionResult object that produces an Status202Accepted response. | |
AcceptedAtRoute | Creates a AcceptedAtRouteResult object that produces an Status202Accepted response. | |
BadRequest | Creates an BadRequestResult that produces a Status400BadRequest response. | |
Challenge | Creates a ChallengeResult. | |
Conflict | Creates an ConflictResult that produces a Status409Conflict response. | |
Content | Creates a ContentResult object by specifying a content string. | |
Created | Creates a CreatedResult object that produces a Status201Created response. | |
CreatedAtAction | Creates a CreatedAtActionResult object that produces a Status201Created response. | |
CreatedAtRoute | Creates a CreatedAtRouteResult object that produces a Status201Created response. | |
Dispose | (not specified) | |
Equals | Determines whether the specified object is equal to the current object. | |
File | Returns a file with the specified fileContents as content (Status200OK), and the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
Forbid | Creates a ForbidResult (Status403Forbidden by default). | |
GetHashCode | Serves as the default hash function. | |
GetType | Gets the Type of the current instance. | |
IsMobileBrowser | (not specified) | |
Json | Creates a JsonResult object that serializes the specified data object to JSON. | |
LocalRedirect | Creates a LocalRedirectResult object that redirects (Status302Found) to the specified local localUrl. | |
LocalRedirectPermanent | Creates a LocalRedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified localUrl. | |
LocalRedirectPermanentPreserveMethod | Creates a LocalRedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified localUrl. | |
LocalRedirectPreserveMethod | Creates a LocalRedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified localUrl. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
NoContent | Creates a NoContentResult object that produces an empty Status204NoContent response. | |
NotFound | Creates an NotFoundResult that produces a Status404NotFound response. | |
Ok | Creates a OkResult object that produces an empty Status200OK response. | |
OnActionExecuted | Called after the action method is invoked. | |
OnActionExecuting | Called before the action method is invoked. | |
OnActionExecutionAsync | Called before the action method is invoked. | |
PartialView | Creates a PartialViewResult object that renders a partial view to the response. | |
PhysicalFile | Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type. This supports range requests (Status206PartialContent or Status416RangeNotSatisfiable if the range is not satisfiable). | |
Problem | Creates an ObjectResult that produces a ProblemDetails response. | |
Redirect | Creates a RedirectResult object that redirects (Status302Found) to the specified url. | |
RedirectPermanent | Creates a RedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified url. | |
RedirectPermanentPreserveMethod | Creates a RedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified url. | |
RedirectPreserveMethod | Creates a RedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified url. | |
RedirectToAction | Redirects (Status302Found) to an action with the same name as current one. The 'controller' and 'action' names are retrieved from the ambient values of the current request. | |
RedirectToActionPermanent | Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName. | |
RedirectToActionPermanentPreserveMethod | Redirects (Status308PermanentRedirect) to the specified action with Permanent set to true and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment. | |
RedirectToActionPreserveMethod | Redirects (Status307TemporaryRedirect) to the specified action with Permanent set to false and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment. | |
RedirectToPage | Redirects (Status302Found) to the specified pageName. | |
RedirectToPagePermanent | Redirects (Status301MovedPermanently) to the specified pageName. | |
RedirectToPagePermanentPreserveMethod | Redirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified pageName, routeValues, and fragment. | |
RedirectToPagePreserveMethod | Redirects (Status307TemporaryRedirect) to the specified page with Permanent set to false and PreserveMethod set to true, using the specified pageName, routeValues, and fragment. | |
RedirectToRoute | Redirects (Status302Found) to the specified route using the specified routeName. | |
RedirectToRoutePermanent | Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName. | |
RedirectToRoutePermanentPreserveMethod | Redirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified routeName, routeValues, and fragment. | |
RedirectToRoutePreserveMethod | Redirects (Status307TemporaryRedirect) to the specified route with Permanent set to false and PreserveMethod set to true, using the specified routeName, routeValues, and fragment. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
Show | The Show action handles all page requests within YetaWF. | |
SignIn | Creates a SignInResult. | |
SignOut | Creates a SignOutResult. | |
StatusCode | Creates a StatusCodeResult object by specifying a statusCode. | |
ToString | Returns a string that represents the current object. | |
TryUpdateModelAsync | Updates the specified model instance using values from the controller's current IValueProvider. | |
TryValidateModel | Validates the specified model instance. | |
Unauthorized | Creates an UnauthorizedResult that produces an Status401Unauthorized response. | |
UnprocessableEntity | Creates an UnprocessableEntityResult that produces a Status422UnprocessableEntity response. | |
ValidationProblem | Creates an BadRequestObjectResult that produces a Status400BadRequest response. | |
View | Creates a ViewResult object that renders a view to the response. | |
ViewComponent | Creates a ViewComponentResult by specifying the name of a view component to render. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com