#author("2020-02-12T06:46:32+00:00","default:admin","admin")
-[[Configuration Reference <configuration>;https://docs.microsoft.com/en-us/iis/configuration/]]

*TOP階層直下 [#f196e643]
-appSettings
-configProtectedData
-connectionStrings
-system.codedom
-system.data
-system.diagnostics
-system.windows.forms

*system.applicationHost [#y6cb8aaa]
-applicationDefaults

-siteDefaults
--limits
---connectionTimeout
---maxBandwidth
---maxConnections
---maxUrlSegments

---参考)[[Default Limits for Web Sites <limits>:https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/sitedefaults/limits]]

-webLimits
--demandStartThreshold
--dynamicIdleThreshold
--dynamicREgistrationThreshold
--headerWaitTimeout
--maxGlobalBandwidth
--minBytesPerSecond

--参考)[[Web Limits <webLimits>:https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/weblimits]]

*system.ftpServer [#u463fc6a]
**security [#m9aa031e]

*system.net [#p47cfb67]
**mailSettings [#b3ebc1d1]

*system.transactions [#x808fd2d]

*system.web [#v02e7de1]
-httpRuntime
--executionTimeout
--maxRequestLength
--minFreeThreads
--minLocalRequestFreeThreads

**caching [#db060834]

*system.webServer [#a14ce9b7]
-asp
--limits
---bufferingLimit
---maxREquestEntityAllowed
---processorThreadMax
---queueConnectionTestTime
---queueTimeout
---requestQueueMax
---scriptTimeout

-aspNetCore
--disableStartUpErrorPage
--environmentVariables
--forwardWindowsAuthTOken
--hostingModel
--processedPerApplication
--processPath
--rapidFailsPerMinute
--recycleOnFileChange
--requestTimeout
---%ASPNETCORE_PORT% でリッスンしているプロセスからの応答を ASP.NET Core モジュールが待機する期間を指定
---ASP.NET Core 2.1 以降のリリースに付属する ASP.NET Core モジュールのバージョンでは、requestTimeout は時間、分、および秒単位で指定
---ASP.NET Core 2.0 以前のリリースに付属する ASP.NET Core モジュールのバージョンでは、requestTimeout は整数でのみ指定
---参考)[[ASP.NET Core で Timeout を伸ばしたい場合:https://medium.com/@arichika/asp-net-core-extend-increase-timeout-on-iis-6273f612757f]]
--shutdownTimeLimit
--startupTimeLimit
--stdoutLogEnabled
--stdoutLogFile

--参考)[[ASP.NET Core Module Configuration Reference:https://jakeydocs.readthedocs.io/en/latest/hosting/aspnet-core-module.html]]
--参考)[[ASP.NET Core モジュール構成リファレンス:https://docs.microsoft.com/ja-jp/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-2.1]]

-serverRuntime
--appConcurrentRequestLimit
--authenticatedUserOverride
--enabled
--enableNagling
--frequentHitThreshold
--frequentHitTimePeriod
--maxRequestEntityAllowed
--uploadReadAheadSize

--参考)[[サーバー ランタイム <serverRuntime>:https://msdn.microsoft.com/ja-jp/library/ee431646.aspx]]

**security [#bf73d70a]
***authentication [#c18fd407]
**tracing [#g3619e74]
**webdav [#dcc22c21]

*system.xml.serialization [#f36e98c3]


*ASP.NET Core [#a1306a17]
-IISマネージャの「構成エディター」で行う
-[[ASP.NET Coreを動かすためのIISの構築方法:https://qiita.com/taiga_takahari/items/7809c78393750c42e443]]
-[[IIS上のASP.NET Coreアプリのリクエストタイムアウト設定:https://qiita.com/t-hashimoto2192/items/cb9458fa805e0192d41a]]

-[[IISのタイムアウトについて:http://digital-nejimaki.seesaa.net/article/139063951.html]]

 <add key="aspnet:MaxHttpCollectionKeys" value="3100" />
 
 <httpRuntime executionTimeout="3600" />

*Tips [#k7da992a]
**ASP.NETのweb.config、app.configへの変更の反映タイミング [#o2b5b93a]
-反映には、IISの再起動が必要
-web.configが変更されると、自動的にIISの再起動がかかり、直ちに変更が反映される

**適用範囲 [#d74bea90]
-[[ASP.NET アプリケーションでアプリケーションおよびディレクトリに固有の構成設定を行う方法:https://support.microsoft.com/ja-jp/help/815174/how-to-make-application-and-directory-specific-configuration-settings]]

 <configuration>
     <location path=”forum” >
         <system.web>
             <customErrors mode="RemoteOnly” defaultRedirect="forum-error.aspx">
                 <error statusCode="404" redirect="forum-file-not-found.aspx" />
             </customErrors>
         </system.web>
     </location>
 </configuration>

**拡張子なしファイルへのアクセス [#s93de15b]
-[[IIS: How to serve a file without extension?:https://stackoverflow.com/questions/19950882/iis-how-to-serve-a-file-without-extension]]
-[[Allow IIS to serve files without extensions:https://blog.samphire.net/2018/02/19/allow-iis-to-serve-files-without-extensions/]]
-[[Extensionless Static Files are Very Painful to Configure Under IIS:https://github.com/ebekker/ACMESharp/issues/15]]

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS