• 大小: 6.57MB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-02-03
  • 语言: 其他
  • 标签:

资源简介

主要是新手用MVC写的小说管理系统,有下载,上传,评论,回复等功能

资源截图

代码片段和文件信息

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

namespace XX_NMIS
{
    // Note: For instructions on enabling IIS6 or IIS7 classic mode 
    // visit 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“ // Route name
                “{controller}/{action}/{id}“ // URL with parameters
                new { controller = “Default“ action = “Index“ id = UrlParameter.Optional } // Parameter defaults
            );

        }

        protected void Application_Start()
        {
            //自动生成数据库
            //Database.SetInitializer(new XinXingDBInitializer());
            //AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }
        public class XinXingDBInitializer : DropCreateDatabaseIfModelChanges
        {
            protected override void Seed(Models.XX_NMISEntities context)
            {
                base.Seed(context);
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-12-13 17:00  XX_NMIS\
     目录           0  2011-12-28 15:56  XX_NMIS\packages\
     目录           0  2011-12-08 14:29  XX_NMIS\packages\Entityframework.4.1.10331.0\
     文件      458371  2011-12-08 14:29  XX_NMIS\packages\Entityframework.4.1.10331.0\Entityframework.4.1.10331.0.nupkg
     目录           0  2011-12-08 14:29  XX_NMIS\packages\Entityframework.4.1.10331.0\lib\
     文件      783648  2011-12-08 14:29  XX_NMIS\packages\Entityframework.4.1.10331.0\lib\Entityframework.dll
     文件      834489  2011-12-08 14:29  XX_NMIS\packages\Entityframework.4.1.10331.0\lib\Entityframework.xml
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.1.5.1\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.1.5.1\Content\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.1.5.1\Content\scripts\
     文件      217420  2011-12-08 14:28  XX_NMIS\packages\jQuery.1.5.1\Content\scripts\jquery-1.5.1.js
     文件       85497  2011-12-08 14:28  XX_NMIS\packages\jQuery.1.5.1\Content\scripts\jquery-1.5.1.min.js
     文件      107931  2011-12-08 14:28  XX_NMIS\packages\jQuery.1.5.1\jQuery.1.5.1.nupkg
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\
     目录           0  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\
     文件         180  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png
     文件         178  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png
     文件         120  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png
     文件         105  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png
     文件         111  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png
     文件         110  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png
     文件         119  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png
     文件         101  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png
     文件        4369  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-icons_222222_256x240.png
     文件        4369  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-icons_2e83ff_256x240.png
     文件        4369  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-icons_454545_256x240.png
     文件        4369  2011-12-08 14:28  XX_NMIS\packages\jQuery.UI.Combined.1.8.11\Content\Content\themes\base\images\ui-icons_888888_256x240.png
............此处省略526个文件信息

评论

共有 条评论