随笔 - 547  文章 - 213 评论 - 417 阅读 - 107万

文章分类 -  CommunityServer

深入研究CommunityServer,吸取其中的精髓
Microsoft.ScalableHosting.Profile.SettingsBase之研究
摘要:1.全部代码 全部代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->namespace Microsoft.ScalableHosting.Profile{ using System; using System.Reflection;... 阅读全文
posted @ 2006-07-20 20:32 今夜太冷 阅读(708) 评论(3) 推荐(0) 编辑
Microsoft.ScalableHosting.Profile.SettingsPropertyCollection之研究
摘要:Microsoft.ScalableHosting.Profile.SettingsPropertyCollection的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->namespace Microsoft.ScalableHosting.P... 阅读全文
posted @ 2006-04-27 17:15 今夜太冷 阅读(413) 评论(0) 推荐(0) 编辑
Microsoft.ScalableHosting.Profile.SettingsProperty之研究
摘要:Microsoft.ScalableHosting.Profile.SettingsProperty的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->namespace Microsoft.ScalableHosting.Profile{ ... 阅读全文
posted @ 2006-04-26 15:29 今夜太冷 阅读(348) 评论(0) 推荐(0) 编辑
CommunityServer的CommunityServer.Components.ExtendedAttributes的研究
摘要:CommunityServer.Components.ExtendedAttributes的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//---------------------------------------------------... 阅读全文
posted @ 2006-04-18 16:11 今夜太冷 阅读(410) 评论(1) 推荐(0) 编辑
CommunityServer中的WeblogAdminTemplatedWebControl类之研究
摘要:WeblogAdminTemplatedWebControl类的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//-----------------------------------------------------------------... 阅读全文
posted @ 2006-04-07 15:26 今夜太冷 阅读(239) 评论(0) 推荐(0) 编辑
CommunityServer中的WeblogTemplatedWebControl类的研究
摘要:WeblogTemplatedWebControl类的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//----------------------------------------------------------------------... 阅读全文
posted @ 2006-04-07 10:27 今夜太冷 阅读(222) 评论(0) 推荐(0) 编辑
CommunityServer的WeblogBaseTemplatedWebControl之研究
摘要:WeblogBaseTemplatedWebControl类的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//-----------------------------------------------------------------... 阅读全文
posted @ 2006-04-06 15:26 今夜太冷 阅读(230) 评论(0) 推荐(0) 编辑
CommunityServer中的模板基类---TemplatedWebControl的研究
摘要:TemplatedWebControl类的源代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//----------------------------------------------------------------------------... 阅读全文
posted @ 2006-03-28 10:40 今夜太冷 阅读(656) 评论(1) 推荐(0) 编辑
CommunityServer中管理员使用的页面的相关代码分析
摘要:在CommunityServer中,有些页面是只有管理员才能使用的,因此这些页面需要特别的身份验证。 对于这类页面,CommunityServer采用了一个页面基类,其他所有的类都继承于这个基类,在这个基类中对用户的身份进行验证。 下面是这个基类的源代码: //--------------------------------------------------------------... 阅读全文
posted @ 2006-03-27 17:03 今夜太冷 阅读(287) 评论(0) 推荐(0) 编辑
获取web项目根目录下的某个文件完整路径的方法
摘要:string path; if(HttpContext.Current != null) path = HttpContext.Current.Server.MapPath("~/communityserver.config"); else ... 阅读全文
posted @ 2006-03-23 17:11 今夜太冷 阅读(3181) 评论(0) 推荐(0) 编辑
CommunityServer中的Provider模式的应用
摘要:CommunityServer中的Provider模式的应用 Provider的优势:不关心具体实现支持多数据库方便文档描述交流有利于团队协作分工 下图是程序的结构。 图1下面给出具体的程序示例: Blogs\Controls\Admin\BlogFeedbackAdmin.cs文件中的一个方法: /// ... 阅读全文
posted @ 2006-03-22 16:41 今夜太冷 阅读(664) 评论(1) 推荐(0) 编辑
CommunityServerBlogs/BlogFeedback.cs文件分析
摘要:CommunityServerBlogs\BlogFeedback.cs中有如下的一段代码: /// /// Gets the feedback items for the given Weblog/// /// Returns an ArrayList of FeedBackItem objects.public static ArrayList GetFeedback( Int32 weblo... 阅读全文
posted @ 2006-03-21 10:58 今夜太冷 阅读(738) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示