none
Setting and getting HTTP headers with WCF on .NET Native RRS feed

  • Question

  • I need to get and set HTTP headers with WCF on .NET Native.

    This webpage says OperationContext isn't supported: https://msdn.microsoft.com/en-us/library/dn600634(v=vs.110).aspx

    How can I use HTTP headers with WCF on .NET Native without this class: https://msdn.microsoft.com/en-us/library/system.servicemodel.operationcontext.outgoingmessageheaders%28v=vs.110%29.aspx

    Tuesday, October 6, 2015 9:12 PM

All replies

  • Hi James,

    Because this question is more related to WCF, so I've moved it to WCF forum for you.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 7, 2015 11:30 AM
  • Hi,

    Please refer to the sample:

    http://blogs.msdn.com/b/mohamedg/archive/2012/12/13/adding-http-headers-to-wcf-calls.aspx


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, October 19, 2015 8:14 AM
  • And are all the WCF types in that sample compatible with .NET Native? I'm pretty sure IClientChannel isn't.
    Monday, October 19, 2015 8:16 AM