资源简介

NET CORE 下实现WEB SOCKET通信示例

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;

namespace WebApplication1
{
    public class Program
    {
        public static void Main(string[] args)
        {
            CreateWebHostBuilder(args).Build().Run();
        }

        public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseStartup();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-09-29 15:19  WebApplication1\
     目录           0  2019-09-29 14:27  WebApplication1\Controllers\
     文件        1026  2019-09-29 14:28  WebApplication1\Controllers\ValuesController.cs
     文件         637  2019-09-29 14:28  WebApplication1\Program.cs
     目录           0  2019-09-29 14:27  WebApplication1\Properties\
     文件         788  2019-09-29 14:27  WebApplication1\Properties\launchSettings.json
     文件        3146  2019-09-29 15:19  WebApplication1\Startup.cs
     文件         572  2019-09-29 14:44  WebApplication1\WebApplication1.csproj
     文件         146  2019-09-29 14:27  WebApplication1\appsettings.Development.json
     文件         105  2019-09-29 14:27  WebApplication1\appsettings.json
     目录           0  2019-09-29 14:28  WebApplication1\bin\
     目录           0  2019-09-29 14:28  WebApplication1\bin\Debug\
     目录           0  2019-09-29 14:29  WebApplication1\bin\Debug\netcoreapp2.2\
     文件      235168  2019-09-29 14:44  WebApplication1\bin\Debug\netcoreapp2.2\WebApplication1.deps.json
     文件       12288  2019-09-29 14:44  WebApplication1\bin\Debug\netcoreapp2.2\WebApplication1.dll
     文件        2100  2019-09-29 14:44  WebApplication1\bin\Debug\netcoreapp2.2\WebApplication1.pdb
     文件         232  2019-09-29 14:29  WebApplication1\bin\Debug\netcoreapp2.2\WebApplication1.runtimeconfig.dev.json
     文件         224  2019-09-29 14:29  WebApplication1\bin\Debug\netcoreapp2.2\WebApplication1.runtimeconfig.json
     目录           0  2019-09-29 14:28  WebApplication1\obj\
     目录           0  2019-09-29 14:28  WebApplication1\obj\Debug\
     目录           0  2019-09-29 14:29  WebApplication1\obj\Debug\netcoreapp2.2\
     文件           0  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     文件        1028  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.AssemblyInfo.cs
     文件          42  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.AssemblyInfoInputs.cache
     文件          42  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.RazorAssemblyInfo.cache
     文件         939  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.RazorAssemblyInfo.cs
     文件          42  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.RazorTargetAssemblyInfo.cache
     文件      114995  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.assets.cache
     文件          42  2019-09-29 14:28  WebApplication1\obj\Debug\netcoreapp2.2\WebApplication1.csproj.CoreCompileInputs.cache
............此处省略11个文件信息

评论

共有 条评论