...
首页> 外文期刊>MSDN Magazine >Streaming Methods in ASPNET Core gRPC Services
【24h】

Streaming Methods in ASPNET Core gRPC Services

机译:ASPNET Core gRPC Services中的流方法

获取原文
获取原文并翻译 | 示例
           

摘要

In the previous installment of Cutting Edge, I walked through building a new type of service based on the gRPC framework that (although available to C# developers for a while) in ASP.NET Core 3.0 debuts as a native service hosted directly by Kestrel. The gRPC framework is suited for peer-to-peer binary communication between connected endpoints-mostly, but not necessarily, microservices. It also supports up-to-date technical solutions such as Google Proto-buffor serialization of content and HTTP/2 for transportation. Visual Studio 2019 comes with an ASP.NET Core 3.0 project template for creating the skeleton of a gRPC service in just a few clicks. For a primer both about gRPC and the starter kit generated by Visual Studio, you can check out my July column at msdn.com/ magazine/mt833481. This month I take my exploration of gRPC one step further. First, I'll cover the underlying tooling in a bit more detail. In fact, some tooling is necessary to parse the content of the proto file to C# classes to be used as the foundation of both client and service implementations. In addition, I'll touch on streaming methods and complex message classes. Finally, I'll focus on how to integrate streamed gRPC methods in the UI of a Web client application.
机译:在上一版的《 Cutting Edge》中,我逐步构建了基于gRPC框架的新型服务,该框架(虽然C#开发人员可以使用一段时间)在ASP.NET Core 3.0中作为由Kestrel直接托管的本机服务首次亮相。 gRPC框架适用于连接的端点之间的对等二进制通信-大多数但不一定是微服务。它还支持最新的技术解决方案,例如Google Pro-buffor内容序列化和用于传输的HTTP / 2。 Visual Studio 2019随附一个ASP.NET Core 3.0项目模板,只需单击几下即可创建gRPC服务的框架。有关gRPC和Visual Studio生成的入门工具包的入门知识,您可以在msdn.com/magazine/mt833481上查看我的7月专栏文章。本月,我将进一步探索gRPC。首先,我将更详细地介绍基础工具。实际上,需要一些工具来将原型文件的内容解析为C#类,以用作客户端和服务实现的基础。另外,我将介绍流方法和复杂的消息类。最后,我将重点介绍如何在Web客户端应用程序的UI中集成流式gRPC方法。

著录项

  • 来源
    《MSDN Magazine》 |2019年第9期|44-47|共4页
  • 作者

    DINO ESPOSITO;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号