How to retrieve headers on AppHarbor hosted WCF-applications -


currently have wcf-based service deployed on appharbor. i'm having issue operation defined this:

[webget(uritemplate = "feedcallback")]         stream handlemessageget(); 

and implemented this:

public stream handlemessageget() {     var value = weboperationcontext.current.incomingrequest.headers["header.name"];     //do stuff header value     return ms; } 

whenever run wcf application on localhost debugging etc. works fine; can retrieve header value. whenever deploy project appharbor, request doesn't function anymore because can't retrieve header weboperationcontext.

what causing issue , how solved?

in end seems issue appharbor loadbalancer not forwarding headers dots in them.

see: http://support.appharbor.com/discussions/problems/37218-header-not-being-forwarded


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -