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

资源简介


资源截图

代码片段和文件信息

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 NetCoreLoadFilesSample
{
    public class Program
    {
        public static void Main(string[] args)
        {
            BuildWebHost(args).Run();
        }

        public static IWebHost BuildWebHost(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseStartup()
                .Build();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\NetCoreLoadFilesSample\
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\NetCoreLoadFilesSample\v15\
     文件       82944  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\NetCoreLoadFilesSample\v15\.suo
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\NetCoreLoadFilesSample\v15\sqlite3\
     文件     1978368  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\NetCoreLoadFilesSample\v15\sqlite3\storage.ide
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\config\
     文件       79302  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\.vs\config\applicationhost.config
     文件        1137  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample.sln
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\
     文件          12  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\.gitignore
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Controllers\
     文件        2385  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Controllers\HomeController.cs
     文件         934  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Controllers\ValuesController.cs
     文件         382  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\NetCoreLoadFilesSample.csproj
     文件         614  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Program.cs
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Properties\
     文件         701  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Properties\launchSettings.json
     文件        2281  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Startup.cs
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Home\
     文件         701  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Home\Index.cshtml
     文件         702  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Home\Upload.cshtml
     文件        1230  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Home\UploadFiles.cshtml
     目录           0  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Shared\
     文件         710  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Shared\Error.cshtml
     文件        3168  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Shared\_Layout.cshtml
     文件        1160  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\Shared\_ValidationscriptsPartial.cshtml
     文件          86  2017-09-12 08:32  NetCoreLoadFilesSample-master\NetCoreLoadFilesSample\NetCoreLoadFilesSample\Views\_ViewImports.cshtml
............此处省略346个文件信息

评论

共有 条评论