No service for type ‘Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory’ has been registered
在startup中,增加services.addMVC()即可
问题原因:https://github.com/aspnet/Mvc/issues/2872
No service for type ‘Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory’ has been registered
在startup中,增加services.addMVC()即可
问题原因:https://github.com/aspnet/Mvc/issues/2872