Whenever I'm trying to get response using below code, I'm getting exception 'Response status code does not indicate success: 404 (Not Found).'. Please help me out.
var luisApp = new LuisApplication(configuration["LuisAppId"], configuration["LuisAPIKey"], configuration["LuisAPIHostName"]);
var recognizerResult = await recognizer.RecognizeAsync(turnContext, cancellationToken);
If you are talking about LUIS recognizer class, I will highly suggest you check properties and anything else according to the document:
PROPERTIES
applicationId
Your models application Id from LUIS
endpoint
(Optional) LUIS endpoint with a default of https://westus.api.cognitive.microsoft.com
endpointKey Endpoint key for talking to LUIS