API referenceSections

SiteASPNETSettings

SiteASPNETSettings object

A site's ASP.NET settings (ADR 0090), written at the server's level for the site; an application's own web.config may override them.

  • no other properties
  • framework object required

    .NET Framework (system.web). Changing it needs ASP.NET 4.x on for the site.

    • no other properties
    • debug boolean required
    • custom_errors string required
      Allowed values: "On" "Off" "RemoteOnly"
    • session_mode string required
      Allowed values: "InProc" "Off"
    • session_timeout integer required
      • minimum 1
      • maximum 1440
    • validation string required

      Keys are always AutoGenerate,IsolateApps,IsolateByAppId

      Allowed values: "HMACSHA256" "HMACSHA512"
  • core object required

    ASP.NET Core Module (aspNetCore section). Changing it needs ANCM on the server.

    • no other properties
    • hosting_model string required
      Allowed values: "inprocess" "outofprocess"
    • environment string required

      ASPNETCORE_ENVIRONMENT

      • pattern ^[A-Za-z][A-Za-z0-9_.-]{0,31}$
    • stdout_log boolean required
    • stdout_max_mb integer required
      • minimum 1
      • maximum 1024
    • stdout_keep_files integer required
      • minimum 1
      • maximum 50

Used by

PUT/api/v1/tenants/{tid}/sites/{id}/aspnet-settings 202Apply the site's ASP.NET settings (ADR 0090)