COMMUNITY SERVER 的架构分析

  还是转载的,因为自己写得不好,所以只能转转转
    
论坛: CommuntyServer.Discussions
博客: CommuntyServer.Blogs
相册: CommuntyServer.Galleries
留言板: CommuntyServer.GuestBooks

公共项目: CommuntyServer.Components

CommuntyServer.Controls

数据: CommuntyServer.SqlDataProvider

版块组、博客分组 CommuntyServer.Components.Group cs_Groups
版块、博客 CommuntyServer.Components.Section cs_Sections
主题、线程 CommuntyServer.Components.Thread cs_Threads
帖子、随笔或者文章 CommuntyServer.Components.Post cs_Posts
ps:Thread有说是“线程”的,在《计算机操作系统》里,这样翻译我赞成,但在论坛里,我还是觉得翻译成“主题”更好

引用:http://www.cnblogs.com/konimeter/archive/2005/09/19/239856.html

URL参数的封装
Porject:CommunityServerComponents
Dir:Components
File:CSContext.cs

授权
FormsAuthentication.SetAuthCookie(userToLogin.Username, autoLogin.Checked)

取当前用户名称
context.User.Identity.Name

引用:http://www.cnblogs.com/konimeter/archive/2005/09/22/241879.html


原文地址:https://www.cnblogs.com/ruanbl/p/714619.html