simple-injector专题提供simple-injector的最新资讯内容,帮你更好的了解simple-injector。
我正在使用 Entity Framework Core 和 Simple Injector IoC Container 构建 ASP.NET Core WebApi 服务。 该应用程序通过 Npgsql
我使用 Entity Framework Core 和 Simple Injector 创建了一个 ASP.NET Core Web API。 我想使用 xUnit 进行单元测试
我将 Simple Injector 与通用主机 nuget 包一起使用,一切都很好,只是我在注册顺序上遇到了障碍。 我
Simple Injector 的新手,试图让一些部件为原型工作。我正在创建一个使用 Simple Injector 和 ReactiveUI 的 WPF 应
我正在构建使用 <strong>SimpleRabbit (RabbitMQ)</strong> 的 .NetCore 控制台应用程序。 我正在尝试将 <strong>HostBuild
我在我的 DI 库中使用 SimpleInjector。我的 asp.net MVC 站点中有控制器,它们通过此库在其构造函数中获取服
我正在尝试使用 Simple Injector 作为 Caliburn.Micro 的 DI 容器。演示源:<a href="https://github.com/nvstrien/WPFDemos" re
我正在构建一个 .NET Core 控制台应用程序,该应用程序使用 <strong>Simple Injector</strong> 和 <strong>SimpleRabbit</
我在下面的 AutoMapper 设置文章中遵循此设置,但我不断收到此错误。 <a href="https://docs.automapper.org/en/latest
关于 <a href="https://github.com/MapsterMapper/Mapster/wiki/Dependency-Injection" rel="nofollow noreferrer">Mapster Wiki</a> 的文档
我们在基于消费计划的功能应用中有几个功能。当我使用 JMeter(同时 200 个线程)对这些函数进行压力
原来如此。带有 .NET 4.7.2 的 RIDER 中全新的 ASP.NET MVC 应用程序,所以我不得不将构建更改为 DotNetCompilerPla
根据 <a href="https://github.com/App-vNext/Polly/wiki/Polly-and-HttpClientFactory#extending-the-convenience-addtransienthttperrorpolicy
我必须创建一个使用 Windows 窗体的小应用程序。我想使用 Simple Injector 作为 IoC 容器。 Simple Injector
我使用Simple Injector作为我的IoC容器. SimpleInjector使用 this simple technique to handle mixed life style for Per Thread and Per Web Request container.RegisterPerWebRequest<IWebRepository, Repository>(); contain
我正在启动一个多项目解决方案,它将有多个入口点,例如 Windows服务,ASP.NET网站,WebApi控制器等.我已经确定了SimpleInjector,因为它非常快,我不需要任何高级特征. 我的理解是SimpleInjector应该在启动时集中配置.从以下基本示例项目集开始 > NS.Controllers > NS.Core.Data > NS.Core.Data.Model > NS.W
我正在开发一个WinForm应用程序,我正在使用Repository Pattern,我使用Servicestack OrmLite进行数据访问,使用Simple Injector进行IoC. 在我的program.cs中我有2个注册2个不同的OrmLiteConnectionFactory但是目前我无法因为我无法注册命名…用FunQ我可以用 container.Register<IDbConne
我正在尝试使用Simple Injector(集成MVC)v 2.5.2.对于MVC 4应用程序,我也需要跟踪/记录性能(执行)(通过log4net模块).当前实现(在运行时)在指定的路径中创建log4net文件,但没有写入任何文本行(当我调试它时,一切都没有错误到_logger.Info(“message”)的结尾). 有没有人尝试使用Simple Injector DI for log4net
我遇到与 described here相同的问题,我的设置几乎是 identical to this,实际上是基于 this guide.当我访问我的控制器中的一个方法,我得到这个 An error occurred when trying to create a controller of type ‘TestController’. Make sure that the controller