其他分享
首页 > 其他分享> > Unable to resolve service for type`***` while attempting to activatre `***`

Unable to resolve service for type`***` while attempting to activatre `***`

作者:互联网

 

 

 

 

出现上图那样的情况 一般是没有在Startup类中的ConfigureServices中注入接口和实现类

 

 

 注入一个就ok

 

标签:resolve,ok,ConfigureServices,service,attempting,注入
来源: https://www.cnblogs.com/lixia0604/p/14768242.html