• 大小: 5.67MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-31
  • 语言: C#
  • 标签: 微商城  

资源简介

基于ASP.NET 4.0开发的开源微商城系统,我们的目标是构建一个核心完善而又轻量级的微商城平台

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Text.Regularexpressions;

using OdnShop.Core.Common;
namespace OdnShop.Core
{
    public class OdnShopHttpModule : System.Web.IHttpModule
    {
        /// 
        /// 实现接口的Init方法
        /// 

        /// 
        public void Init(HttpApplication context)
        {
            context.BeginRequest += new EventHandler(ReUrl_BeginRequest);
        }

        /// 
        /// 重写Url
        /// 

        /// 事件的源
        /// 包含事件数据的 EventArgs
        private void ReUrl_BeginRequest(object sender EventArgs e)
        {
            HttpContext context = ((HttpApplication)sender).Context;

            //url重写
            UrlRewriter.Rewrite(context);
        }

        /// 
        /// 实现接口的Dispose方法
        /// 

        public void Dispose()
        {
        }
    }
}

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

     文件        110  2018-06-20 15:26  keke11-OdnShop-master\OdnShop\asp.net免费源码下载.url

    .......     18046  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\LICENSE

    .......      5236  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Business\Security.cs

    .......      3605  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\HtmlHelper.cs

    .......     13475  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\HYRequest.cs

    .......      2554  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\SerializeHelper.cs

    .......      2872  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\ServerInfo.cs

    .......      5317  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\SiteConfig.cs

    .......     15765  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\Thumbnail.cs

    .......      4796  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\UrlRewriter.cs

    .......     16334  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\Utils.cs

    .......      1553  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Common\VShopConfigHelper.cs

    .......      6198  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\AdminFactory.cs

    .......      2691  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\FavoriteFactory.cs

    .......      4579  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\linkFactory.cs

    .......     24405  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\MySqlDbHelper.cs

    .......     11384  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\OrderFactory.cs

    .......      4614  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\ProductCategoryFactory.cs

    .......      8847  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\ProductFactory.cs

    .......      3743  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\SinglePageFactory.cs

    .......      8898  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\UserFactory.cs

    .......      4812  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Factory\UserGroupFactory.cs

    .......      2733  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\AdminModel.cs

    .......       973  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\FavoriteModel.cs

    .......      1740  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\linkModel.cs

    .......      9255  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\OrderModel.cs

    .......      1112  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\ProductCategoryModel.cs

    .......      4813  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\ProductModel.cs

    .......      1006  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\SinglePageModel.cs

    .......       484  2018-07-10 09:36  keke11-OdnShop-master\OdnShop\OdnShop.Core\Model\UserGroupModel.cs

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

评论

共有 条评论