How to use? create an instance of IExcelHelper like this IExcelHelper excel = new ExcelHelper(); // use excel object excel.XXX() inject service in dot net core services.AddLightExcel();