YARP configuration is done using a json file, as you can see in the getting started page: https://microsoft.github.io/reverse-proxy/articles/getting-s....
Did you really stop reading after 2 paragraphs because they show a XML snippet? The XML is only related to the C# project file...