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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;

namespace SwaggerApiDemo
{
    public class WebApiApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            GlobalConfiguration.Configure(WebApiConfig.Register);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-05-05 16:39  SwaggerApiDemo\
     目录           0  2016-05-05 23:10  SwaggerApiDemo\SwaggerApiDemo\
     目录           0  2016-05-05 23:16  SwaggerApiDemo\SwaggerApiDemo\App_Data\
     目录           0  2016-05-05 22:55  SwaggerApiDemo\SwaggerApiDemo\App_Start\
     文件        1136  2016-05-05 16:38  SwaggerApiDemo\SwaggerApiDemo\App_Start\BundleConfig.cs
     文件         282  2016-05-05 16:38  SwaggerApiDemo\SwaggerApiDemo\App_Start\FilterConfig.cs
     文件         607  2016-05-05 16:38  SwaggerApiDemo\SwaggerApiDemo\App_Start\RouteConfig.cs
     文件       16186  2016-05-05 22:55  SwaggerApiDemo\SwaggerApiDemo\App_Start\SwaggerConfig.cs
     文件        1496  2016-05-05 22:07  SwaggerApiDemo\SwaggerApiDemo\App_Start\SwaggerNet.cs
     文件         615  2016-05-05 16:38  SwaggerApiDemo\SwaggerApiDemo\App_Start\WebApiConfig.cs
     目录           0  2016-05-05 16:38  SwaggerApiDemo\SwaggerApiDemo\Areas\
     目录           0  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\
     文件        1524  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\ApiDescriptionExtensions.cs
     目录           0  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\App_Start\
     文件        3247  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\App_Start\HelpPageConfig.cs
     目录           0  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\Controllers\
     文件        1267  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\Controllers\HelpController.cs
     文件        1602  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\HelpPage.css
     文件         697  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\HelpPageAreaRegistration.cs
     文件       13955  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\HelpPageConfigurationExtensions.cs
     目录           0  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\Models\
     文件        1548  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\Models\HelpPageApiModel.cs
     目录           0  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\
     文件       17591  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\HelpPageSampleGenerator.cs
     文件        7123  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\HelpPageSampleKey.cs
     文件        1097  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\ImageSample.cs
     文件        1012  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\InvalidSample.cs
     文件       19950  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\objectGenerator.cs
     文件         241  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\SampleDirection.cs
     文件         926  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\SampleGeneration\TextSample.cs
     目录           0  2016-05-05 16:39  SwaggerApiDemo\SwaggerApiDemo\Areas\HelpPage\Views\
............此处省略494个文件信息

评论

共有 条评论