asp.net core 使用SignalR推送消息

上传者: coderk2014 | 上传时间: 2021-09-27 09:57:28 | 文件大小: 776KB | 文件类型: ZIP
asp.net core 使用SignalR实现简单的消息推送: 1、简单在线聊天功能(推送消息给所有在线的客户端) 2、推送消息给指定用户(定向推送消息)

文件下载

资源详情

[{"title":"( 78 个子文件 776KB ) asp.net core 使用SignalR推送消息","children":[{"title":"SignalRDemo","children":[{"title":"说明.txt <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"SignalRDemo.sln <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"web","children":[{"title":"Program.cs <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"appsettings.Development.json <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"Controllers","children":[{"title":"AccountController.cs <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"HomeController.cs <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"appsettings.json <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"web.csproj.nuget.g.targets <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"web.csproj.nuget.g.props <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"netcoreapp2.1","children":[{"title":"web.assets.cache <span style='color:#111;'> 104.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"netcoreapp2.2","children":[{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"web.csproj.FileListAbsolute.txt <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"web.Views.dll <span style='color:#111;'> 44.50KB </span>","children":null,"spread":false},{"title":"web.RazorAssemblyInfo.cs <span style='color:#111;'> 934B </span>","children":null,"spread":false},{"title":"web.AssemblyInfoInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"web.pdb <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"web.TagHelpers.output.cache <span style='color:#111;'> 98.13KB </span>","children":null,"spread":false},{"title":"web.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"web.RazorTargetAssemblyInfo.cs <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"project.razor.json <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"web.TagHelpers.input.cache <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"web.Views.pdb <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"web.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"web.csprojResolveAssemblyReference.cache <span style='color:#111;'> 240.85KB </span>","children":null,"spread":false},{"title":"web.AssemblyInfo.cs <span style='color:#111;'> 999B </span>","children":null,"spread":false},{"title":"web.RazorAssemblyInfo.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"web.RazorCoreGenerate.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"web.RazorTargetAssemblyInfo.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"web.csprojAssemblyReference.cache <span style='color:#111;'> 192.02KB </span>","children":null,"spread":false},{"title":"web.assets.cache <span style='color:#111;'> 113.46KB </span>","children":null,"spread":false},{"title":"Razor","children":[{"title":"Views","children":[{"title":"Home","children":[{"title":"MyMsg.g.cshtml.cs <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false},{"title":"Post.g.cshtml.cs <span style='color:#111;'> 8.11KB </span>","children":null,"spread":false},{"title":"Index.g.cshtml.cs <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"Chat.g.cshtml.cs <span style='color:#111;'> 9.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"Account","children":[{"title":"Login.g.cshtml.cs <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"_ViewStart.g.cshtml.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Shared","children":[{"title":"_Layout.g.cshtml.cs <span style='color:#111;'> 12.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"web.dll <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"web.csproj.nuget.cache <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"project.assets.json <span style='color:#111;'> 536.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"netcoreapp2.2","children":[{"title":"web.runtimeconfig.json <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"web.Views.dll <span style='color:#111;'> 44.50KB </span>","children":null,"spread":false},{"title":"web.pdb <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"web.Views.pdb <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"web.deps.json <span style='color:#111;'> 229.26KB </span>","children":null,"spread":false},{"title":"web.dll <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false},{"title":"web.runtimeconfig.dev.json <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Views","children":[{"title":"Home","children":[{"title":"Post.cshtml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Chat.cshtml <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"Index.cshtml <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"MyMsg.cshtml <span style='color:#111;'> 597B </span>","children":null,"spread":false}],"spread":true},{"title":"Account","children":[{"title":"Login.cshtml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"Shared","children":[{"title":"_Layout.cshtml <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"_ViewStart.cshtml <span style='color:#111;'> 35B </span>","children":null,"spread":false}],"spread":true},{"title":"Model","children":[{"title":"MessageBody.cs <span style='color:#111;'> 148B </span>","children":null,"spread":false}],"spread":true},{"title":"web.csproj <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"Startup.cs <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"launchSettings.json <span style='color:#111;'> 670B </span>","children":null,"spread":false}],"spread":false},{"title":"wwwroot","children":[{"title":"js","children":[{"title":"mysignalr.js <span style='color:#111;'> 956B </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":null,"spread":false},{"title":"lib","children":[{"title":"bootstrap","children":[{"title":"dist","children":[{"title":"js","children":[{"title":"bootstrap.bundle.min.js.map <span style='color:#111;'> 304.64KB </span>","children":null,"spread":false},{"title":"bootstrap.js <span style='color:#111;'> 132.88KB </span>","children":null,"spread":false},{"title":"bootstrap.bundle.js <span style='color:#111;'> 224.54KB </span>","children":null,"spread":false},{"title":"bootstrap.js.map <span style='color:#111;'> 244.70KB </span>","children":null,"spread":false},{"title":"bootstrap.bundle.js.map <span style='color:#111;'> 392.82KB </span>","children":null,"spread":false},{"title":"bootstrap.min.js.map <span style='color:#111;'> 185.79KB </span>","children":null,"spread":false},{"title":"bootstrap.bundle.min.js <span style='color:#111;'> 76.80KB </span>","children":null,"spread":false},{"title":"bootstrap.min.js <span style='color:#111;'> 56.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":[{"title":"bootstrap.css <span style='color:#111;'> 197.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"signalr","children":[{"title":"dist","children":[{"title":"signalr.js <span style='color:#111;'> 128.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"jquery","children":[{"title":"dist","children":[{"title":"jquery.js <span style='color:#111;'> 275.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"favicon.ico <span style='color:#111;'> 31.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"Core","children":[{"title":"MyHub.cs <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"tasks.json <span style='color:#111;'> 333B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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