Remote access to a Nancy Self Host

后端 未结 3 2030
别跟我提以往
别跟我提以往 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:21

    For local debugging, use

    http://+:8733/Design_Time_Addresses
    

    You can add any subdirectory you like, for example

    http://+:8733/Design_Time_Addresses/myService 
    

    and debug it at

    http://localhost:8733/Design_Time_Addresses/myService
    

    without running your IDE (Visual Studio?) as Administrator.

提交回复
热议问题