我做了一个干净的Windows 10和Visual Studio 2015安装,并没有找到任何地方的makecert.exe.是否需要安装其他软件才能恢复此程序?
我查看了"C:\ Program Files(x86)\ Microsoft SDKs\Windows \\"下的所有文件夹,但没有看到任何文件夹.
我还打开了"VS2015的开发人员命令提示符"并尝试运行"makecert",但未找到.
我正在使用Unity将一个服务实例注入我的ASP.NET Web API控制器的构造函数中.
在下面的代码中,我想根据发出的http请求注入不同的IAuthenticationService实现.
这可能吗?
public class AuthenticateController : ApiController
{
public AuthenticateController(IAuthenticationService authenticationService)
{
}
Run Code Online (Sandbox Code Playgroud)