Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新至.netcore 7后,aspnetcore项目启动无法读取配置 #226

Open
lenoray opened this issue Feb 21, 2023 · 5 comments
Open

更新至.netcore 7后,aspnetcore项目启动无法读取配置 #226

lenoray opened this issue Feb 21, 2023 · 5 comments

Comments

@lenoray
Copy link

lenoray commented Feb 21, 2023

更新至.netcore 7后,aspnetcore项目启动无法读取配置,.netcore6项目升级Microsoft.Extensions.Configuration至7.0后,也无法读取。

@pengweiqhca
Copy link
Contributor

你可以通过Apollo.AspNetCore.Demo测试,我没有发现问题

@scotly
Copy link

scotly commented Apr 28, 2023

image
我用Apollo.AspNetCore.Demo调试私有配置,源码返回的内容好像是登陆的html页面。
然后我就在配置文件中添加了Secret,结果还是一样。
怎么配置apollo的登陆信息?

@pengweiqhca
Copy link
Contributor

打开日志中的链接返回内容是什么?如果不是json说明返回有问题

@scotly
Copy link

scotly commented Apr 28, 2023

是html
33333

@pengweiqhca
Copy link
Contributor

如果是HTML则说明服务端问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants