• 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 HstsConfiguration

Represents the HTTP Strict Transport Security configuration

Inheritance
System.Object
HstsConfiguration
Implements
IConfigurationBase
Inherited Members
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.Web.Middleware.SecureHeaders.Models
Assembly: WaCore.Web.dll
Syntax
public class HstsConfiguration : IConfigurationBase

Constructors

| Improve this Doc View Source

HstsConfiguration()

Declaration
public HstsConfiguration()

Properties

| Improve this Doc View Source

IncludeSubDomains

(OPTIONAL) Whether this rule applies to all of the site's subdomains as well

Declaration
public bool IncludeSubDomains { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

MaxAge

The time, in seconds, that the browser should remember that this site is only to be accessed using HTTPS

Declaration
public int MaxAge { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Preload

Google maintains an HSTS preload service. By following the guidelines and successfully submitting your domain, browsers will never connect to your domain using an insecure connection

Declaration
public bool Preload { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

BuildHeaderValue()

Declaration
public string BuildHeaderValue()
Returns
Type Description
System.String

Implements

IConfigurationBase
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX