- What is your product version? ASPNET Zero 10.4
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .net core 5.0
- What is ABP Framework version? 6.4
We use the latest ASPNET Zero genrated solution. We are adding a new integration test project. Most is working fine.
However, the generated class MyCompanyJwtSecurityTokenHandler under MyCompany.Web.Authentication.JwtBearer uses lots of IocManager.Instance to resolve dependencies. IocManager.Instance is fine normally, but in a test project, it doesn't resolve dependencies. IIocManager should be used in my reading, that is designed for test projects.
How should we fix this class? It is hard constructed by AuthConfigurer.Configure() method.