资源简介

实验室设备管理系统 asp.net MVC

资源截图

代码片段和文件信息

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

namespace labManage
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 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(
                “fdetailsList“                                          // Route name
                “Facility/Details/{id}“                                // URL with params
                new { controller = “Facility“ action = “Details“id=““ }      // Param defaults
            );
            routes.MapRoute(
                “ldetailsList“                                          // Route name
                “lab/Details/{id}“                                // URL with params
                new { controller = “lab“ action = “Details“ id = ““ }      // Param defaults
            );
            routes.MapRoute(
                “labSearchList“                                          // Route name
                “lab/Search/Page/{page}“                                // URL with params
                new { controller = “lab“ action = “Search“ }      // Param defaults
            );
            
            routes.MapRoute(
                “labList“                                        // Route name
                “lab/Page/{page}“                                // URL with params
                new { controller = “lab“ action = “Index“ }      // Param defaults
            );
            routes.MapRoute(
                “SearchList“                                          // Route name
                “Facility/Search/Page/{page}“                                // URL with params
                new { controller = “Facility“ action = “Search“ }      // Param defaults
            );

            routes.MapRoute(
                “FacilityList“                                        // Route name
                “Facility/Page/{page}“                                // URL with params
                new { controller = “Facility“ action = “Index“ }      // Param defaults
            );
            routes.MapRoute(
                “Default“ // 路由名称
                “{controller}/{action}/{id}“ // 带有参数的 URL
                new { controller = “Home“ action = “Index“ id = UrlParameter.Optional } // 参数默认值
            );

        }

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

            RegisterRoutes(RouteTable.Routes);
        }
    }
}

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

     文件     259550  2011-06-21 08:45  源码\db\script2005.sql

     文件     259550  2011-06-21 08:46  源码\db\script2008.sql

     文件   10485760  2011-06-14 23:23  源码\labManage\labManage\App_Data\ASPNETDB.MDF

     文件     516096  2011-06-14 23:23  源码\labManage\labManage\App_Data\aspnetdb_log.ldf

     文件      47616  2011-06-21 07:56  源码\labManage\labManage\bin\labManage.dll

     文件      99840  2011-06-21 07:56  源码\labManage\labManage\bin\labManage.pdb

     文件       5379  2011-06-16 16:13  源码\labManage\labManage\Content\Site.css

     文件       5023  2011-06-14 18:17  源码\labManage\labManage\Controllers\AccountController.cs

     文件       4446  2011-06-19 13:44  源码\labManage\labManage\Controllers\facilityController.cs

     文件        477  2011-06-14 18:17  源码\labManage\labManage\Controllers\HomeController.cs

     文件      11836  2011-06-21 07:56  源码\labManage\labManage\Controllers\labController.cs

     文件        101  2011-06-14 18:17  源码\labManage\labManage\Global.asax

     文件       2868  2011-06-19 15:59  源码\labManage\labManage\Global.asax.cs

     文件       1314  2011-06-16 20:33  源码\labManage\labManage\Helpers\PaginatedList.cs

     文件       8349  2011-06-19 11:00  源码\labManage\labManage\labManage.csproj

     文件       1087  2011-06-17 22:59  源码\labManage\labManage\labManage.csproj.user

     文件      10690  2011-06-14 18:17  源码\labManage\labManage\Models\AccountModels.cs

     文件        790  2011-06-19 13:08  源码\labManage\labManage\Models\DetaileFormViewModel.cs

     文件       1354  2011-06-16 13:30  源码\labManage\labManage\Models\facility.cs

     文件       2138  2011-06-16 23:11  源码\labManage\labManage\Models\facilityRepository.cs

     文件        861  2011-06-16 14:14  源码\labManage\labManage\Models\lab.cs

     文件          0  2011-06-14 20:03  源码\labManage\labManage\Models\labManage.cs

     文件       3239  2011-06-20 20:57  源码\labManage\labManage\Models\labManage.dbml

     文件       2548  2011-06-20 20:57  源码\labManage\labManage\Models\labManage.dbml.layout

     文件      20795  2011-06-20 20:57  源码\labManage\labManage\Models\labManage.designer.cs

     文件       2373  2011-06-19 14:01  源码\labManage\labManage\Models\labRepository.cs

     文件       1666  2011-06-18 20:46  源码\labManage\labManage\Models\LF.cs

     文件       1537  2011-06-14 18:17  源码\labManage\labManage\obj\Debug\CSAutoParameterize\original\Views\Web.config

     文件      12109  2011-06-16 14:16  源码\labManage\labManage\obj\Debug\CSAutoParameterize\original\Web.config

     文件       1537  2011-06-16 14:16  源码\labManage\labManage\obj\Debug\CSAutoParameterize\transformed\Views\Web.config

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

评论

共有 条评论