• Stars
    star
    241
  • Rank 166,816 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created almost 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

基于Kestrel的网络编程应用示例

KestrelApp

基于Kestrel的网络编程应用示例

1 项目意图

  1. 了解网络编程不再需要从Socket开始
  2. 了解网络编程不再需要第三方框架(包括Dotnetty)
  3. 了解telnet over websocket over tls over xxx私有加密 over tcp的套娃网络编程
  4. 能基于KestrelFramework开发网络应用

2 文档资料

内部文档docs

外部文档

3 KestrelFramework

kestrel网络编程一些必要的基础库

  1. Kestrel中间件接口与中间注册
  2. System.Buffers: 缓冲区操作类
  3. System.IO: 流的操作类
  4. System.IO.Pipelines: 双工管道操作类
  5. Middleware: kestrel的一些中间件

4 KestrelApp

Kestrel应用程序,内容包括

  1. 监听的EndPoint的配置
  2. EndPoint使用的协议配置

5 KestrelApp.Middleware

KestrelApp的中间件类库

5.1 Echo

简单Echo应用协议的示例

5.2 FlowAnalyze

传输层流量统计中间件示例

5.3 FlowXor

传输层流量异或处理的中间件示例

5.4 HttpProxy

http代理应用协议的示例

5.5 Telnet

简单Telnet应用协议的示例

5.6 TelnetProxy

流量转发到telnet服务器的的示例

5.6 Redis

redis协议服务器,展示如何使用应用中间件的示例

开源有你更精彩

打赏

More Repositories

1

NetworkSocket

NetworkSocket是一个以中间件(middleware)扩展通讯协议,以插件(plug)扩展服务器功能的支持SSL安全传输的通讯框架;目前支持http、websocket、fast、flex策略与silverlight策略协议。
C#
459
star
2

WindivertDotnet

面向对象的WinDivert的dotnet异步封装
C#
132
star
3

CYarp

A reverse proxy toolkit to help you expose multiple local http servers behind a NAT or firewall to the internet
C#
120
star
4

ServiceSelf

为.NET 泛型主机的应用程序提供自安装为服务进程的能力
C#
113
star
5

WebApiClient.Extensions

WebApiClient项目的第三方扩展:Autofac、DependencyInjection、HttpClientFactory、SteeltoeOSS.Discovery、MessagePack、Protobuf、Json-Rpc
C#
71
star
6

Influxdb2.Client

Influxdb2的.net高性能客户端库,读写性能为官方客户端库的180%
C#
54
star
7

HttpMouse

基于yarp的http公网反向代理到内网的服务端与客户端库
C#
53
star
8

WebApiClient.Tools

WebApiClient项目的工具集,支持swagger解析生成WebApiClient的接口定义代码文件
C#
49
star
9

LuceneServer

Lucene.Net的完整服务器和客户端组件
C#
48
star
10

PredicateLib

谓词筛选表达式Expression<Func<T, bool>>的扩展库
C#
45
star
11

Paho.MqttDotnet

A .Net wrapper for eclipse/paho.mqtt.c
C#
42
star
12

DependencyInjection.Annotation

基于注解的服务自动查找与注册的DI扩展
C#
41
star
13

QMapper

快、准、狠的Mapper组件
C#
40
star
14

DebugViewer

用于捕获任意进程调用System.Diagnostics.Debugger.Log (level,category,message)输出的调试内容
C#
33
star
15

MemoryExtensions

High performance buffer types such as IArrayOwner<T>, RecyclableBufferWriter<T>, ResizableBufferWriter<T>, MemoryBufferWriter<T>, BufferReader
C#
28
star
16

AwaitableCompletionSource

AwaitableCompletionSource在多个场景下可替代TaskCompletionSource,更少的cpu时间和内存分配。
C#
27
star
17

PayProxy

提供一种支付结果回调参数调试的解决方案
C#
17
star
18

HookSln

这是提供给.Net使用的window hook和api hook托管和非托管混合项目
C#
13
star
19

HttpMessageHandlerFactory

具有生命周期管理和动态Web代理的HttpMessageHandler创建工厂
C#
12
star
20

SocketConnectionFactory

kestrel未公开的高性能的Socket客户端工厂
C#
12
star
21

WinFormHosting

WinForm for Microsoft.Extensions.Hosting
C#
6
star
22

AspnetcoreKong

aspnetcore微服务自动注册到kong的解决方案
C#
6
star
23

BaiduAdBlock

百度搜索广告过滤的chrome插件
JavaScript
6
star
24

ValidBox

ValidBox4MVC是适用于Asp.Net Mvc前后端同时验证的组件,后端支持特性验证规则和Fluent Api验证规则两种风格,而前端的验证完全是异步验证的;其兄弟ValidBox4AspNet适用于Asp.Net WebForm控件和表单验证,支持前端和后端同时验证。
C#
6
star
25

KingBrain

头脑王者小程序自动搜索答案服务+自动点击客户端+浏览器显示答案客户端
C#
5
star
26

SpiderEngineX

HttpClient+CsQuery爬虫引擎
C#
4
star
27

MemCached

这是.Net实现的MemCached二进制协议客户端
C#
4
star
28

ConfigMerge

一种Webconfig自动化升级方法
C#
2
star
29

FormattableLogging

C#
2
star
30

Logging.Debugger

Microsoft.Extensions.Logging统一日志的System.Diagnostics.Debugger日志提供者,可以使用DebugViewer工具监听日志内容
C#
2
star
31

Markdown

C#
1
star