Skip to content

Latest commit

 

History

History
69 lines (36 loc) · 1.65 KB

README.md

File metadata and controls

69 lines (36 loc) · 1.65 KB

connect-owin Samples Repository

Host your OWIN components on node.js using connect-owin

$ cd Samples.WebApi

See ReadMe

Nancy Sample

$ cd Samples.Nancy

Build the sources:

$ msbuild Samples.Nancy.csproj   (.NET Framework)
$ xbuild Samples.Nancy.csproj   (mono)

Retrieve node.js packages:

$ npm install

Start express.js server:

$ node server.js

Open http://localhost:3000/

webSocket transport not supported (requires connect-owin to support OWIN WebSocket extension).

$ cd Samples.SignalR

Build the sources:

$ msbuild Samples.SignalR.csproj   (.NET Framework)
$ xbuild Samples.SignalR.csproj   (mono)

Retrieve node.js packages:

$ npm install

Start express.js server:

$ node server.js

Open http://localhost:3000/index.html

Simple.Web with Fix Sample

$ cd Samples.Fix_SimpleWeb

Build the sources:

$ msbuild Samples.Fix_SimpleWeb.csproj   (.NET Framework)
$ xbuild Samples.Fix_SimpleWeb.csproj   (mono)

Retrieve node.js packages:

$ npm install

Start express.js server:

$ node server.js

Open http://localhost:3000/