随笔分类 - CommunityServer
摘要:1.CSHttpModule.cs: 启动目录重写。 (4.CSASPNET20UrlReWriteProvider)2.CSUrlReWriter:a.实例化SiteUrlsb.由当前的请求地址得到实际的物理地址:从SiteUrls中得到location,从location中得到实际地址。c.用新地址重写3.UrlReWriteProvider 4.SiteUrls.cs: a.实例话自己的同...
阅读全文
摘要:1.cs.config 列出所有的module和处理类,配置module属性2.CSApplication :实例话每个module,调用每个module的事件注册,生成module列表3.ICSModule:所有Module的接口4.*****Module: 每个具体的module.实现了ICSModule接口。注册module事件的具体处理方法4.CSEvents.提供触发时间的方法。
阅读全文
摘要:1。cs.config: 列出所有的job和处理类,配置每个job所需要的参数2。Jobs:读取cs.config中的对整体job的配置,生成job列表实体,定时执行每个job3.job:读取每个job的配置参数,执行job,如果多线程的话,还包括定时执行。4. IJob: 所有****job的接口。只包括一个方法Execute5. *****job:实现Ijob接口,进行具体工作的job类。6。...
阅读全文
摘要:CommunityServer.config CommunityServer/CSModules ----CSApplicationCommunityServer/Jobs -----Jobs CommunityServer/SearchBarrel -----------SearchBarrelProviderCommunityServer/BrowseableLists -----Brows...
阅读全文
摘要://文件依赖模式//SiteUrls..cs const string cacheKey = "SiteUrls"; SiteUrls siteUrls = CSCache.Get(cacheKey) as SiteUrls; if(siteUrls == null){ CacheDependency dep = new CacheDependency(file); CSCa...
阅读全文
摘要:1.配置文件: 配置url的匹配模式2.SiteUrls: Url处理类3.IHttpModule的Application_BeginRequest中进行调用处理
阅读全文
摘要:1.反射 private static void CreateDefaultCommonProvider() { // Get the names of the providers // CSConfiguration config = CSConfiguration.GetConfig(); ...
阅读全文
摘要:Using the Popup Object Internet Development Index The popup object enables you to create window objects that take full advantage of Dynamic HTML (DHTML). Click the Show Me button to see so...
阅读全文
摘要:aspnet forums界面的最关键的问题首先在于它使用了MetaBuilders的Master Pages 控件.到http://www.metabuilders.com/Tools/MasterPages.aspx处下载此控件来研究一下: 一、Master Pages包括四个类: (1)Content: This control contains the content for a part...
阅读全文
摘要:如果你是一个网页开发人员,面对大量含有重复内容的页面,你一定希望能利用“模板”定义网页内的公共部分,而每一个页面只需要完成其特有的内容,通过模板生成最终的页面。熟悉Dreamweaver的网页开发人员都会喜欢其中的模板(Template)功能。但是当我们转换到了ASP.NET平台,却不得不使用一个基本上只能算是文本编辑器的微软开发环境(当然这应该是一个最完美的文本编辑器),微软在图形化网页设计方面...
阅读全文
摘要:webconfig 处理程序 namespace AspNetForums.Configuration { public class ForumConfiguration { public static ForumConfiguration GetConfig() { ...
阅读全文
摘要:1.基类 public abstract class SkinnedForumWebControl : Control, INamingContainer { string skinFilename = null; public string SkinFilename { get { ...
阅读全文
摘要:数据层SqlDataProvider 提供底层的数据访问 逻辑层Components->提供按功能模块对外开放数据访问接口:调用(SqlDataProvider 提供底层的数据访问)Components->ForumsDataProvider 提供上层对下层的数据隔离 表现层control:代码 调用(Components->ForumsDataProvider 提供上层对下层的数据隔离)...
阅读全文

浙公网安备 33010602011771号