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

资源简介


资源截图

代码片段和文件信息

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

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-06 15:50  SwaggerFileUpload\
     目录           0  2018-05-06 15:47  SwaggerFileUpload\Controllers\
     文件         940  2018-04-22 15:06  SwaggerFileUpload\Controllers\ValuesController.cs
     文件         609  2018-04-22 15:06  SwaggerFileUpload\Program.cs
     目录           0  2018-05-06 15:50  SwaggerFileUpload\Properties\
     文件         655  2018-05-06 15:50  SwaggerFileUpload\Properties\launchSettings.json
     文件        1361  2018-04-22 15:06  SwaggerFileUpload\Startup.cs
     文件         520  2018-04-22 15:06  SwaggerFileUpload\SwaggerFileUpload.csproj
     文件         241  2018-05-06 15:51  SwaggerFileUpload\SwaggerFileUpload.csproj.user
     文件        1470  2018-04-22 15:06  SwaggerFileUpload\SwaggerFileUploadFilter.cs
     文件         168  2018-04-22 15:06  SwaggerFileUpload\appsettings.Development.json
     文件         213  2018-04-22 15:06  SwaggerFileUpload\appsettings.json
     目录           0  2018-05-06 15:50  SwaggerFileUpload\bin\
     目录           0  2018-05-06 15:50  SwaggerFileUpload\bin\Debug\
     目录           0  2018-05-06 15:51  SwaggerFileUpload\bin\Debug\netcoreapp2.0\
     文件      267862  2018-05-06 15:51  SwaggerFileUpload\bin\Debug\netcoreapp2.0\SwaggerFileUpload.deps.json
     文件       10240  2018-05-06 15:51  SwaggerFileUpload\bin\Debug\netcoreapp2.0\SwaggerFileUpload.dll
     文件        2112  2018-05-06 15:51  SwaggerFileUpload\bin\Debug\netcoreapp2.0\SwaggerFileUpload.pdb
     文件         252  2018-05-06 15:51  SwaggerFileUpload\bin\Debug\netcoreapp2.0\SwaggerFileUpload.runtimeconfig.dev.json
     文件         221  2018-05-06 15:51  SwaggerFileUpload\bin\Debug\netcoreapp2.0\SwaggerFileUpload.runtimeconfig.json
     目录           0  2018-05-06 15:51  SwaggerFileUpload\obj\
     目录           0  2018-05-06 15:50  SwaggerFileUpload\obj\Debug\
     目录           0  2018-05-06 15:51  SwaggerFileUpload\obj\Debug\netcoreapp2.0\
     文件        1034  2018-05-06 15:50  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.AssemblyInfo.cs
     文件          42  2018-05-06 15:50  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.AssemblyInfoInputs.cache
     文件          42  2018-05-06 15:51  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.csproj.CoreCompileInputs.cache
     文件        1618  2018-05-06 15:51  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.csproj.FileListAbsolute.txt
     文件     1727780  2018-05-06 15:51  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.csprojResolveAssemblyReference.cache
     文件       10240  2018-05-06 15:51  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.dll
     文件        2112  2018-05-06 15:51  SwaggerFileUpload\obj\Debug\netcoreapp2.0\SwaggerFileUpload.pdb
     文件         149  2018-05-06 15:51  SwaggerFileUpload\obj\SwaggerFileUpload.csproj.nuget.cache
............此处省略4个文件信息

评论

共有 条评论