Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Controllers.AddonContentController Class

Controller for all page requests within YetaWF that only need addons rendered (used client-side to bootstrap additional missing addons, i.e., progressively populating JavaScript/CSS).

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.

Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core

Inheritance

Syntax

public class AddonContentController : Microsoft.AspNetCore.Mvc.Controller;

Constructors

PublicAddonContentControllerConstructor.

Properties

PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseControllerContextGets or sets the ControllerContext.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseHttpContextGets the HttpContext for the executing action.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseMetadataProviderGets or sets the IModelMetadataProvider.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseModelBinderFactoryGets or sets the IModelBinderFactory.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseModelStateGets the ModelStateDictionary that contains the state of the model and of model-binding validation.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseObjectValidatorGets or sets the IObjectModelValidator.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseProblemDetailsFactoryGets or sets the ProblemDetailsFactory.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRequestGets the HttpRequest for the executing action.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseResponseGets the HttpResponse for the executing action.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRouteDataGets the RouteData for the executing action.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerTempDataGets or sets ITempDataDictionary used by ViewResult.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseUrlGets or sets the IUrlHelper.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseUserGets the ClaimsPrincipal for user associated with the executing action.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerViewBagGets the dynamic view bag.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerViewDataGets or sets ViewDataDictionary used by ViewResult and ViewBag.

Methods

PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseAcceptedCreates a AcceptedResult object that produces an Status202Accepted response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseAcceptedAtActionCreates a AcceptedAtActionResult object that produces an Status202Accepted response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseAcceptedAtRouteCreates a AcceptedAtRouteResult object that produces an Status202Accepted response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseBadRequestCreates an BadRequestResult that produces a Status400BadRequest response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseChallengeCreates a ChallengeResult.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseConflictCreates an ConflictResult that produces a Status409Conflict response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseContentCreates a ContentResult object by specifying a content string.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseCreatedCreates a CreatedResult object that produces a Status201Created response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseCreatedAtActionCreates a CreatedAtActionResult object that produces a Status201Created response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseCreatedAtRouteCreates a CreatedAtRouteResult object that produces a Status201Created response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerDispose(not specified)
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseFileReturns 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).
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseForbidCreates a ForbidResult (Status403Forbidden by default).
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerJsonCreates a JsonResult object that serializes the specified data object to JSON.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseLocalRedirectCreates a LocalRedirectResult object that redirects (Status302Found) to the specified local localUrl.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseLocalRedirectPermanentCreates a LocalRedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified localUrl.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseLocalRedirectPermanentPreserveMethodCreates a LocalRedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified localUrl.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseLocalRedirectPreserveMethodCreates a LocalRedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified localUrl.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseNoContentCreates a NoContentResult object that produces an empty Status204NoContent response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseNotFoundCreates an NotFoundResult that produces a Status404NotFound response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseOkCreates a OkResult object that produces an empty Status200OK response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerOnActionExecutedCalled after the action method is invoked.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerOnActionExecutingCalled before the action method is invoked.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerOnActionExecutionAsyncCalled before the action method is invoked.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerPartialViewCreates a PartialViewResult object that renders a partial view to the response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBasePhysicalFileReturns 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).
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseProblemCreates an ObjectResult that produces a ProblemDetails response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectCreates a RedirectResult object that redirects (Status302Found) to the specified url.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectPermanentCreates a RedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified url.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectPermanentPreserveMethodCreates a RedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified url.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectPreserveMethodCreates a RedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified url.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToActionRedirects (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.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToActionPermanentRedirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToActionPermanentPreserveMethodRedirects (Status308PermanentRedirect) to the specified action with Permanent set to true and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToActionPreserveMethodRedirects (Status307TemporaryRedirect) to the specified action with Permanent set to false and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToPageRedirects (Status302Found) to the specified pageName.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToPagePermanentRedirects (Status301MovedPermanently) to the specified pageName.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToPagePermanentPreserveMethodRedirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified pageName, routeValues, and fragment.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToPagePreserveMethodRedirects (Status307TemporaryRedirect) to the specified page with Permanent set to false and PreserveMethod set to true, using the specified pageName, routeValues, and fragment.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToRouteRedirects (Status302Found) to the specified route using the specified routeName.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToRoutePermanentRedirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToRoutePermanentPreserveMethodRedirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified routeName, routeValues, and fragment.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseRedirectToRoutePreserveMethodRedirects (Status307TemporaryRedirect) to the specified route with Permanent set to false and PreserveMethod set to true, using the specified routeName, routeValues, and fragment.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicShowAddonsThe ShowAddons action handles all addon content requests issued client-side.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseSignInCreates a SignInResult.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseSignOutCreates a SignOutResult.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseStatusCodeCreates a StatusCodeResult object by specifying a statusCode.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseTryUpdateModelAsyncUpdates the specified model instance using values from the controller's current IValueProvider.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseTryValidateModelValidates the specified model instance.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseUnauthorizedCreates an UnauthorizedResult that produces an Status401Unauthorized response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseUnprocessableEntityCreates an UnprocessableEntityResult that produces a Status422UnprocessableEntity response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerBaseValidationProblemCreates an BadRequestObjectResult that produces a Status400BadRequest response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerViewCreates a ViewResult object that renders a view to the response.
PublicInherited from Microsoft.AspNetCore.Mvc.ControllerViewComponentCreates a ViewComponentResult by specifying the name of a view component to render.

See Also YetaWF.Core Overview