如标题:控制台应用程序在执行以下行时崩溃
disco = await DiscoveryClient.GetAsync("http://localhost:5000");
没有抛出异常,即使我将它包装在try catch
调试中也只是在线中断;输出中没有相关信息。Visual Studio 只是停止调试应用程序并返回到编辑模式。
有没有人遇到过类似的事情?:( 我可以尝试做什么?
我正在使用 VS2015,控制台应用程序是 .NETCoreApp v1.0,使用“IdentityModel”:“2.0.0-rc6”;。Identity Server 4 在 localhost:5000、.NETCoreApp v1.0 上运行。
使用https://demo.identityserver.io参数调用GetAsync
方法也会导致错误描述。
我正在关注本教程:https ://identityserver4.readthedocs.io/en/dev/quickstarts/1_client_credentials.html