Dynamic Dropdowns NetCore and Json
Html for placeholder <select id="AppList" class="form-control input-sm"></select> Controller returns a Model - Add records to the Model and then return as JsonResult public async Task<JsonResult> GetApplications(int id) { var selectAppList = new List<ModelName>(); var apps = _applicationService.GetApplicationModels(); var modelVariable = (await GetModelRecords); if (modelVariable is object ) { selectAppList.Add(modelVariable); } return Json(selectAppList); } Jquery Add something like this to document.ready $("#brandId").change(function () { var id = $("#brandId").val(); BuildAppList(id); }); Then add the function function BuildAppList(id) { $.ajax({ ...