Vla*_*nko 5 asp.net iis identityserver4
我正在尝试使用 IdentityServer 4。现在我使用此链接https://github.com/IdentityServer/IdentityServer4.Samples作为示例。
我的问题是,使用 http://localhost:22530/ IdentityServer 加载并工作,但在我的 IIS 上使用它作为托管网站,在http://identity.test.dev下它没有加载。
我已经尝试运行此示例中的代码https://github.com/IdentityServer/IdentityServer4.Samples/tree/dev/Mvc/src/IdSvrHost但它不起作用。
如何通过http://identity.test.dev在 IIS 下启动 IdentityServer ?
看来我解决了我的问题。
例如,当发布期间并非所有文件夹和文件都被标记为复制时。这就是我添加它们的原因,请参阅下面的代码:
项目.json
"publishOptions": {
"include": [
"wwwroot",
"UI",
"damienbodserver.pfx",
"web.config"
]}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2749 次 |
| 最近记录: |