• 大小: 0.10M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: asp.net  SignalR  webapi  

资源简介


资源截图

代码片段和文件信息

using Owin; 
using System; 
using System.Collections.Generic; 
using System.Threading.Tasks; 
using Microsoft.AspNetCore.Builder; 

namespace ASPNETCoreSignalRDemo
{
    using Microsoft.Owin.Builder;
    using AppFunc = Funcject> Task>;

    public static class AppBuilderExtensions 
    { 
        public static IApplicationBuilder UseAppBuilder(this IApplicationBuilder app Action configure) 
        { 
            app.UseOwin(addToPipeline => 
            { 
                addToPipeline(next => 
                { 
                    var appBuilder = new AppBuilder(); 
                    appBuilder.Properties[“builder.DefaultApp“] = next; 
 
                    configure(appBuilder); 
 
                    return appBuilder.Bu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-07-07 23:29  .vs\
     目录           0  2016-07-07 23:29  .vs\ASPNETCoreSignalRDemo\
     目录           0  2016-07-07 23:29  .vs\ASPNETCoreSignalRDemo\v14\
     文件       97792  2016-07-07 23:28  .vs\ASPNETCoreSignalRDemo\v14\.suo
     目录           0  2016-07-07 23:29  .vs\config\
     文件       86159  2016-06-30 00:39  .vs\config\applicationhost.config
     文件         146  2016-07-07 18:25  .vs\restore.dg
     文件        1537  2016-06-24 01:38  ASPNETCoreSignalRDemo.sln
     文件        1108  2017-12-21 17:10  database.sql
     文件         100  2016-06-29 16:42  global.json
     目录           0  2016-07-07 23:29  src\
     目录           0  2016-07-07 23:30  src\ASPNETCoreSignalRDemo\
     目录           0  2016-07-07 23:29  src\ASPNETCoreSignalRDemo\API\
     文件         680  2016-07-07 18:46  src\ASPNETCoreSignalRDemo\API\PollController.cs
     文件        1082  2016-07-07 18:26  src\ASPNETCoreSignalRDemo\AppBuilderExtensions.cs
     文件         328  2016-07-06 00:00  src\ASPNETCoreSignalRDemo\appsettings.json
     文件        1170  2016-06-24 01:38  src\ASPNETCoreSignalRDemo\ASPNETCoreSignalRDemo.xproj
     文件         241  2016-06-24 01:38  src\ASPNETCoreSignalRDemo\ASPNETCoreSignalRDemo.xproj.user
     目录           0  2016-07-07 23:29  src\ASPNETCoreSignalRDemo\Controllers\
     文件        1049  2016-07-07 19:30  src\ASPNETCoreSignalRDemo\Controllers\HomeController.cs
     文件         977  2016-06-24 01:38  src\ASPNETCoreSignalRDemo\Controllers\ValuesController.cs
     目录           0  2016-07-07 23:29  src\ASPNETCoreSignalRDemo\Hubs\
     文件         327  2016-07-07 23:28  src\ASPNETCoreSignalRDemo\Hubs\PollHub.cs
     目录           0  2016-07-07 23:29  src\ASPNETCoreSignalRDemo\Models\
     目录           0  2016-07-07 23:29  src\ASPNETCoreSignalRDemo\Models\DB\
     文件        1456  2016-07-07 16:43  src\ASPNETCoreSignalRDemo\Models\DB\ASPNETCoreDemoDBContext.cs
     文件         438  2016-07-07 16:43  src\ASPNETCoreSignalRDemo\Models\DB\Poll.cs
     文件         377  2016-06-29 22:04  src\ASPNETCoreSignalRDemo\Models\DB\PollOption.cs
     文件         294  2016-07-07 16:43  src\ASPNETCoreSignalRDemo\Models\IPollManager.cs
     文件        2247  2016-07-07 16:43  src\ASPNETCoreSignalRDemo\Models\PollManager.cs
     目录           0  2016-07-07 23:29  src\ASPNETCoreSignalRDemo\Models\ViewModels\
............此处省略18个文件信息

评论

共有 条评论