jlzhou

回复才有动力~~
posts - 24, comments - 148, trackbacks - 1, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

最新评论

共3页: 1 2 3 下一页 
像这种数据嵌套的操作用存储过程是最好的,别的没办法
注意PrepareCommand这个函数 ...,out mustCloseConnection)
所以正常路径是会关闭的。
关于12楼说的,动态添加item的DropDownList取不到选择值,我也碰到了,但琢磨了一阵子,明白了是什么问题。
动态添加item的代码,必须用IsPostBack了判断是否执行,否则每次某个事件提交后,添加 item的代码段会再次执行,然后selectedindex又会被置到0了。
修改后,添加了IsPostBack的判断,就能取出选择值了。
re: 我的.NET开发环境设置 ihouge 2007-08-02 16:39  
丫的,无意中看到JL.ZHOU的大作!Aha~
re: Visual Studio for Linux 来了! baoaay 2007-06-26 08:30  
晕,乱讲,这个是在windows上开发调试然后可以部署在linux上
@怪怪:

分析得到位!是我看到的关于CS的最可观的评价!高手!
re: CommunityServer 2.1 SP3 低调发布 怪怪 2007-05-08 03:54  
强调一下Release版本和Debug的性能区别....,如果你的程序在Release版本和Debug版本上没有明显的性能差异,说明你的程序纵深太小,除了在水平面延展,基本没什么结构可言 -___- 。不幸的是,大多数所谓"php的环境下面大型的b/s框架比比皆是,而且速度奇快"如果将其一一对应到ASP.NET,基本都是这种水平,所以比起来CS,尤其是Debug时简直惨不忍睹~~ 而大多数Web应用,由于其需求相对固定,所以根本没有必要使用OO的设计方法。不幸的是CS的作者不太明白这一点,固执的以为只要懂得性能调优就一切摆平...,且不说他对OO设计的使用除了一个Provider,其实不那么到位..

刚才又试了下Release版本,其实响应真没记忆中那么差,但对于咱们开发人员来说,大多数时候面对的是Debug版本,比Release后慢百倍的速度,确实跟噩梦一样。毕竟CS在国外部署了不少,哪个也不比Discuz流量小,说它性能多差(尤其是多用户并发的状况下),也不太可能,否则早被淘汰了。
re: CommunityServer 2.1 SP3 低调发布 怪怪 2007-05-08 03:32  
@Neo.h
www.myspace.com
www.ebay.com
www.orkut.com
www.live.com
www.hotmail.com
www.msn.com

全是ASP.NET。按某比Alexa专业点的统计,全球流量前6中的四个全是ASP.NET,只有Yahoo和Google不是。CS确实超慢,主要在于控件包装太多,优化不足。另外一点,如果是Release版本,而且你访问的页面在一段时间内不是第一次访问,其实速度比想象中好。另外,随着流量增大,响应速度比那些显得非常快的轻量级ASP.NET/JSP/PHP程序下降的慢。

至于php这种动态语言与静态语言比效率,php简直没有性能可言。不信你看那篇著名的如何用php挣一百万的php优化文章中的数据,然后自己在ASP.NET实现一个同样规模的例子,和它保持同样的优化水准的情况下,看看效率。
re: CommunityServer 2.1 SP3 低调发布 Laser.NET 2007-04-22 00:16  
我个人也觉得CS的缓存机制还有换肤机制做的都不怎么样,性能也不够好。不知道新版的CS2007有没有什么大的改进?
我租的国外的空间,速度很快的呀?
re: CommunityServer 2.1 SP3 低调发布 BoyLee 2007-04-21 20:56  
这程序臃肿且速度奇慢
re: CommunityServer 2.1 SP3 低调发布 slightboy 2007-04-21 20:07  
说实话 感觉 CS 并不太适合国人使用...
re: CommunityServer 2.1 SP3 低调发布 wingoo 2007-04-21 19:55  
速度还好吧
re: CommunityServer 2.1 SP3 低调发布 Neo.h 2007-04-21 19:27  
我用cs21sp2的做了一个系统,所以很多方面都转用静态页面机制,否则真的无法忍受这样的速度。做了.NET的b/s已经有一段时间了。cs的速度甚至让我怀疑asp.net是否合适做一个大型的b/s的系统,是否转向php, php的环境下面大型的b/s框架比比皆是,而且速度奇快,反观asp.net环境下面又大又好运行的快的真是屈指可数。我想本来asp.net 和 php在运行的效率上已经不是同一个层次了。
的确臃肿速度奇慢,但是是一个学习的很好的例子
希望能公开2007的sdk呀,继续学习
非常同意上面的观点,程序臃肿且速度奇慢,再加一个,如果使用虚拟主机,需要的配置也非常复杂
这程序臃肿且速度奇慢
re: CommunityServer 2.1 SP3 低调发布 补丁 2007-04-21 13:53  
对cs确实没啥兴趣...
re: CommunityServer 2.1 SP3 低调发布 jlzhou 2007-04-21 13:11  
Below are changes between Community Server 2.1 SP2 and Service Pack 3

Note: All Service Pack 1 and Service Pack 2 changes are also included in SP3.
See the "CS 2.1 SP1 release notes.txt" file for changes included in SP1.
See the "CS 2.1 SP2 release notes.txt" file for changes included in SP2.
------------------------------------------------------------------------

User Experience Improvements
- Cleaned up ban user experience. When you select to ban a user the ban tab appears and is focused, in addition the forceLogin option is selected.
- The create new blog form has been simplified to only include necessary fields.
- Rearranging subforums in the tree view keeps the new order that is chosen both in the control panel and in the forum views.


Help text clean-up and Improvements
- Corrected spelling mistakes in Resource files
- Modified to allow the 'SearchFor' text to have a placeholder - some languages require a different ordering for this text.


Security Improvements
- Added validation controls to the feedForm page for the numeric fields.
- Added measures to prevent possible DoS attack against Pingback or Trackback Services

Performance Improvements

Feature Enhancements and Bug Fixes
- Fix: cs_SiteSettings_Get now returns the wrong settings
- Fix: Fix for subject needing to be HtmlDecoded in notification emails
- Fix: CSLinks roles are now fully compared to the roles that a user has.
- Fix: CanSend method was updated so that if the user is anonymous the anonymous account will not receive an email. This should remove unnecessary emails from being queued whenever anonymous posts are altered.
- Fix: The SelectedDate property now returns a well formed DateTime value that will work with differing cultures.
- Fix: The CreateUserInvitation methods DateInvited SQL Parameter is now declared as a DateTime type. As a result the CreateUserInvitation does not cause an exception whenever an invitation is created on a site that is a non-US culture.
- Fix: Updated NavigationBar and CSLink so that the check on whether or not a link should be displayed is more efficient.
- Fix: Updated threaded view in default theme to fill the height of the window even when the EULA is disabled.
- Fix: Photo comment links on the profile page and search pages now go to the correct photo page.
- Fix: Fixed issue with metadata reader and the reading of IPTC date tags
- Fix: You can no longer update a blogs appkey and make it empty. This fixes the issue where null keys were being stored and breaking a site.
- Fix: Updated FolderEditControlDetails controls so that a folders appkey can no longer be null or empty when updating the folder. As a result, a file gallery will no longer have exceptions whenever a user tries to save a folder with an empty appkey.
- Fix: Updated Johnny so that it is much more localizable.
- Fix: Updated cs_Threads_GetThreadSet so that the number of users returned for a private message is not limited by the previous ROWCOUNT.
- Fix: Threaded view on forums now displays a status dropdown and the mark as answer button.
- Fix: The previous and next buttons now work correctly when going through the threads in a forum.
- Fix: Forum moderation now fires the appropriate CSEvents.
- Fix: Updated other pages so that they also rely on the resources file for the page title instead of hard-coding specific text for titles.
- Fix: Corrected subject encoding issues when saving tags usind the inline tag editor
- Fix: Users are now able to delete their own posts within time limit (permissions are honored)
- Fix: The alt attribute on an image in the photo gallery is now properly displayed
- Fix: Renamed loading.html to loading.htm and corrected references to fix the issue
- Fix: Reporting navigation bar links are now using the SiteUrls.config file.
- Fix: Updated page titles for contact me pages so that they use the resource manager and are more localizable.
- Fix: Corrected subject encoding issues when saving tags usind the inline tag editor
- Fix: Updated comment styles so that really long urls wrap in IE and Safari.
- Fix: Updated to expire the cookie that stores upload information for photos when the photos post is saved
- Fix: Text on join screen (required fields) is updated based on account activation settings
- Fix: The HttpPostItem.ToString method is now properly encoded
- Fix: Stripped whitespace, '.' and '|' from allowed and restricted extensions.
- Fix: The users displayname is now used on the bloggers page in and on the photos default page.
- Fix: Updated GetPostsByMonth and GetPostsByMonths so that they do not raise an exception when the UserTime is NULL in cs_Posts.
- Fix: Thread joins work in all situations now in forums.
- Fix: Updated weblog sprocs so that the Awaiting Approval value in the blogs dashboard has the correct value.
- Fix: Blog subscriptions now use appropriate email template for both comments and regular posts when an existing post becomes published.
- Fix: The number of tags that are in a forum thread are no longer limited by the pagesize.
- Fix: Read Status should now bubble up properly to forums
- Fix: New PrivateMessages should not display a NA for the Recipient when one of the parties deletes the message
- Fix: Birthdates over 100 years ago do not create an exception.
- Fix: User posting as anonymous now uses the anonymous user to make a post when selected by a user.
- Fix: After a thread author leaves their thread that has a post marked as the answer, when they come back to that thread they can now unmark the post as the answer.
- Fix: The Export CSV button on the Poll Reporting page now uses the correct navigate url.
- Fix: Fixed copyright dates in CP
- Fix: Updated gallery queries to only pull published items outside of the control panel.
- Fix: Updated Galleries and FileGallery to no longer use cs_PostGetRandomPostID because of its lack of support for published statuses, instead using a thread query, and random int for index.
- Fix: Approving a post doesn't mark a forum as unread when it was previously marked as read.
- Fix: Fix for enableFileSystemStorage = false on galleries, in a couple of spots we weren't resetting the stream position.
- Fix: Update Photos CP to dump any cached thread queries when updating gallery permissions, as the cached posts might no longer be visible to the roles in the cache key.
- Fix: Renaming a tag on the forums moderation page with same name but different capitalization no longer deletes the tag
- Fix: Update quick add control, modal upload (used by content selector) and quick add on photo list CP page, to check quotas (the CP ascx pages now have a status message too; although the code will continue to work without it)
- Fix: You can now use international characters to name your photo or file gallery

- Feature: Updated the ForumModeration page in the Control Panel so that it now displays the attachments for the posts that are moderated.
- Feature: Text on join screen (required fields) is updated based on account activation settings
- Feature: Added Forum Notify Moderators email option and added moderator notification option as a forum setting in the control panel.
- Feature: Added ability for Johnny to index private galleries so that users with access to the gallery can search them.
- Feature: Whenever you update a blog post that is cross-posted the remote post is also updated.
- Feature: Enabling Cross-Posting on an existing post that is not currently cross-posted will create a new post on the remote blog.
- Feature: Updated blogrollerupdater with new security exception catch that logs to event log when security exception occurs when reading a feed.
re: CommunityServer 2.1 SP3 低调发布 无心之柳 2007-04-21 13:02  
能把readme 发上来么, 看看修正了哪些BUG
re: CommunityServer 2.1 SP3 低调发布 Roach 2007-04-21 12:08  
改改多语言支持吧,例如把所有语言加载到HashTable,然后存入Cache.根据当前用户操作系统类型,通过ResoureManager从内存中读去相关资源.
re: VS2005专业版感想 暮暮 2007-04-17 18:16  
不知道。NET有什么好。 也许是另一个COM吧。
re: VS2005专业版感想 暮暮 2007-04-17 18:15  
我也很矛盾这几个月来一直在DELPHI,VS2005中徘徊,不怎么办,放弃DELPHI我感觉很可惜,我的第一个商用程序是DELPHI编写的,谈不上赚钱,但给我工作带来的空前的便利,现在听说DELPHI一天一天的接近VS。我很迷茫,我虽然不是真正的程序员,但是要放弃DELPHI,去学C#。NET,我也不知道。好多论坛上写MS是现在老大,跟着他走应该不会有错的,必竞他现在是计算机巨头。也许他的话是正确的。
很好的文章,对入门者很有帮助。
VM ware 这么好 ,在哪里下载呢?
re: VB.NET LDAP 用户身份验证 kitten 2006-10-13 11:01  
为什么登录是空密码可以,一旦密码不为空,就难证出错?
VB.NET LDAP 如何修改用户资料?如果我想修改密码应该怎么作啊?
re: MSDN宇宙版到货! U2U 2006-07-14 01:06  
瓦,你什么公司啊?强啊
re: Visual Studio for Linux 来了! U2U 2006-07-14 01:05  
界面应该也有版权吧?干吗这么多软件抄袭微软的界面微软都没有去告他们呢?WPS 抄 OFFICE,开发工具就更不用说了……
VS2005与delphi2006 飞不动的老鸟 2006-07-08 20:56  
这几年我一直在Delphi8、Delphi2005、delphi2006、VS2002、VS2003、VS2005之间徘徊,其实delphi2006与VS2005都可以用,并且二者还越来赿相似,要不是microsoft拥有windows平台,Borland Delphi可能早早就超赿了microsoft的编程工具。
re: 我的.NET开发环境设置 e代情人 2006-07-01 21:24  
虚拟机我用了很多年,也用过了很多的版本,不过现在我电脑里用的是Connectix Virtual PC 5.1,看好了,是Connectix而不是Microsoft,我测试过,效能比vmware快,我在我的一台老本本(IBM T20 PIII750 256M 40G)上用Connectix Virtual PC安了REDHOT 9.0 ,用起来也不慢
下面是我以前在CSDN发的一篇关于DropDownList的文章.请指正啊.
==========================


在ASP.Net里,如果你的DropDownList控件是在运行时候动态从数据库里取数据然后
Items.Add进去的,那么当你选择一个项后状态根本不能保存下来,而且也取不到你的
选择值,这个咋个整啊?为何不用JavaScript试试呢.于是就试成了,拿出来给遇到同样
问题的弟兄.希望有所帮助.举个取值的例子:

(1)先在WebForm里放一个DropDownList1,一个TextBox1.然后我们要实现的是在DropDownList1选择
后,在TextBox里把值显示出来;(注意这里DropDownList里的Items项是在PageLoad时候动态添加进去的
数据库字段)

(2) 在PageLoad里代码如下意思(代码不完整,表示个意思):

:
:
While Reader_DBFields.Read()
DropDownList1.Items.Add(Trim(Reader_DBFields.GetString(0)))
End While
:
:

(2)把WebForm切换到HTM代码模式,然后添加JavaScript如下:
<script language="JavaScript">
function onDropSel()
{
document.getElementById("TextBox1").value = document.getElementById("DropDownList1").value;
return ;
}
</Script>
:
:
(3)找到定义DropDownList那段代码,加入OnChange事件,代码为:OnChange="javascript:onDropSel()"
<asp:dropdownlist id="DropDownList1" style="Z-INDEX: 121; LEFT: 515px; POSITION: absolute; TOP: 196px" runat="server" Height="24px" Width="196px" Font-Size="Smaller" OnChange="javascript:onDWsel();"></asp:dropdownlist>


然后运行,选择DropDownList的项,看到在TextBox里显示出你的选择值就OK了.




如需探讨可Mail: kylixsales@163.com
re: VB.NET LDAP 用户身份验证 jin.t 2006-06-21 15:49  
以下目录服务配置参数:
hostname=110.167.100.211
port=676
basedn=o\=lspc,o\=silspc
binddn=cn\=Directory Manager
bindpassword=abcde123
re: VB.NET LDAP 用户身份验证 jin.t 2006-06-21 15:48  
你好,请问这个LDAP的目录访问怎么弄啊?能不能给解释一吓.
上面的代码我也用过,可惜转换总是不正确,实在是头痛,不如直接用DataTable实例.要说显示TreeView应该Row不会太多,不存在问题.
re: VS2005专业版感想 leexiaodong 2006-04-30 09:38  
就是因为borland没有自己的像microsoft一样的windows 所以他也一直只有在后面跑,哎,想想还是够惨的,其实花了那么多年在delphi上我觉得好后悔,我想回到microsoft的软件开发上去,因为borland的bug太多,他们都认为现在的内存便宜,而没有想过如果是用本本来写东西是一个怎么样的感受,我是delphi2006一出来就有了设计师版 的,我觉得还是用d7可以写win32的程序,至于.net就算了吧,因为microsoft都 .net framework的版本还是2.0了,所以borland始终不跟不上来,不过我觉得如果delphi就这样悄然的陪着diva一起死去,我想还是很可惜的,用过delphi的朋友们我们用客观的态度来评价bds2006吧,功能是太多,就是觉得像一大象,拉不动呀,bds2006如果能像d7占用系统资源那么少的话,应该还是会受欢迎的,不知道现在的borland又在怎么走,他们还来得急自己拥用一个像microsoft的windows吗?我想是不可能的,作为一个企业不可能花那么大的心血而得不到回馈的,所以我想要在.net上borland始终都是输家。。。
我也遇到了这个问题,刚开始觉得很奇怪
re: 我的.NET开发环境设置 thank you 2006-03-28 08:31  
请教:vmware 4.5or 5.0下,我装了win98,可是声卡驱动没有了,或者说声卡不能用,应该怎么解决?谢谢了
re: 对话周鸿祎:从程序员创业谈起 张老三 2006-02-24 12:36  
确实如此,我经历了类似的情况。
现阶段也是找一合伙人的方式
re: VS2005专业版感想 jlzhou 2006-02-16 13:58  
试过D2006,感觉还是把一大堆乱七八糟的东西拼凑在一起,速度慢,而且.net framework的版本还是1.1的,为什么跟着microsoft的后面跑呢?自己做个framework不行吗?
re: 我的.NET开发环境设置 薛定谔的猫 2005-12-23 02:05  
VMWare5.0以后的版本的确支持D3D功能,但是默认是没有打开的,必须手动打开.
先配置好一个虚拟系统,找到后,用文本方式打开,添加如下内容:
mks.enable3d = TRUE
svga.vramSize = 输入你想要的大小,注意,单位是byte,要乘两次1024
vmmouse.present = FALSE
保存,就打开D3D功能了.
re: 大家是如何保存网页的? exiu 2005-12-21 19:11  
强烈推荐网博士,爱不释手,我的最爱!
re: VS2005专业版感想 自由虫子 2005-12-13 10:45  
Delphi2006的确做得很棒,出乎意料的稳定,这给了我们这些DelphiFans一份大礼,确实太出彩了!

楼主可以试试!
re: 关于ASP.NET控件DropDownList控件的问题 阿賴耶識 2005-11-28 18:37  
也许我们可以用变通的方法来实现,比如我们用一7的倍数来表示同一VALUE的值,最后作判断,如果可以整除就认为它是同一VALUE,一点拙见~~~
re: NetAdvantage 2005 V2 is coming! zs 2005-11-11 22:19  
kkkkk
value值重复是经常发生的事,有没有解决的方法。。。
re: VS2005专业版感想 听棠.NET 2005-11-04 08:10  
好。VS的那些自动生成代码我可不喜欢。偶用SPL做的系统可以多数据库移植。。
re: 婚车见闻 jlzhou 2005-11-01 10:02  
是啊!哈哈。
re: MSDN宇宙版到货! jlzhou 2005-11-01 10:01  
21000,公司出钱买的。
re: MSDN宇宙版到货! 和尚 2005-10-31 14:00  
多少钱啊?估计个人买不起!
共3页: 1 2 3 下一页