• 大小: 2.12M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-14
  • 语言: 其他
  • 标签: 其他  

资源简介

MvcApplication1.rar

资源截图

代码片段和文件信息

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

namespace MvcApplication1
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 http://go.microsoft.com/?linkId=9394801

    public class MvcApplication : System.Web.HttpApplication
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);

            routes.MapRoute(
                “Default“ // 路由名称
                “{controller}/{action}/{id}“ // 带有参数的 URL
                new { controller = “Home“ action = “Index“ id = UrlParameter.Optional } // 参数默认值
            );

        }

        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }
    }
}

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

     文件       1005  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\Site.css

     文件        180  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png

     文件        178  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png

     文件        120  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png

     文件        105  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png

     文件        111  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png

     文件        110  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png

     文件        119  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png

     文件        101  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png

     文件       4369  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-icons_222222_256x240.png

     文件       4369  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-icons_2e83ff_256x240.png

     文件       4369  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-icons_454545_256x240.png

     文件       4369  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-icons_888888_256x240.png

     文件       4369  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\images\ui-icons_cd0a0a_256x240.png

     文件      39084  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Content\themes\base\jquery-ui.css

     文件      11673  2014-08-24 18:47  MvcApplication1\Backup\MvcApplication1\Controllers\HomeController.cs

     文件        107  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Global.asax

     文件       1192  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Global.asax.cs

     文件       7660  2014-08-24 18:07  MvcApplication1\Backup\MvcApplication1\MvcApplication1.csproj

     文件       1171  2014-08-24 18:07  MvcApplication1\Backup\MvcApplication1\MvcApplication1.csproj.user

     文件       1332  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\Properties\AssemblyInfo.cs

     文件     239813  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery-1.4.4-vsdoc.js

     文件     183279  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery-1.4.4.js

     文件      78875  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery-1.4.4.min.js

     文件     373727  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery-ui.js

     文件     198372  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery-ui.min.js

     文件       5811  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery.unobtrusive-ajax.js

     文件       2745  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery.unobtrusive-ajax.min.js

     文件      44256  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery.validate-vsdoc.js

     文件      37369  2014-08-24 08:37  MvcApplication1\Backup\MvcApplication1\scripts\jquery.validate.js

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

评论

共有 条评论