eShop icon indicating copy to clipboard operation
eShop copied to clipboard

Migrate BFF From Http Redirection to Yarp Api Gateway in Mobile BFF

Open josephaw1022 opened this issue 2 years ago • 1 comments

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

image

Current Mobile.Bff program.cs file

image

Working example of a yarp api gateway can be found here: https://github.com/dotnet/aspire/blob/main/samples/eShopLite/ApiGateway

josephaw1022 avatar Jan 10 '24 16:01 josephaw1022

Will add onto backlog. Thank you for the suggestion and link the sample

jamesmontemagno avatar Jan 23 '24 23:01 jamesmontemagno

Implemened in: https://github.com/dotnet/eShop/pull/218

jamesmontemagno avatar Mar 08 '24 16:03 jamesmontemagno