Search Results for

    Show / Hide Table of Contents
    View Source

    Class NoSniffCheck

    Health check for the recommended production setup regarding the X-Content-Type-Options header.

    Inheritance
    System.Object
    HealthCheck
    BaseHttpHeaderCheck
    Namespace: Umbraco.Cms.Core.HealthChecks.Checks.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public class NoSniffCheck : BaseHttpHeaderCheck, IDiscoverable

    Constructors

    View Source

    NoSniffCheck(IHostingEnvironment, ILocalizedTextService)

    Initializes a new instance of the NoSniffCheck class.

    Declaration
    public NoSniffCheck(IHostingEnvironment hostingEnvironment, ILocalizedTextService textService)
    Parameters
    Type Name Description
    IHostingEnvironment hostingEnvironment
    ILocalizedTextService textService

    Properties

    View Source

    ReadMoreLink

    Gets a link to an external read more page.

    Declaration
    protected override string ReadMoreLink { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • NoSniffCheck(IHostingEnvironment, ILocalizedTextService)
    • Properties
      • ReadMoreLink
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX