Remote access to a Nancy Self Host

后端 未结 3 2014
别跟我提以往
别跟我提以往 2020-12-09 04:58

I am creating a Nancy Module that will eventually be hosted inside of a Windows Service. I am currently running it inside of a WPF test application. To start the Nancy hos

3条回答
  •  时光取名叫无心
    2020-12-09 05:24

    Look this: Self-Hosting-Nancy

    The Host Configuration: UrlReservations, add under code:

    var configuration = new HostConfiguration
            {
                UrlReservations = new UrlReservations { CreateAutomatically = true }
            };
    

    OK, you can create your host!~

提交回复
热议问题