Git Product home page Git Product logo

Comments (6)

nobodyiam avatar nobodyiam commented on August 19, 2024

恩,.net core的版本看上去都是读的AppSettings里面的配置

from apollo.net.

pengweiqhca avatar pengweiqhca commented on August 19, 2024

不会依赖具体的配置源,只会依赖IConfiguration。如果你需要使用server.properties,请自己将配置源添加到IConfigurationBuilder里

from apollo.net.

runningjayden avatar runningjayden commented on August 19, 2024

嗯,当时提issue的时候有考虑过这样做。但是看到.net版本实现了这个功能,core却没有,就觉得这个可能是个问题,会让使用者有困惑。

from apollo.net.

jerviscui avatar jerviscui commented on August 19, 2024

需要自己注册个 provider 吗?Environment 变量 IDC 可以默认被使用吗?

from apollo.net.

pengweiqhca avatar pengweiqhca commented on August 19, 2024

需要自己注册个 provider 吗?Environment 变量 IDC 可以默认被使用吗?

AddApollo时使用另一个传入IApolloOptions的重载

from apollo.net.

jerviscui avatar jerviscui commented on August 19, 2024

需要自己注册个 provider 吗?Environment 变量 IDC 可以默认被使用吗?

AddApollo时使用另一个传入IApolloOptions的重载

恩,好的,我也是这样做的,自己读取的配置

from apollo.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.