• 大小: 9.03MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-29
  • 语言: 数据库
  • 标签:

资源简介

学习作品 mvc 作品的 数据库规定的。

资源截图

代码片段和文件信息

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

namespace MvcApplication1
{
    // 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 RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);

            routes.MapRoute(
                “Default“ // Route name
                “{controller}/{action}/{id}“ // URL with parameters
                new { controller = “Home“ action = “Index“ id = UrlParameter.Optional } // Parameter defaults
            );

        }

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

            RegisterRoutes(RouteTable.Routes);
        }
    }
}

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

     文件       1452  2011-06-20 13:37  mvczuizhongzuoping\MvcApplication1\MvcApplication1.sln

    ..A..H.     51200  2011-06-27 16:15  mvczuizhongzuoping\MvcApplication1\MvcApplication1.suo

     文件        107  2011-06-20 13:36  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Global.asax

     文件        973  2011-06-21 15:44  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Global.asax.cs

     文件       8131  2011-06-27 15:04  mvczuizhongzuoping\MvcApplication1\MvcApplication1\MvcApplication1.csproj

     文件       1373  2011-06-27 15:04  mvczuizhongzuoping\MvcApplication1\MvcApplication1\MvcApplication1.csproj.user

     文件      11245  2011-06-20 17:28  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Web.config

     文件    3145728  2011-06-27 16:03  mvczuizhongzuoping\MvcApplication1\MvcApplication1\App_Data\tushu.mdf

     文件    1048576  2011-06-27 16:03  mvczuizhongzuoping\MvcApplication1\MvcApplication1\App_Data\tushu_log.ldf

     文件   10485760  2011-06-27 16:00  mvczuizhongzuoping\MvcApplication1\MvcApplication1\App_Data\ASPNETDB.MDF

     文件     516096  2011-06-27 16:00  mvczuizhongzuoping\MvcApplication1\MvcApplication1\App_Data\aspnetdb_log.ldf

     文件      39424  2011-06-27 15:54  mvczuizhongzuoping\MvcApplication1\MvcApplication1\bin\MvcApplication1.dll

     文件      73216  2011-06-27 15:54  mvczuizhongzuoping\MvcApplication1\MvcApplication1\bin\MvcApplication1.pdb

     文件       5379  2011-06-20 13:36  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Content\Site.css

     文件       5012  2011-06-21 15:44  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Controllers\AccountController.cs

     文件       4056  2011-06-27 13:45  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Controllers\bookController.cs

     文件        481  2011-06-21 15:44  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Controllers\HomeController.cs

     文件       3781  2011-06-27 15:53  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Controllers\ASSController.cs

     文件       5118  2011-06-27 15:53  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Controllers\jieshuController.cs

     文件      10956  2011-06-21 15:44  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Models\AccountModels.cs

     文件       2742  2011-06-21 20:22  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Models\book.dbml

     文件       2117  2011-06-21 20:22  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Models\book.dbml.layout

     文件      16676  2011-06-21 20:22  mvczuizhongzuoping\MvcApplication1\MvcApplication1\Models\book.designer.cs

     文件       3754  2011-06-27 15:54  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\MvcApplication1.csproj.FileListAbsolute.txt

     文件      39424  2011-06-27 15:54  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\MvcApplication1.dll

     文件      73216  2011-06-27 15:54  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\MvcApplication1.pdb

     文件       9128  2011-06-27 16:10  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\ResolveAssemblyReference.cache

     文件      11264  2011-06-21 15:44  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\Refactor\MvcApplication1.dll

     文件      12288  2011-06-21 20:22  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\TempPE\Models.book.designer.cs.dll

     文件       7680  2011-06-21 15:44  mvczuizhongzuoping\MvcApplication1\MvcApplication1\obj\Debug\TempPE\Models.duzhe.designer.cs.dll

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

评论

共有 条评论

相关资源