• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Microsoft.AspNetCore.Builder
    • SecureHeadersMiddlewareExtensions
  • Microsoft.Extensions.DependencyInjection
    • UnitOfWorkServiceCollectionExtensions
  • WaCore.Contracts.Data
    • IWacTransaction
    • IWacUnitOfWork
  • WaCore.Contracts.Data.Repositories.Base
    • IWacRepository<TEntity>
  • WaCore.Crud.Contracts.Data
    • IWacListDataRepository<TEntity, TFilter>
  • WaCore.Crud.Contracts.Dtos
    • IWacFilter
  • WaCore.Crud.Contracts.Services
    • IWacCrudService<TEntity, TFilter, TDto, TNewDto>
    • IWacListDataService<TFilter, TDto>
    • Operation
  • WaCore.Crud.Contracts.Utils
    • IPagedList<T>
  • WaCore.Crud.Data.Ef
    • WacListDataRepository<TEntity, TDbContext, TFilter>
  • WaCore.Crud.Dtos.Filters
    • WacFilter
  • WaCore.Crud.Services
    • WacCrudService<TEntity, TFilter, TDto, TNewDto>
    • WacListDataService<TEntity, TFilter, TDto>
  • WaCore.Crud.UnitTests.Utils
    • SortBySplitterTests
    • SortFieldMappingBuilderTests
    • SortFieldMappingBuilderTests.TestDto
    • SortingValidation
  • WaCore.Crud.Utils
    • LinqExtensions
    • PagedList<T>
  • WaCore.Crud.Utils.Exceptions
    • ResourceNotFoundException
  • WaCore.Crud.Utils.Sorting
    • IFirstSortConfigurable<TEntity>
    • ISecondarySortConfigurable<TEntity>
    • ISortFieldMappingBuilder<TEntity>
    • OrderItem
    • OrderItem.OrderBy
    • SingleSortFieldMap<TEntity>
    • SortBySplitter
    • SortColumnDescriptor<TEntity>
    • SortFieldMapping<TEntity>
    • SortFieldMappingBuilder<TEntity>
  • WaCore.Data.Ef
    • WacDbContextTransactionWrapper
    • WacEfUnitOfWork<TDbContext>
  • WaCore.Data.Ef.DependencyInjection
    • RepositoryConfiguration<TDbContext, TUnitOfWorkService>
  • WaCore.Data.Repositories.Base
    • WacRepository<TEntity, TDbContext>
  • WaCore.Sample.Middlewares
    • Program
    • Startup
  • WaCore.Sample.Middlewares.Controllers
    • HomeController
  • WaCore.Sample.Middlewares.Models
    • ErrorViewModel
  • WaCore.Web.Middleware.SecureHeaders
    • SecureHeadersConstants
    • WacSecureHeadersMiddleware
  • WaCore.Web.Middleware.SecureHeaders.Models
    • ContentSecurityPolicyConfiguration
    • HpkpConfiguration
    • HstsConfiguration
    • IConfigurationBase
    • ISecureHeadersMiddlewareConfiguration
    • ReferrerPolicyConfiguration
    • WacSecureHeadersMiddlewareConfiguration
    • XContentTypeOptionsConfiguration
    • XFrameOptionsConfiguration
    • XFrameOptionsConfiguration.XFrameOptions
    • XssConfiguration
    • XssConfiguration.XssMode

Class HomeController

Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Microsoft.AspNetCore.Mvc.Controller
HomeController
Implements
Microsoft.AspNetCore.Mvc.Filters.IActionFilter
Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
System.IDisposable
Inherited Members
Microsoft.AspNetCore.Mvc.Controller.View()
Microsoft.AspNetCore.Mvc.Controller.View(System.String)
Microsoft.AspNetCore.Mvc.Controller.View(System.Object)
Microsoft.AspNetCore.Mvc.Controller.View(System.String, System.Object)
Microsoft.AspNetCore.Mvc.Controller.PartialView()
Microsoft.AspNetCore.Mvc.Controller.PartialView(System.String)
Microsoft.AspNetCore.Mvc.Controller.PartialView(System.Object)
Microsoft.AspNetCore.Mvc.Controller.PartialView(System.String, System.Object)
Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.String)
Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.Type)
Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.Controller.ViewComponent(System.Type, System.Object)
Microsoft.AspNetCore.Mvc.Controller.Json(System.Object)
Microsoft.AspNetCore.Mvc.Controller.Json(System.Object, Newtonsoft.Json.JsonSerializerSettings)
Microsoft.AspNetCore.Mvc.Controller.OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext)
Microsoft.AspNetCore.Mvc.Controller.OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext)
Microsoft.AspNetCore.Mvc.Controller.OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate)
Microsoft.AspNetCore.Mvc.Controller.Dispose()
Microsoft.AspNetCore.Mvc.Controller.Dispose(System.Boolean)
Microsoft.AspNetCore.Mvc.Controller.ViewData
Microsoft.AspNetCore.Mvc.Controller.TempData
Microsoft.AspNetCore.Mvc.Controller.ViewBag
Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(System.Int32)
Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(System.Int32, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, System.String, System.Text.Encoding)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, Microsoft.Net.Http.Headers.MediaTypeHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.NoContent()
Microsoft.AspNetCore.Mvc.ControllerBase.Ok()
Microsoft.AspNetCore.Mvc.ControllerBase.Ok(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Redirect(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanentPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirect(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanentPreserveMethod(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanentPreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePreserveMethod(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanentPreserveMethod(System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPage(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanent(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToPagePermanentPreserveMethod(System.String, System.String, System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.String, System.Nullable<System.DateTimeOffset>, Microsoft.Net.Http.Headers.EntityTagHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.Unauthorized()
Microsoft.AspNetCore.Mvc.ControllerBase.NotFound()
Microsoft.AspNetCore.Mvc.ControllerBase.NotFound(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest()
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.Uri, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted()
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge()
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid()
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(Microsoft.AspNetCore.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(System.Object, System.Type, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(System.Object, System.Type, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.HttpContext
Microsoft.AspNetCore.Mvc.ControllerBase.Request
Microsoft.AspNetCore.Mvc.ControllerBase.Response
Microsoft.AspNetCore.Mvc.ControllerBase.RouteData
Microsoft.AspNetCore.Mvc.ControllerBase.ModelState
Microsoft.AspNetCore.Mvc.ControllerBase.ControllerContext
Microsoft.AspNetCore.Mvc.ControllerBase.MetadataProvider
Microsoft.AspNetCore.Mvc.ControllerBase.ModelBinderFactory
Microsoft.AspNetCore.Mvc.ControllerBase.Url
Microsoft.AspNetCore.Mvc.ControllerBase.ObjectValidator
Microsoft.AspNetCore.Mvc.ControllerBase.User
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WaCore.Sample.Middlewares.Controllers
Assembly: WaCore.Sample.Middlewares.dll
Syntax
public class HomeController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable

Methods

| Improve this Doc View Source

About()

Declaration
public IActionResult About()
Returns
Type Description
Microsoft.AspNetCore.Mvc.IActionResult
| Improve this Doc View Source

Contact()

Declaration
public IActionResult Contact()
Returns
Type Description
Microsoft.AspNetCore.Mvc.IActionResult
| Improve this Doc View Source

Error()

Declaration
public IActionResult Error()
Returns
Type Description
Microsoft.AspNetCore.Mvc.IActionResult
| Improve this Doc View Source

Index()

Declaration
public IActionResult Index()
Returns
Type Description
Microsoft.AspNetCore.Mvc.IActionResult

Implements

Microsoft.AspNetCore.Mvc.Filters.IActionFilter
Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
System.IDisposable
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX