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

Apollo.AspNetCore.Demo里面的说明是不是有问题 #249

Closed
Rhaegarlai opened this issue Dec 25, 2024 · 2 comments
Closed

Apollo.AspNetCore.Demo里面的说明是不是有问题 #249

Rhaegarlai opened this issue Dec 25, 2024 · 2 comments

Comments

@Rhaegarlai
Copy link

Rhaegarlai commented Dec 25, 2024

demo中是这样写的
builder.Host.AddApollo(false);
但是注释是这样apollo配置源,false:环境变量、命令行之类;true:appsettings.json之类
然后文档(https://github.com/apolloconfig/apollo.net/blob/main/src/Apollo.Configuration/README.md) 又是这样说明

3.3 Demo
apollo.net项目中有多个样例客户端的项目:

Apollo.AspNetCore.Demo(使用appsettings.json配置)
Apollo.Configuration.Demo(使用环境变量配置)

那到底这个demo是appsettings.json还是环境变量

@Rhaegarlai
Copy link
Author

然后demo的文件目录下又没有.json文件

@pengweiqhca
Copy link
Contributor

写反了

apollo.net项目中有多个样例客户端的项目:

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

2 participants