Git Product home page Git Product logo

abp.grpc's Issues

会考虑支持Abp vnext不?

abp vnext里没找到使用consul的开源方案。
同时rest api的自动生成和rest api client的自动生成。如果能整合在自动生成内,就比较方便了嗯。

虫洞区块链技术社区合作邀约(技术签约作者入驻)

Zony大神

您好,我是虫洞区块链技术社区的内容运营:小小舒。之前有幸在您的博客里看到一篇推文《[C#] 使用 C# 编写自己区块链的挖矿算法》,觉得您对区块链技术的理解特别深,想邀请您作为签约作者入驻我们新筹备的区块链技术社区:虫洞。目前邀约作者是为产品上线做内容储备,如果您这边同意签约的话,待虫洞上线之后过来注册发文就行。

咱们这边给到签约作者的奖励主要有:

代币奖励:作者每发布一篇精华原创文章,平台这边会奖励您2万token。2万token一篇,按篇打币(单个token的锚定价格在0.05-0.1元之间)

流量扶持:站内加精、社区公众号、自媒体官方号头条全网推送

个人IP打造:有机会成为虫洞区块链直播课程主讲人,虫洞社群分享大咖(PS:咱们之前是做区块链课程培训起家,目前课程与社区两项目并行)

因为虫洞目前正处于冷启动阶段,一些相关文档还未对外公布,但我们之前做智能合约开发和共识算法课程已经积累了近千人的开发者和发烧友,现在做社区也是想借助作者及平台的力量帮助更多开发者从行业外走向行业内,看了您的文章,觉得里面的内容能够真正的帮助到开发者,我们也希望能够用全站的力量帮您推广文章。

方便的话,可以留个微信交流,或者加我微信:1176311242
期待回复,谢谢!

以上

如何在abpvnext中使用?

我已经在正式环境中使用abp vnext了,拿了一个小产品尝试,还比较稳定,开发效率相对低一点。
考虑使用Abp.Grpc实现服务注册发现,方便开始支持abp vnext了不?有个简单的demo也要的。

实现可用服务发现

目前客户端在向 Consul 获取可用服务端的时候,使用的是 GetRemoteService 方法来进行发现,但是在其内部实现仍然是获取的缓存的 Channel。如果目标服务器故障的话,再次调用 GetRemoteService 会导致使用缓存的 Channel。

请问服务接口实现应该如何使用依赖注入?

3.1.5 实现提供的服务接口

public class MyService : ServiceBase<IMyService>,IMyService
{
    public UnaryResult<int> CalculateNumber(int x,int y)
    {
        return UnaryResult(x + y);
    }
}

关于实现服务接口,请问这里怎样才能使用ABP的依赖注入系统?
调用时的服务实例创建并没有被依赖注入容器管理,
IocManager.Instance.Resolve可用,但是对单元测试不友好,不知大佬是否有更好的办法?

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.