资源简介
BuildaWebbasedChatusingASP.NETAjax.zip
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using SampleChat.Chat;
namespace SampleChat
{
public class ApplicationWrapper
{
public virtual HttpApplicationState Application
{
get;
set;
}
public ApplicationWrapper()
{
}
public ApplicationWrapper(HttpApplicationState application)
{
this.Application = application;
}
private const string keyChatRooms = “ChatRooms“;
public virtual ChatRoomCollection ChatRooms
{
get
{
if (Application[keyChatRooms] == null)
{
Application[keyChatRooms] = new ChatRoomCollection();
}
return (ChatRoomCollection)Application[keyChatRooms];
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2009-03-02 15:57 Db sc
文件 620 2009-03-02 16:46 Db sc
文件 282 2009-03-02 11:00 Db sc
文件 658 2009-03-02 16:48 Db sc
文件 412 2009-03-02 16:45 Db sc
目录 0 2009-03-02 11:04 Solution\
目录 0 2009-03-02 15:26 Solution\SampleChat\
文件 728 2009-03-02 11:57 Solution\SampleChat\ApplicationWrapper.cs
目录 0 2009-03-02 11:04 Solution\SampleChat\App_Data\
目录 0 2009-03-02 12:26 Solution\SampleChat\bin\
目录 0 2009-03-02 15:11 Solution\SampleChat\Chat\
文件 4925 2009-03-02 12:26 Solution\SampleChat\Chat\ChatManager.cs
目录 0 2009-03-02 15:08 Solution\SampleChat\Chat\Controls\
文件 991 2009-03-02 15:08 Solution\SampleChat\Chat\Controls\Chat.ascx
文件 382 2009-03-02 12:34 Solution\SampleChat\Chat\Controls\Chat.ascx.cs
文件 808 2009-03-02 12:34 Solution\SampleChat\Chat\Controls\Chat.ascx.designer.cs
目录 0 2009-03-02 14:00 Solution\SampleChat\Chat\Data\
文件 2624 2009-03-02 14:00 Solution\SampleChat\Chat\Data\ChatDataAccess.cs
目录 0 2009-03-02 15:10 Solution\SampleChat\Chat\Entities\
文件 614 2009-03-02 12:07 Solution\SampleChat\Chat\Entities\ChatMessage.cs
文件 1185 2009-03-02 11:44 Solution\SampleChat\Chat\Entities\ChatResponse.cs
文件 1958 2009-03-02 11:43 Solution\SampleChat\Chat\Entities\ChatRoom.cs
文件 643 2009-03-02 11:42 Solution\SampleChat\Chat\Entities\ChatRoomCollection.cs
文件 931 2009-03-02 12:55 Solution\SampleChat\Chat\Entities\ChatUser.cs
文件 696 2009-03-02 11:32 Solution\SampleChat\Chat\Entities\SiteUser.cs
目录 0 2009-03-02 15:11 Solution\SampleChat\Chat\Services\
文件 114 2009-03-02 11:45 Solution\SampleChat\Chat\Services\ChatService.asmx
文件 1842 2009-03-02 13:00 Solution\SampleChat\Chat\Services\ChatService.asmx.cs
文件 674 2009-03-02 15:13 Solution\SampleChat\ChatTest.aspx
文件 684 2009-03-02 15:15 Solution\SampleChat\ChatTest.aspx.cs
文件 1455 2009-03-02 15:13 Solution\SampleChat\ChatTest.aspx.designer.cs
............此处省略21个文件信息
- 上一篇:一套基于C#开发的收发邮件系统完整版源代码
- 下一篇:[.NET性能优化]一书源代码
评论
共有 条评论