Welcome to the Katana Project.
What is Katana?
Katana is a collection of projects for supporting OWIN (http://owin.org
) with various Microsoft components. Currently it includes OWIN support for System.Web, System.Net.HttpListener, and WebApi.
Also included is a Katana.exe for running self-host servers (like HttpListener) from the command line.
How do I run my OWIN app or framework?
These instructions will help you set up an OWIN project and then author and deploy an OWIN app.
Download and unzip the Katana Tooling package from http://katanaproject.codeplex.com/releases
Run Katana.vsix to install the Microsoft Visual Studio 2012 templates.
In VS 2012:
From the menu, click: File
In the new project dialog, select: Installed
-> Visual C#
Choose: Katana Web Application
You can now "F5" to run and should see a simple directory browser page running on System.Web (ASP.NET).
How do I run my OWIN app on HttpListener?
These instructions will help you install and run an OWIN HttpListener server using Chocolatey and Katana.
Start with the same application you wrote above.
To install Chocolatey (http://chocolatey.org/
) run the following from the command line: @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
To install Katana.exe, run: cinst Katana -pre
Run the self-host app:
Open an CMD prompt
CD into the base directory of your OWIN web app
And run: Katana
Browse to the default url: http://localhost:8080/
For additional samples see http://aspnet.codeplex.com/