Is YARP Support WCF #1327
Answered
by
Tratcher
AhmedAssaf
asked this question in
Q&A
Is YARP Support WCF
#1327
-
Beta Was this translation helpful? Give feedback.
Answered by
Tratcher
Oct 26, 2021
Replies: 1 comment
-
YARP isn't designed for this kind of translation. YARP is designed to forward an existing request body with updated url and headers. For this scenario you'd have to parse and re-write the body (and more?), possibly in an endpoint specific way. You'd probably be better off using a standard MVC/API endpoint to receive the REST requests, parse them, and then issue new WCF requests using WCF specific libraries. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
samsp-msft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
YARP isn't designed for this kind of translation. YARP is designed to forward an existing request body with updated url and headers. For this scenario you'd have to parse and re-write the body (and more?), possibly in an endpoint specific way.
You'd probably be better off using a standard MVC/API endpoint to receive the REST requests, parse them, and then issue new WCF requests using WCF specific libraries.