'IOCelot Builder does not contain definition for AddAdministration

I'm using .Net core 6 and i get an error on the AddAdministration("/administration","secret") when trying to supports changing configuration during runtime on my API Gateway,is there an alternative i can use or missing an assemby reference?please see error attached.thanks

builder.Services.AddOcelot().AddAdministration("/administration","secret");

error



Solution 1:[1]

i Was just missing the ocelot.Administration nuget package

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tumo Maraisane