All Projects → steveleeCN87 → doteasy.rpc

steveleeCN87 / doteasy.rpc

Licence: Apache-2.0 license
Inspired by microservices, a lightweight framework that looks like a rabbit, based on NET Core 2.0 Standard 2 core library

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to doteasy.rpc

Study.Microservices
一步一步,由浅入深,学习如何使用.net core搭建微服务框架。
Stars: ✭ 18 (-70.97%)
Mutual labels:  consul, rpc, netcore, dotnetty
Javaspringbootsamples
SpringBoot、Dubbo、SpringCloud的各种集成例子:Atomikos、gRPC、Thrift、Seata、ShardingSphere、Dubbo、Hmily、Nacos、Consul、Ribbon、Jedis、Lettuce、Redisson等框架
Stars: ✭ 399 (+543.55%)
Mutual labels:  consul, rpc
Platform Compat
Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
Stars: ✭ 250 (+303.23%)
Mutual labels:  roslyn, netcore
Library
A microservice project using .NET Core 2.0, DDD, CQRS, Event Sourcing, Redis and RabbitMQ
Stars: ✭ 122 (+96.77%)
Mutual labels:  consul, netcore
Gb28181.solution
Linux/Win/Docker/kubernetes/Chart/Kustomize/GB28181/SIP/RTP/SDP/WebRTC/作为上下级域/平台级联互联
Stars: ✭ 323 (+420.97%)
Mutual labels:  rpc, netcore
Notlitecode
Remote Encrypted Procedure Calling for .Net & .Net Core
Stars: ✭ 16 (-74.19%)
Mutual labels:  rpc, netcore
Jimu
.netcore micro service framework
Stars: ✭ 315 (+408.06%)
Mutual labels:  consul, rpc
Norns
dotnet core aop static weaving on roslyn
Stars: ✭ 23 (-62.9%)
Mutual labels:  roslyn, netcore
Winton.extensions.configuration.consul
Enables Consul to be used as a configuration source in dotnet core applications
Stars: ✭ 239 (+285.48%)
Mutual labels:  consul, netcore
Spring Dubbo Service
微服务 spring dubbo项目:dubbo rpc;druid数据源连接池;mybatis配置集成,多数据源;jmx监控MBean;定时任务;aop;ftp;测试;Metrics监控;参数验证;跨域处理;shiro权限控制;consul服务注册,发现;redis分布式锁;SPI服务机制;cat监控;netty服务代理;websocket;disconf;mongodb集成;rest;docker;fescar
Stars: ✭ 224 (+261.29%)
Mutual labels:  consul, rpc
Sharer
Arduino & .NET serial communication library to read/write variables and remote call functions using the Sharer protocol. Works on Windows, Linux and MacOS.
Stars: ✭ 21 (-66.13%)
Mutual labels:  rpc, netcore
Uragano
Uragano, A simple, high performance RPC library. Support load balancing, circuit breaker, fallback, caching, intercepting.
Stars: ✭ 28 (-54.84%)
Mutual labels:  consul, dotnetty
coreipc
WCF-like service model API for communication over named pipes and TCP. .NET and node.js clients.
Stars: ✭ 22 (-64.52%)
Mutual labels:  rpc, netcore
Pluginframework
Everything is a Plugin in .NET
Stars: ✭ 197 (+217.74%)
Mutual labels:  roslyn, netcore
Autofac
An addictive .NET IoC container
Stars: ✭ 3,713 (+5888.71%)
Mutual labels:  netcore, autofac
Blog.core
💖 ASP.NET Core 6.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
Stars: ✭ 3,542 (+5612.9%)
Mutual labels:  netcore, autofac
WinReform
A simple tool to help resize and relocate stubborn windows.
Stars: ✭ 20 (-67.74%)
Mutual labels:  netcore, autofac
Core Grpc
C# Grpc驱动封装,基于Consul实现服务注册服务发现,支持dotnetcore / framework,可快速实现基于Grpc的微服务,内部有完整案例,包含服务端Server 客户端 Client,core+grpc, netcore+grpc, dotnetcore+grpc
Stars: ✭ 209 (+237.1%)
Mutual labels:  consul, netcore
Autofac.Configuration
Configuration support for Autofac IoC
Stars: ✭ 35 (-43.55%)
Mutual labels:  netcore, autofac
Cometary
Roslyn extensions, with a touch of meta-programming.
Stars: ✭ 31 (-50%)
Mutual labels:  roslyn, netcore

DotEasy.RPC

中文介绍

Image text

Image text

Introduction

With the continuous development of the website system, the complexity of the architecture will change from MVC->SOA->microservices, from simple to complex, from centralized to distributed. The introduction of the service framework is SOA->microservice process The problem that must be solved. In the face of the increase in services, the deployment of service distribution, the mutual call between services and services, have to use the service framework to solve. Based on NET Core 2.0 Standard 2 development, DotEasy.RPC supports transparent calls from the client to the server, just as simple as an implementation call to an interface.

Features and dependence

  1. Automate assembly and construction of related component types using Microsoft.Extensions.Dependency Injection.
  2. Serialization of byte streams using protobuf-net
  3. Generated by Roslyn's runtime client proxy
  4. Communication pipeline and host built on DotNetty

More

http://www.cnblogs.com/SteveLee/

How to use

for the server and add the code in you Web API Core, implement microservice middleware injection.

app.UseConsulServerExtensions(Configuration,
    collection =>
    {
        collection.AddSingleton<IProxyService, ProxyImpl>();
    },
    typeof(AuthorizationServerProvider)
);

and in the console application, you can use interface proxy the implement client code.

using (var proxy = ClientProxy.Generate<IProxyService>(new Uri("http://127.0.0.1:8500")))
{
    Console.WriteLine($@"{proxy.Sync(1)}");
    Console.WriteLine($@"{proxy.Async(1).Result}");
    Console.WriteLine($@"{proxy.GetDictionaryAsync().Result["key"]}");
}

Change log

1.0.3

  1. Greatly simplify the writing of client-side calling code, read to 'How to use'.
  2. Support the client to access the service node in the form of token.
  3. Class instance auto disponse.

1.0.2

  1. Added precompiled synchronous and asynchronous remote invocation methods, unforcing the use of Task as asynchronous calls and precompiled builds.

1.0.1

  1. Added Consul registration and callback to implement the configuration of the Consul registry.
  2. Added Entry lazy entry class library package to implement Asp.net middleware extension and host based on Console application.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].