• 大小: 49.61MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-08
  • 语言: C#
  • 标签: asp.net  mvc  vs  

资源简介

asp.net MVC 3.0+ C# + VS2012开发的完整的商城系统。包含前台和后台,页面精美

资源截图

代码片段和文件信息

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

namespace ZH.YM.Web
{
// 注意: 有关启用 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(
                “CouponActivity“
                “newyear2013.html“
                new { controller = “shop“ action = “CouponActivity“ }
                );
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);//商家搜索页
            routes.MapRoute(
                “Restaurant“
                “Home/Restaurant/{vid}-{pid}-{cid}-{zid}-{rid}-{bid}-{sortid}-{fid}-{kid}-{key}.html“
                new { controller = “Home“ action = “Restaurant“ }
                new { vid = @“([0-9]+)“ pid = @“([0-9]+)“ cid = @“([0-9]+)“zid = @“([0-9]+)“ rid = @“([0-9]+)“bid = @“([0-9]+)“ sortid = @“([0-9]+)“ fid = @“([0-9]+)“ kid = @“([0-9]+)“ }
              
                );
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);//商品搜索页
            routes.MapRoute(
                “FoodList“
                “Home/FoodList/{vid}-{pid}-{cid}-{bid}-{zid}-{rid}-{sortid}-{fid}-{kid}-{key}.html“
                new { controller = “Home“ action = “FoodList“ }
                new { vid = @“([0-9]+)“ pid = @“([0-9]+)“ cid = @“([0-9]+)“ bid = @“([0-9]+)“ zid = @“([0-9]+)“ rid = @“([0-9]+)“ sortid = @“([0-9]+)“ fid = @“([0-9]+)“ kid = @“([0-9]+)“ }

                );
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);//商品搜索页
            routes.MapRoute(
                “ShopList“
                “Home/ShopList/{vid}-{pid}-{cid}-{bid}-{zid}-{rid}-{sortid}-{fid}-{kid}-{key}.html“
                new { controller = “Home“ action = “ShopList“ }
                new { vid = @“([0-9]+)“ pid = @“([0-9]+)“ cid = @“([0-9]+)“ bid = @“([0-9]+)“ zid = @“([0-9]+)“ rid = @“([0-9]+)“ sortid = @“([0-9]+)“ fid = @“([0-9]+)“ kid = @“([0-9]+)“ }

                ); 

            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);//商品展示页带搜索条件
            routes.MapRoute(
                “TakeOutkey“
                “shop/TakeOut/{uid}/{key}.html“
                new { controller = “shop“ action = “TakeOut“}
                new { uid = @“([0-9]+)“ }
                );
            routes.IgnoreRoute(“{resource}.axd/{*pathInfo}“);//商品详细页两个参数
            routes.MapRoute(
                “Detail“
                “shop/Detail/{uid}/{disid}.html“
                new { controller = “shop“ action = “Detail“ }
                new { uid = @“([0-9]+)“ disid = @“([0-9]+)“ }
           

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

     文件      58368  2014-01-14 14:28  dll\CommonLib.dll

     文件      16896  2012-05-17 10:17  dll\RouteDebugger.dll

     文件     178176  2015-02-06 11:06  dll\ZH.YM.IBiz.dll

     文件       3384  2016-11-02 12:47  files\b_img\dc.png

     文件       2846  2016-11-02 12:49  files\b_img\mark.png

     文件        111  2016-07-07 16:29  files\b_img\sosiu.url

     文件      11809  2014-01-06 10:02  files\img\ad1.gif

     文件      11144  2014-01-06 11:34  files\img\ad10.gif

     文件      11833  2014-01-06 11:35  files\img\ad11.gif

     文件      14302  2014-01-06 11:36  files\img\ad12.gif

     文件      15573  2014-01-22 10:54  files\img\ad2.gif

     文件      15299  2014-01-06 11:26  files\img\ad3.gif

     文件       5360  2014-01-06 11:27  files\img\ad4.gif

     文件      15034  2014-01-06 11:29  files\img\ad5.gif

     文件       6207  2014-01-06 11:30  files\img\ad6.gif

     文件      12756  2014-01-06 11:32  files\img\ad7.gif

     文件       5222  2014-01-06 11:33  files\img\ad8.gif

     文件      15257  2014-01-06 11:34  files\img\ad9.gif

     文件      46981  2014-01-06 12:39  files\img\area_img.gif

     文件      50007  2014-01-20 17:40  files\img\area_img2.gif

     文件      38819  2014-01-21 09:09  files\img\area_img3.gif

     文件      42165  2014-02-12 10:47  files\img\area_img4.gif

     文件      39405  2014-01-21 12:50  files\img\area_img5.gif

     文件      33253  2014-01-21 13:23  files\img\area_img6.gif

     文件      35178  2014-01-21 14:03  files\img\area_img7.gif

     文件      44322  2014-01-21 14:32  files\img\area_img8.gif

     文件      42930  2014-01-21 15:32  files\img\area_img9.gif

     文件      39854  2014-01-22 14:25  files\img\banner.gif

     文件      28638  2014-01-22 13:50  files\img\banner2.gif

     文件      50025  2014-01-22 13:51  files\img\banner3.gif

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

评论

共有 条评论