• 大小: 6.05M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 权限管理  管理  权限  

资源简介

整个项目主要采用三层架构,面向接口的编程方式。

界面层:User Interface  

CinDou.Web主要放我们的Web页面,

CinDou.Route主要放置MVC中Controller,

这里我采用把Controller分离出来。个人考虑的原因是:项目比较清晰,职责比较单一。

逻辑层:Business Logic Layer  

CinDou.BFactory 是逻辑工厂层,用于创建逻辑层的接口,便于界面层调用。

CinDou.IBLL 逻辑接口层

CinDou.BLL 逻辑业务层 主要负责逻辑层中的业务。

CinDou.Model 逻辑业务类

数据库层:Data Accss Layer

CinDou.DFacoty:数据工厂层,用于创建数据库层的接口,从而让逻辑层调用

CinDou.IDAL : 数据库接口层

CinDou.DAL : 数据库持久层

CinDou.EFramework: Entity Framework层

工具层:ToolKit

CinDou.Tools 常用的工具类方法层

Component :控件层

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Text;
using CinDou.Tools;
using CinDou.IBLL;
using CinDou.BLL;

namespace CinDou.BFactory
{
    public sealed class BLLFactory
    {
        static string blllayer = WebSite.BLLAssembly;

        public static CinDou.IBLL.IProduct CreateProduct()
        {
            return (CinDou.IBLL.IProduct)Assembly.Load(blllayer).CreateInstance(blllayer + “.Product“);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        2475  2012-06-26 11:55  51Aspx源码必读.txt
     文件       14402  2012-06-26 11:55  CinDou.sln
     文件      105984  2012-06-26 11:55  CinDou.suo
     文件        4945  2012-06-26 11:55  from.gif
     文件         125  2012-06-26 11:55  最新Asp.Net源码下载.url
     文件       61764  2012-06-26 11:55  步骤说明.docx
     文件         508  2012-06-26 11:55  CinDou.BFactory\BLLFactory.cs
     文件        2922  2012-06-26 11:55  CinDou.BFactory\CinDou.BFactory.csproj
     文件        4608  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.BFactory.dll
     文件       11776  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.BFactory.pdb
     文件        4608  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.BLL.dll
     文件       11776  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.BLL.pdb
     文件        4608  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.DFactory.dll
     文件       11776  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.DFactory.pdb
     文件        4096  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.IBLL.dll
     文件        7680  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.IBLL.pdb
     文件        4096  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.IDAL.dll
     文件        7680  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.IDAL.pdb
     文件        5120  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.Model.dll
     文件        7680  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.Model.pdb
     文件        7680  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.Tools.dll
     文件       13824  2012-06-26 11:55  CinDou.BFactory\bin\Debug\CinDou.Tools.pdb
     文件      783648  2012-06-26 11:55  CinDou.BFactory\bin\Debug\Entityframework.dll
     文件      834489  2012-06-26 11:55  CinDou.BFactory\bin\Debug\Entityframework.xml
     文件        1588  2012-06-26 11:55  CinDou.BFactory\obj\Debug\CinDou.BFactory.csproj.FileListAbsolute.txt
     文件        4608  2012-06-26 11:55  CinDou.BFactory\obj\Debug\CinDou.BFactory.dll
     文件       11776  2012-06-26 11:55  CinDou.BFactory\obj\Debug\CinDou.BFactory.pdb
     文件        5881  2012-06-26 11:55  CinDou.BFactory\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件       54719  2012-06-26 11:55  CinDou.BFactory\obj\Debug\ResolveAssemblyReference.cache
     文件        1386  2012-06-26 11:55  CinDou.BFactory\Properties\AssemblyInfo.cs
     文件        3302  2012-06-26 11:55  CinDou.BLL\CinDou.BLL.csproj
............此处省略326个文件信息

评论

共有 条评论