AspNetCore3.0 WebApi+SignalR 实现通信

上传者: lutan20 | 上传时间: 2021-04-19 17:44:25 | 文件大小: 592KB | 文件类型: 7Z
本教程介绍生成使用 SignalR 的实时应用的基础知识。 您将学习如何: 创建 Web 项目。 添加 SignalR 客户端库。 创建 SignalR 中心。 配置项目以使用 SignalR。 添加可将消息从任何客户端发送到所有连接客户端的代码。 最终将创建一个正常运行的聊天应用:

文件下载

资源详情

[{"title":"( 49 个子文件 592KB ) AspNetCore3.0 WebApi+SignalR 实现通信","children":[{"title":"SignalRAPI","children":[{"title":"SignalRAPI.sln <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":".vs","children":[{"title":"SignalRAPI","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 30.50KB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"sqlite3","children":[{"title":"db.lock <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"storage.ide <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"config","children":[{"title":"applicationhost.config <span style='color:#111;'> 79.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"DesignTimeBuild","children":[{"title":".dtbcache <span style='color:#111;'> 507.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"SignalRAPI","children":[{"title":"Startup.cs <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"SignalRApi.csproj <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"libman.json <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"Chat","children":[{"title":"ChatHub.cs <span style='color:#111;'> 974B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"netcoreapp3.0","children":[{"title":"SignalRAPI.runtimeconfig.dev.json <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"libman.json <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"launchSettings.json <span style='color:#111;'> 778B </span>","children":null,"spread":false}],"spread":true},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 641.00KB </span>","children":null,"spread":false},{"title":"SignalRAPI.pdb <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"appsettings.Development.json <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"SignalRAPI.dll <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"SignalRAPI.exe <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"appsettings.json <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"System.Net.WebSockets.WebSocketProtocol.dll <span style='color:#111;'> 54.64KB </span>","children":null,"spread":false},{"title":"SignalRAPI.deps.json <span style='color:#111;'> 132.82KB </span>","children":null,"spread":false},{"title":"SignalRAPI.runtimeconfig.json <span style='color:#111;'> 224B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"SignalRApi.csproj.nuget.cache <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"project.assets.json <span style='color:#111;'> 80.34KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"netcoreapp3.0","children":[{"title":"SignalRAPI.AssemblyInfoInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"SignalRAPI.RazorTargetAssemblyInfo.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"SignalRApi.exe <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"SignalRApi.MvcApplicationPartsAssemblyInfo.cache <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SignalRAPI.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"SignalRAPI.pdb <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"SignalRAPI.AssemblyInfo.cs <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"SignalRAPI.assets.cache <span style='color:#111;'> 23.46KB </span>","children":null,"spread":false},{"title":"SignalRAPI.dll <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"staticwebassets","children":[{"title":"SignalRAPI.StaticWebAssets.xml <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"SignalRAPI.StaticWebAssets.Manifest.cache <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"SignalRApi.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SignalRApi.csprojAssemblyReference.cache <span style='color:#111;'> 424B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"SignalRAPI.csproj.nuget.dgspec.json <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"SignalRAPI.csproj.nuget.g.targets <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"SignalRAPI.csproj.nuget.g.props <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"launchSettings.json <span style='color:#111;'> 778B </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"appsettings.Development.json <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"appsettings.json <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"wwwroot","children":[{"title":"js","children":[{"title":"signalr","children":[{"title":"dist","children":[{"title":"browser","children":[{"title":"signalr.js <span style='color:#111;'> 220.26KB </span>","children":null,"spread":false},{"title":"signalr.min.js <span style='color:#111;'> 117.79KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"Controllers","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"web","children":[{"title":"signalr.min.js <span style='color:#111;'> 117.79KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"jquery.min.js <span style='color:#111;'> 83.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明