• 大小: 11.88MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-02
  • 语言: C#
  • 标签: MVC  4  图片上传  

资源简介

通过自学发现网上的各种资源都很老,关于ASP.NET的新资源都很难找。比如图片上传的Demo大多都是aspx窗体程序的,实用性比较差。所以做了一个MVC版的通用图片上传程序,给不会的学习者一个参考。

资源截图

代码片段和文件信息

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 MvcUploadDemo
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 http://go.microsoft.com/?linkId=9394801

    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2173  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\App_Start\BundleConfig.cs

     文件        279  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\App_Start\FilterConfig.cs

     文件        604  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\App_Start\RouteConfig.cs

     文件        482  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\App_Start\WebApiConfig.cs

    .......    105544  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Antlr3.Runtime.dll

    .......   1118296  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Entityframework.dll

     文件    1142742  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Entityframework.xml

    .......     45416  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Microsoft.Web.Infrastructure.dll

    .......     23640  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Microsoft.Web.Mvc.FixedDisplayModes.dll

     文件      11264  2016-09-16 10:41  MvcUploadDemo\MvcUploadDemo\bin\MvcUploadDemo.dll

     文件       6433  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\MvcUploadDemo.dll.config

     文件      34304  2016-09-16 10:41  MvcUploadDemo\MvcUploadDemo\bin\MvcUploadDemo.pdb

    .......    391680  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Newtonsoft.Json.dll

     文件     440219  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\Newtonsoft.Json.xml

    .......    180904  2013-07-09 11:04  MvcUploadDemo\MvcUploadDemo\bin\System.Net.Http.dll

    .......    168520  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Net.Http.Formatting.dll

     文件     137872  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Net.Http.Formatting.xml

    .......     16552  2013-07-09 11:04  MvcUploadDemo\MvcUploadDemo\bin\System.Net.Http.WebRequest.dll

     文件       5102  2013-10-01 18:07  MvcUploadDemo\MvcUploadDemo\bin\System.Net.Http.WebRequest.xml

     文件     148528  2013-10-01 18:07  MvcUploadDemo\MvcUploadDemo\bin\System.Net.Http.xml

    .......    323240  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Http.dll

    .......     73384  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Http.WebHost.dll

     文件      10071  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Http.WebHost.xml

     文件     379561  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Http.xml

    .......    507048  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Mvc.dll

     文件     847872  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Mvc.xml

    .......     54912  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Optimization.dll

    .......    270936  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Providers.dll

    .......    266944  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Razor.dll

     文件     365160  2016-09-16 09:36  MvcUploadDemo\MvcUploadDemo\bin\System.Web.Razor.xml

............此处省略450个文件信息

评论

共有 条评论