Thursday, 22 April 2021

web apis

 

[Route("~/api/Secrets/{name:string}")]

public string GetSecrets(string uri, string name)

{

var  keyVaultName= name;

var kvUris = $"https://{keyVaultName}.vault.azure.net";

}

if you like to pass the string or id from api then donot use name:string youll get parameter error

use only {name}



No comments:

Post a Comment

HCL healthcare

 hcl health care f2f second round interview asked more uestions on microservice 1.apim manage all apis in one place 2.sql profiler in one fo...