惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Privacy International News Feed
V
Vulnerabilities – Threatpost
The Last Watchdog
The Last Watchdog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
O
OpenAI News
T
Threat Research - Cisco Blogs
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
P
Palo Alto Networks Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Help Net Security
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Securelist
Vercel News
Vercel News
S
Security Affairs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Blog — PlanetScale
Blog — PlanetScale
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
博客园_首页
Attack and Defense Labs
Attack and Defense Labs
G
Google Developers Blog
T
Tor Project blog
Project Zero
Project Zero
腾讯CDC
Schneier on Security
Schneier on Security
月光博客
月光博客
N
Netflix TechBlog - Medium
AWS News Blog
AWS News Blog
L
LINUX DO - 最新话题
P
Proofpoint News Feed
博客园 - 司徒正美
A
About on SuperTechFans
Latest news
Latest news
Scott Helme
Scott Helme
Hacker News: Ask HN
Hacker News: Ask HN
T
Threatpost
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
博客园 - 聂微东

博客园 - 成为-行动-拥有(BeDoHave)

我的MIS快速开发框架集成参考 选择一个框架的权衡建议 简单为美的IT开发尝试 请跟我来(完)--使用Ext及其llano的注意事项 请跟我来--使用Ext+llano快速搞定CRUD 请跟我来--Ext数据应用开发的几板斧 请跟我来--使用Ext搞个原型 请跟我来(EXT2.0+llano实践) 2007年的最后的几笔 用NBear和QPG分布式框架改善生活 - 成为-行动-拥有(BeDoHave) - 博客园 风继续吹----对一些ORM框架的使用心得(2) 冷眼程序人生----对一些ORM框架的使用心得 欢迎新成员加入! QPG分布框架1.1.1 需求看板单机版可以使用了 QPG加速器的使用 是"渔"非"鱼"--QPG分布处理框架V1.1(Beta1)简介 实践篇(4)—需求看板解析 实践篇(3)--关于事务处理的一点细节
QPG分布框架V1.1 BETA2说明
成为-行动-拥有(BeDoHave) · 2006-01-09 · via 博客园 - 成为-行动-拥有(BeDoHave)

谢谢一些使用朋友提供的反馈.
最新的代码在这里下载
本次改动:
1) 把SocketHelper拿出来,供其他非.NET的客户端参考.
2) SocketHelper也改成同步方法,修正了原来的DataSet不能在主线程使用的问题.
3) 在容器中增加了查看组件依赖关系的方法,实例代码如下:

[STAThread] 
        
static void Main(string[] args)
        
{
            System.Collections.IDictionary ht
=new Hashtable();
        
            ht.Add(
"bank1",typeof(AccountDao));
            ht.Add(
"bank2",typeof(AccountDao));
            ht.Add(
"bank.service"typeof(BankService));
            ht.Add(
"bank.facade"typeof(BankFacade));



            DbContainer container 
= new DbContainer(ht);

            AccountDao bank1
=container["bank1"as AccountDao;
        
            container.createTables(
"DB1");
            container.createTables(
"DB2");

            bank1.CrateNewAccount(
"alex",10000);
            ht
=container.GraphNodes ;
            
foreach(QPG.Utility.ComponentNodeInfo info in ht.Values)
                Console.WriteLine(info);

            Console.WriteLine();
            Console.WriteLine(
"bank.service要使用的组件:");
            ht
=container.getDependents("bank.service") ;
            
foreach(QPG.Utility.ComponentNodeInfo info in ht.Values)
                Console.WriteLine(info);

            Console.WriteLine(
"bank.service被以下组件使用:");
            ht
=container.getDependers("bank.service") ;
            
foreach(QPG.Utility.ComponentNodeInfo info in ht.Values)
                Console.WriteLine(info);
        
            
while (Console.ReadLine()!="q"{
            }

            container.dispose();
            
        }

4) 在MonoRail中测试SocketHelper可以调用服务了


注意事项:
  在数据量大时最好使用容器的处理,速度约是SocktHelper的3-4倍.主要原因估计是用SDK中的反序列化比较慢.
  MR演示中用虚拟目录则要修改about.aspx

alex