{"id":36924087,"url":"https://github.com/xljiulang/KestrelApp","last_synced_at":"2026-01-19T18:00:40.843Z","repository":{"id":64257650,"uuid":"573861154","full_name":"xljiulang/KestrelApp","owner":"xljiulang","description":"基于Kestrel的网络编程应用示例","archived":false,"fork":false,"pushed_at":"2023-04-17T06:34:29.000Z","size":228,"stargazers_count":262,"open_issues_count":1,"forks_count":46,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-08-01T01:41:06.446Z","etag":null,"topics":["http","http-proxy","https","kestrel","middleware","pipeline","socket","tcp-server"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xljiulang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-03T17:03:34.000Z","updated_at":"2025-07-22T10:21:01.000Z","dependencies_parsed_at":"2024-12-25T00:17:32.468Z","dependency_job_id":null,"html_url":"https://github.com/xljiulang/KestrelApp","commit_stats":{"total_commits":76,"total_committers":1,"mean_commits":76.0,"dds":0.0,"last_synced_commit":"ba06920608a416fd285c24538a87ad379c1bbd1b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xljiulang/KestrelApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xljiulang%2FKestrelApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xljiulang%2FKestrelApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xljiulang%2FKestrelApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xljiulang%2FKestrelApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xljiulang","download_url":"https://codeload.github.com/xljiulang/KestrelApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xljiulang%2FKestrelApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28578952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T17:42:58.221Z","status":"ssl_error","status_checked_at":"2026-01-19T17:40:54.158Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","http-proxy","https","kestrel","middleware","pipeline","socket","tcp-server"],"created_at":"2026-01-12T19:00:25.486Z","updated_at":"2026-01-19T18:00:40.831Z","avatar_url":"https://github.com/xljiulang.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"# KestrelApp\n基于Kestrel的网络编程应用示例\n\n### 1 项目意图\n1. 了解网络编程不再需要从Socket开始\n2. 了解网络编程不再需要第三方框架(包括Dotnetty)\n3. 了解`telnet` over `websocket` over `tls` over `xxx私有加密` over `tcp`的套娃网络编程\n4. 能基于KestrelFramework开发网络应用\n\n### 2 文档资料\n**内部文档**：[docs](docs)\n\n**外部文档**\n* [Pipelines](https://learn.microsoft.com/zh-cn/dotnet/standard/io/pipelines)\n* [Buffers](https://learn.microsoft.com/zh-cn/dotnet/standard/io/buffers)\n\n### 3 KestrelFramework\nkestrel网络编程一些必要的基础库\n1. Kestrel中间件接口与中间注册\n2. System.Buffers: 缓冲区操作类\n3. System.IO: 流的操作类\n4. System.IO.Pipelines: 双工管道操作类\n5. Middleware: kestrel的一些中间件\n\n### 4 KestrelApp\nKestrel应用程序，内容包括\n1. 监听的EndPoint的配置\n2. EndPoint使用的协议配置\n\n### 5 KestrelApp.Middleware\nKestrelApp的中间件类库\n#### 5.1 Echo\n简单Echo应用协议的示例\n\n#### 5.2 FlowAnalyze\n传输层流量统计中间件示例\n\n#### 5.3 FlowXor\n传输层流量异或处理的中间件示例\n\n#### 5.4 HttpProxy\nhttp代理应用协议的示例\n\n#### 5.5 Telnet\n简单Telnet应用协议的示例\n\n#### 5.6 TelnetProxy\n流量转发到telnet服务器的的示例\n\n#### 5.6 Redis\nredis协议服务器，展示如何使用应用中间件的示例\n\n### 开源有你更精彩\n![打赏](reward.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxljiulang%2FKestrelApp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxljiulang%2FKestrelApp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxljiulang%2FKestrelApp/lists"}