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

资源简介

asp.net webapi ajax上传文件示例(jquery)

资源截图

代码片段和文件信息

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 LB
{
    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  2015-07-26 09:31  blog-post-id-3-master\
     文件        1082  2015-07-26 09:31  blog-post-id-3-master\LICENSE
     文件         169  2015-07-26 09:31  blog-post-id-3-master\README.md
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\
     文件         953  2015-07-26 09:31  blog-post-id-3-master\src\LB.sln
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\App_Start\
     文件        1308  2015-07-26 09:31  blog-post-id-3-master\src\LB\App_Start\BundleConfig.cs
     文件         257  2015-07-26 09:31  blog-post-id-3-master\src\LB\App_Start\FilterConfig.cs
     文件         572  2015-07-26 09:31  blog-post-id-3-master\src\LB\App_Start\RouteConfig.cs
     文件         579  2015-07-26 09:31  blog-post-id-3-master\src\LB\App_Start\WebApiConfig.cs
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\
     文件        1492  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ApiDescriptionExtensions.cs
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\App_Start\
     文件        6475  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\App_Start\HelpPageConfig.cs
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\Controllers\
     文件        1865  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\Controllers\HelpController.cs
     文件        2311  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\HelpPage.css
     文件         660  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\HelpPageAreaRegistration.cs
     文件       24052  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\HelpPageConfigurationExtensions.cs
     目录           0  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\
     文件         189  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\CollectionModelDescription.cs
     文件         376  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\ComplexTypeModelDescription.cs
     文件         136  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\DictionaryModelDescription.cs
     文件         396  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\EnumTypeModelDescription.cs
     文件         234  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\EnumValueDescription.cs
     文件         247  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\IModelDocumentationProvider.cs
     文件         261  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\KeyValuePairModelDescription.cs
     文件         325  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\ModelDescription.cs
     文件       19075  2015-07-26 09:31  blog-post-id-3-master\src\LB\Areas\HelpPage\ModelDescriptions\ModelDescriptionGenerator.cs
............此处省略285个文件信息

评论

共有 条评论