Skip to content

Configuration

Chris R edited this page Feb 8, 2017 · 1 revision

A detailed description of the startup settings can be found here.

System.Web / Web.Config Settings

Katana's System.Web adapter supports the following config options:

  • owin:appStartup - The full type name of your startup class. If not specified then all referenced assemblies will be scanned for an assembly containing the OwinStartup attribute, or a class named Startup, or {Assembly.Name.Startup}.
  • owin:AutomaticAppStartup - Enables or disables the OwinHttpModule in System.Web. This is enabled by default. Without the module Katana cannot participate in the integrated pipeline. The alternative is to use the OwinHttpHandler via MapOwinPath/Route or via explicit web.config registration.
<appSettings>
  <add key="owin:appStartup" value="StartupDemo.ProductionStartup" />
  <add key="owin:AutomaticAppStartup" value="true" />
</appSettings>

OwinHost.exe

OwinHost.exe will also read the owin:appStartup property from the Web.Config file as described above.

Clone this wiki locally