首页 > 代码库 > Microsoft PetShop 集锦
Microsoft PetShop 集锦
一、pet shop 2.0
项目概述与架构分析微软刚推出了基于ASP.NET 2.0下的Pet Shop 4, 该版本有了一个全新的用户界面。是研究ASP.NET 2.0的好范例啊
PetShop 4.0 Installer.msi
每层详解如下:
序号 | 项目名称 | 程序集名称 | 默认命名空间 | 描述 |
1 | WEB |
|
| 表示层 |
2 | Model | PetShop.Model | PetShop.Model | 业务实体 |
3 | BLL | PetShop.BLL | PetShop.BLL | 业务逻辑层 |
4 | DALFactory | PetShop.DAL | PetShop.DALFactory | 数据层的抽象工厂 |
5 | IDAL | PetShop.IDAL | PetShop.IDAL | 数据访问层接口定义 |
6 | SQLServerDAL | PetShop.SQLServerDAL | PetShop.SQLServerDAL | SQLServer数据访问层 |
7 | OracleDAL | PetShop.OracleDAL | PetShop.OracleDAL | Oracle数据访问层 |
8 | DBUtility | PetShop.DBUtility | PetShop.DBUtility | 数据库访问组件基础类 |
9 | CacheDependencyFactory | PetShop.CacheDependencyFactory | PetShop.CacheDependencyFactory | 缓存依赖类的工厂类 |
10 | ICacheDependency | PetShop.ICacheDependency | PetShop.ICacheDependency | 缓存依赖类接口 |
11 | TableCacheDependency | PetShop.TableCacheDependency | PetShop.TableCacheDependency | 缓存依赖实现类 |
12 | IBLLStrategy | PetShop.IBLLStrategy | PetShop.IBLLStrategy | 同步/异步处理策略接口(实现在bll根据配置反射选择) |
13 | MessagingFactory | PetShop.MessagingFactory | PetShop.MessagingFactory | 异时处理消息队列的抽象工厂 |
14 | IMessaging | PetShop.IMessaging | PetShop.IMessaging | 异时处理消息队列接口定义 |
15 | MSMQMessaging | PetShop.MsmqMessaging | PetShop.MsmqMessaging | 异时处理消息队列的实现 |
16 | Profile | PetShop.Profile | PetShop.Profile | Profile的数据访问层 |
17 | ProfileDALFactory | PetShop.ProfileDALFactory | PetShop.ProfileDALFactory | ProfileDAL的工厂类(反射创建ProfileDAL) |
18 | IProfileDAL | PetShop.IProfileDAL | PetShop.IProfileDAL | Profile的数据访问层接口定义 |
19 | OracleProfileDAL | PetShop.OracleProfileDAL | PetShop.OracleProfileDAL | Oracle的Profile Providers 做用户状态管理 |
20 | SQLProfileDAL | PetShop.SQLProfileDAL | PetShop.SQLProfileDAL | SQL Server 的Profile Providers 做用户状态管理 |
21 | Membership | PetShop.Membership | PetShop.Membership | Membership认证和授权管理 |
22 | OrderProcessor | PetShop.OrderProcessor | PetShop.OrderProcessor | 后台处理进程,处理订单队列 |
二、PetShop for .NET3.5 Weekly Drop 01
下载地址:http://petshopvnext.codeplex.com/
基于.NET Framework 3.5的Petshop,使用LINQ to SQL改进数据访问层,使用WCF来提供RSS,并在UI层上做一些改进,如使用ASP.NET AJAX,ListView控件等。
PetShop for .NET3.5 Weekly Drop 01
1.添加了SyndicationFeeds,提供了基于WCF的RSS Feed
2.修改Model中的CategoryInfo和ProductInfo,基于LINQ to SQL
Microsoft PetShop 集锦