Nancy icon indicating copy to clipboard operation
Nancy copied to clipboard

Docs: Clarify differences between Nancy.Hosting.Self and Nancy.Hosting.Owin.HTTPListener

Open viertaxa opened this issue 6 years ago • 1 comments

Prerequisites

  • [ y ] I have written a descriptive issue title
  • [ n/a ] I have verified that I am running the latest version of Nancy
  • [ n/a ] I have verified if the problem exist in both DEBUG and RELEASE mode
  • [ y ] I have searched open and closed issues to ensure it has not already been reported

Description

I would be extremely appreciative if someone who knows the difference could take some time and add some information to the docs regarding the differences between Nancy.Hosting.Self and the Owin HTTPListener method.

Steps to Reproduce

N/A

System Configuration

N/A

  • Nancy version: N/A
  • Nancy host
    • [ ] Nancy.Hosting.Aspnet
    • [ y ] Nancy.Hosting.Self
    • [ ] Nancy.Owin ()
    • [ ] Other:
  • Other Nancy packages and versions:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

viertaxa avatar Jan 22 '19 19:01 viertaxa

Both use HttpListener underneath. Nancy.Hosting.Self is just a thin Nancy-specific wrapper around it. Microsoft.Owin.HttpListener is based on OWIN, which you can read about elsewhere. In the OWIN model, Nancy is just middleware in a pipeline.

khellang avatar Jan 22 '19 21:01 khellang