eShop
eShop copied to clipboard
Migrate BFF From Http Redirection to Yarp Api Gateway in Mobile BFF
There appears to be an inconsistency in the documentation and implementation of YARP (Yet Another Reverse Proxy) in the Mobile Backend for Frontend (BFF) example. The README's image suggests the use of YARP, but the actual implementation in the Mobile.Bff's program.cs file seems to deviate from this, particularly when compared to other examples in the Aspire project.
README.md mobile bff icon
Current Mobile.Bff program.cs file
Working example of a yarp api gateway can be found here: https://github.com/dotnet/aspire/blob/main/samples/eShopLite/ApiGateway
Will add onto backlog. Thank you for the suggestion and link the sample
Implemened in: https://github.com/dotnet/eShop/pull/218