.net核心中Perwebrequest生活方式Castle.Windsor的替代品是什么?

时间:2018-07-23 08:01:44

标签: .net .net-core castle-windsor castle

净核心城堡温莎没有Perwebrequest生活方式 什么是替代品?

2 个答案:

答案 0 :(得分:1)

According to the research I did in .net core scope life style replaced with PerWebRequest because in .net core system.web removed

答案 1 :(得分:0)

对于ASP.NET-CORE,您将使用:

LifestyleCustom<MsScopedLifestyleManager>() 

来自软件包-https://github.com/volosoft/castle-windsor-ms-adapter