Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by using Grpc.Core
NET 8 and Microservices: New Tools and Techniques to Integrate
Hey team! ๐ If you've been in the development world for a while, you've likely seen the increasing adoption of microservices architectures. They offer flexibility, scalability, and a more efficient way to build complex applications. Now, with NET 8 on the scene, there are some new tools and techniques that make working with microservices even better. Let's dive into what's new and how you can take advantage of these updates in your next project! 1.
gRPC入门学习之旅(四) - DotNet菜园 - 博客园
gRPC入门学习之旅(一) 实现定义的服务 9.在“解决方案资源管理器”中,使用鼠标左键选中“Services”文件夹,然后在菜单栏上,依次选择“添加-->新建项”。 10.在“添加新项”对话框中,选择“ASP.NET Core-->代码”节点,然后选择“类”项。 11.在“名称”文本框中,输入 UserService.cs,然后选择“添加”按钮。如下图。 12.在文本编辑器打开的UserService.cs类文件,编写如下代码: using Demo.GrpcService.Protos; using Grpc.Core; namespace Demo.GrpcService.Services { public class UserInfoService : UserInfo.UserInfoBase { private readonly ILogger<GreeterService> _logger; public UserInfoService(ILogger<GreeterService> logger) { _logger = logger; } ///...
C#/.NET gRPC Service with Duplex (Bidirectional) Streaming
Download full source code from Github Introduction One of the main advantage of gRPC over REST API’s is that gRPC supports streaming methods in addition to the traditional request-response style. There are 3 kinds of streaming support in gRPC namely Client Streaming, Server Streaming and Duplex (bi-directional streaming).
ASP.NET Core gRPC 应用配置 gRPC-Web 协议
写在前面 本文介绍如何配置现有 ASP.NET Core gRPC 服务,以便使用 gRPC-Web 协议的浏览器应用也可调用。配置 gRPC-Web 后将允许浏览器中的JavaScript 和 Blazor 应用调用 gRPC 服务。 C# 实现 gRPC 服务和调用-CSDN博客 在上一篇的基础上,给服务端和客户端分别安装拓展包,Grpc.AspNetCore.Web 代码实现 配置加在服务端 using Grpc.Core; using GrpcGreeter; using static GrpcGreeter.Greeter; var builder = WebApplication.CreateBuilder(args); // Add services to the container.
gRPC之.Net6中的初步使用说明 - Qubernet - 博客园
GRPC是一个高性能、通用的开源远程过程调用(RPC)框架,基于底层HTTP/2协议标准和协议层Protobuf序列化协议开发,支持众多的开发语言,由Google开源。 gRPC也是基于以下理念:定义一个服务,指定其能够被远程调用的方法(包含参数和返回类型)。在服务端实现这个接口,并运行一个 gRPC服务器来处理客户端调用。在客户端拥有一个存根能够像服务端一样的方法。 特点: 跨语言; 基于HTTP/2之上的二进制协议; Protobuf序列化机制,比JSON体积小,网络传输快; 一个连接上可以多路复用,并发处理多个请求和响应; 多种语言的类库实现; 服务定义文件和自动代码生成(.proto 文件和 Protobuf 编译工具); 适合高性能轻量的微服务,一般对外的接口用Restful API,内部服务的调用用gRPC。gRPC是一个分布式服务框架,和以前的WebService,WCF类似; gRPC还提供了很多扩展点,用于对框架进行功能定制和扩展,例如,通过开放负载均衡接口可以无缝的与第三方组件进行集成对接(Zookeeper、域名解析服务、SLB 服务等)。...
Accessing .NET gRPC Endpoints from Anywhere via JSON Transcoding
Key Takeaways JSON transcoding is a feature that has been added to gRPC in .NET 7. It allows gRPC endpoints to be accessible via a REST API, and it's much easier to set up than any alternative technology available at the time of writing, such as gRPC-Gateway and gRPC-Web. Of course, there are some drawbacks to using JSON transcoding too. For example, it lowers the fidelity of the messaging contracts.
gRPC in Easy Samples for C#, JavaScript and Python
Introduction Benefits of gRPC Microsoft all but discontinued WCF by not including its code into .NET CORE. The best and most popular remaining solution for remote communications between different processes possibly running on different machines is gRPC or Google Remote Procedure Calls.
gRPC Introduction and Implementation
Join the DZone community and get the full member experience. Join For Free Prerequisites "Visual Studio 2022" Basic Knowledge of C# Agenda Introduction of gRPC Scenarios Where gRPC is Used Pros and Cons of gRPC Implementation of gRPC Introduction gRPC stands for Google Remote Procedure Calls. gRPC is a modern, open-source, high-performance remote procedure call (RPC) framework that can run in any environment.
Playing with gRPC and .NET 6
In this tutorial, I want to show you, step by step, how you can create a gRPC server in .NET that implements the interface defined in the "proto" file. In the next image, I mark the items that we will focus on this tutorial.
Playing with gRPC and .NET 6: Client Side
In my previous article, I focused on how we can create a gRPC server using .NET. Now, I want to show you how we can create a gRPC client using .NET. In the next image, I mark the items that we will focus on this tutorial.
gRPC vs. REST: Getting Started With the Best API Protocol
In today’s technology landscape, most projects require the use of APIs. APIs bridge communication between services that may represent a single, complex system but may also reside on separate machines or use multiple, incompatible networks or languages. Many standard technologies address the interservice communication needs of distributed systems, such as REST, SOAP, GraphQL, or gRPC.
Introduction to gRPC in .NET Core and .NET 5
gRPC is a high-performance RPC framework with pluggable authentication and load balancing features. In this post, you will learn about gRPC and protocol buffers, how to build gRPC services in .NET Core/5 using C# and also how to create gRPC clients. gRPC is a high-performance RPC framework that efficiently allows service-to-service communication within and across data centers. It also supports connecting mobile devices and browser clients to backend services.
How to Add gRPC to Your Blazor App
This post reivews how to get started with gRPC within your Blazor apps. We'll start with a basic Blazor WebAssembly app being hosted from an ASP.NET Core server, then modify it to use gRPC. The standard communication protocol between frontend clients—like Blazor—and servers have been RESTful APIs using JSON structured data as the default for more than a few years now.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with using
Contact using, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack