Can not find DiscoveryClient

DiscoveryClient has been removed in the latest version

The new wording is

 

var client = new HttpClient();
var disco = await client.GetDiscoveryDocumentAsync("http://localhost:5000");
if (disco.IsError)
{
Console.WriteLine(disco.Error);
return;
}

Guess you like

Origin www.cnblogs.com/Anthony518/p/11606869.html