<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>清清月儿 .NET万花筒 Asp.net技术 Asp.net教程 Asp.net源码 Asp.net基础 Asp.net控件 Asp.net入门  - .NET 经典架构</title><link>http://blog.csdn.net/21aspnet/category/285356.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Fri, 18 Apr 2008 10:41:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>清清月儿</dc:creator><title>Microsoft .NET Pet Shop 4 架构与技术分析</title><link>http://blog.csdn.net/21aspnet/archive/2007/03/20/1534420.aspx</link><pubDate>Tue, 20 Mar 2007 01:55:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/20/1534420.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534420.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/20/1534420.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534420.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534420</trackback:ping><description>1．项目概述与架构分析微软刚推出了基于ASP.NET 2.0下的Pet Shop 4, 该版本有了一个全新的用户界面。用户做比较的这个项目就是Petshop。新的Petshop4实现了与Petshop 3相同甚至更多的特性，由于采用了Master Pages，Membership，以及Profile，SqlCacheDependency，但是代码量却减少了四分之一。&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534420.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>21aspnet</dc:creator><title>Gentle.net Framework 入门二（基础示例）</title><link>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534137.aspx</link><pubDate>Mon, 19 Mar 2007 20:04:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534137.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534137.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534137.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534137.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534137</trackback:ping><description> 1． 一个基本的示例 
通过该示例可以撑握以下内容：

1)     Gentle.net是怎么把对象（类）和关系数据库(SQL)关联起来的.

2)     使用Gentle.net插入，更新，返回实例信息，和删除数据.

本示例中以人为实例，包括人ID和姓名.附上建表脚本


示例表代码
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Peoples]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Peoples]
GO

CREATE TABLE [dbo].[Peoples] (
    [PeopleID] [int] IDENTITY (1, 1) NOT NULL ,
    [PeopleName] [char] (10) COLLATE Chinese_PRC_CI_AS NOT NULL 
) ON [PRIMARY]
GO
接着附上代码，相关使用请看代&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534137.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>21aspnet</dc:creator><title>Gentle.net Framework 入门一（使用须知） </title><link>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534133.aspx</link><pubDate>Mon, 19 Mar 2007 20:03:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534133.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534133.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534133.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534133.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534133</trackback:ping><description>数据持久层框架&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534133.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>21aspnet</dc:creator><title>Petshop4.0之策略模式 </title><link>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534131.aspx</link><pubDate>Mon, 19 Mar 2007 20:00:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534131.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534131.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534131.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534131.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534131</trackback:ping><description>策略模式属于对象行为型模式，主要针对一组算法，将每一个算法封装到具有共同接口的独立的类中，从而使得它们可以相互替换。策略模式使得算法可以在不影响到客户端的情况下发生变化。通常，策略模式适用于当一个应用程序需要实现一种特定的服务或者功能，而且该程序有多种实现方式时使用。&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534131.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>21aspnet</dc:creator><title>Petshop4.0之简单工厂模式</title><link>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534132.aspx</link><pubDate>Mon, 19 Mar 2007 20:00:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534132.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534132.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534132.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534132.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534132</trackback:ping><description>Petshop4.0之简单工厂模式&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534132.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>21aspnet</dc:creator><title>Petshop4.0之“反射注入”技术 </title><link>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534129.aspx</link><pubDate>Mon, 19 Mar 2007 19:58:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534129.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534129.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534129.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534129.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534129</trackback:ping><description>所谓“依懒注入” 就是将应用程序所依赖的组件在运行时动态的加载到应用程序中。依赖注入的目标并非为应用程序添加更多的功能，而是提升了组件的重用性，并为应用程序搭建一个具有较强灵活性和扩展性的平台。在程序实现上就用Assembly.Load(AssemblyName).CreateInstance(typeName)在程序运行时动态创建实例.PetShop4.0中多次应用了与配置文件相强合的反射注入技术。&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534129.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>21aspnet</dc:creator><title>PetShop体系结构学习 </title><link>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534128.aspx</link><pubDate>Mon, 19 Mar 2007 19:57:00 GMT</pubDate><guid>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534128.aspx</guid><wfw:comment>http://blog.csdn.net/21aspnet/comments/1534128.aspx</wfw:comment><comments>http://blog.csdn.net/21aspnet/archive/2007/03/19/1534128.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/21aspnet/comments/commentRss/1534128.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1534128</trackback:ping><description>PetShop体系结构学习&lt;img src ="http://blog.csdn.net/21aspnet/aggbug/1534128.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>