Can't get ServiceStack to work in IIS6 with HTTPS

后端 未结 2 1740
小蘑菇
小蘑菇 2021-02-09 12:37

I\'m having a problem getting ServiceStack to work with HTTPS in IIS6 and I can\'t seem to find any documentation on setting this up. Currently I have an endpoint setup like so

2条回答
  •  清歌不尽
    2021-02-09 13:01

    mythz answer didn't work for me.

    I got it working by adding a location tag to web.config with the servicestack configuration. I found that servicestack worked with path="*" - but took to many requests(Episerver) but solved it like this:

    
        
            
                
            
        
    
    

    And then prefixed all Routes with the UniqueTag:

    [Route("/UniqueTag/DeletePost/{Id}", Verbs = "POST")]
    

    But note that option 2 from mythz's answer might also be required, because it was default setup in our solution.

提交回复
热议问题