<!--
    
    IIS Asp.Net Core Extension Schema
    
    ** Please DO NOT edit this file yourself. **
    
    If you want to add configuration sections to the schema, you may place 
    them in .xml files similar to this one, in this directory. They will be 
    picked up automatically on startup.

-->

<configSchema>
  <sectionSchema name="system.webServer/aspNetCore">
    <attribute name="processPath" type="string" expanded="true"/>
    <attribute name="arguments" type="string" expanded="true" defaultValue=""/>
    <attribute name="startupTimeLimit" type="uint" defaultValue="120" validationType="integerRange" validationParameter="0,3600"/> <!-- in seconds -->
    <attribute name="shutdownTimeLimit" type="uint" defaultValue="10" validationType="integerRange" validationParameter="0,600"/>  <!-- in seconds -->   
    <attribute name="rapidFailsPerMinute" type="uint" defaultValue="10" validationType="integerRange" validationParameter="0,100"/>
    <attribute name="requestTimeout" type="timeSpan" defaultValue="00:02:00" validationType="timeSpanRange" validationParameter="0,1296000,60"/>
    <attribute name="stdoutLogEnabled" type="bool" defaultValue="false" />
    <attribute name="stdoutLogFile" type="string" defaultValue=".\aspnetcore-stdout" expanded="true"/>
    <attribute name="processesPerApplication" type="uint" defaultValue="1" validationType="integerRange" validationParameter="1,100"/>
    <attribute name="forwardWindowsAuthToken" type="bool" defaultValue="false" />
    <attribute name="disableStartUpErrorPage" type="bool" defaultValue="false" />
    <element name="recycleOnFileChange">
      <collection addElement="file" clearElement="clear">
        <attribute name="path" type="string" required="true" validationType="nonEmptyString" expanded="true"/>
      </collection>
    </element>
    <element name="environmentVariables">
      <collection addElement="environmentVariable" clearElement="clear" >
        <attribute name="name" type="string" required="true" validationType="nonEmptyString"/>
        <attribute name="value" type="string" required="true"/>
      </collection>
    </element>
  </sectionSchema>
</configSchema>