27 May 2007

郁闷啊,竟然用256M内存跑着VS2005 SP1 好几个月

还有什么比这更郁闷的啊
几个月前 为了装 VS2005 SP1 加了160G硬盘,然后开新的装系统装VS2005 装SP1
后来的这几个月发现机子慢如牛啊,今天早上,无意间看到了开机前的一幕256M ????
怎么会事?赶紧关机,单根内存试验 都OK,就是插一起不行,两个换位OK了 512了,进到系统内,感觉爽多了。
可怜我竟然在256M内存下跑VS2005SP1好几个月啊

27 May 2007

郁闷啊,竟然用256M内存跑着VS2005 SP1 好几个月

还有什么比这更郁闷的啊
几个月前 为了装 VS2005 SP1 加了160G硬盘,然后开新的装系统装VS2005 装SP1
后来的这几个月发现机子慢如牛啊,今天早上,无意间看到了开机前的一幕256M ????
怎么会事?赶紧关机,单根内存试验 都OK,就是插一起不行,两个换位OK了 512了,进到系统内,感觉爽多了。
可怜我竟然在256M内存下跑VS2005SP1好几个月啊

02 May 2007

IIS7 beta FREE WEBHOSTING FREE HOSTING FOR ASP.NET 2.0 IIS7

Free IIS 7 Beta Hosting



Maximum ASP


MaximumASP is proud to be the first Hoster partnered with Microsoft to help cutting edge developers and IT pros learn IIS 7, and showcase their applications to the world. We’ll provide you with 50MB of disk space for your application, and a 10MB SQL Server 2005 database that will remain active through the Longhorn Server RC1 period.



Discount ASP.net


DiscountASP.NET is proud to be one of the few ASP.NET Hosting providers to offer Free Internet Information Services 7.0 Beta Hosting (IIS7 Hosting)!! All DiscountASP.NET customers can activate an IIS7 Hosting beta account as an optional addon at no additional cost. This FREE IIS7 Hosting beta program will continue until the official release of IIS 7.0.



Applied Innovations


Applied Innovations is one of a select few Windows Hosting services to be invited by Microsoft’s Internet Information Services team to offer IIS 7 beta hosting through the IIS7.0 Early Adopter Program. Best of all we’re not just offering IIS 7 beta hosting, but we’re offering FREE IIS7 Beta hosting to all web developers and not limiting it to just our customers. Plus we’re the first to provide full support for FastCGI and PHP on IIS7.



HostMySite.com


HostMySite is one of the first to offer FREE hosting beta accounts for IIS7 through our exclusive partnership with Microsoft’s IIS7 product team. Sign up now for FREE! The free IIS7 Beta trial will be in effect as long as IIS7 is in beta.



Web Fusion


Get a sneak preview of brand new beta Microsoft development technology, free with your Fusion Developer account!
You can activate an IIS7 Beta Hosting account as an additional option at no extra cost when you buy one of our Fusion Developer accounts, giving you the chance to try IIS7 before it’s released. IIS7 fully supports ASP.NET features, so you’ll find ASP.NET components like Forms Authentication will now be able to process all requests.



From:
http://blogs.iis.net/bills/archive/2007/04/28/free-iis7-web-hosting.aspx

02 May 2007

IIS7 beta FREE WEBHOSTING FREE HOSTING FOR ASP.NET 2.0 IIS7

Free IIS 7 Beta Hosting



Maximum ASP


MaximumASP is proud to be the first Hoster partnered with Microsoft to help cutting edge developers and IT pros learn IIS 7, and showcase their applications to the world. We’ll provide you with 50MB of disk space for your application, and a 10MB SQL Server 2005 database that will remain active through the Longhorn Server RC1 period.



Discount ASP.net


DiscountASP.NET is proud to be one of the few ASP.NET Hosting providers to offer Free Internet Information Services 7.0 Beta Hosting (IIS7 Hosting)!! All DiscountASP.NET customers can activate an IIS7 Hosting beta account as an optional addon at no additional cost. This FREE IIS7 Hosting beta program will continue until the official release of IIS 7.0.



Applied Innovations


Applied Innovations is one of a select few Windows Hosting services to be invited by Microsoft’s Internet Information Services team to offer IIS 7 beta hosting through the IIS7.0 Early Adopter Program. Best of all we’re not just offering IIS 7 beta hosting, but we’re offering FREE IIS7 Beta hosting to all web developers and not limiting it to just our customers. Plus we’re the first to provide full support for FastCGI and PHP on IIS7.



HostMySite.com


HostMySite is one of the first to offer FREE hosting beta accounts for IIS7 through our exclusive partnership with Microsoft’s IIS7 product team. Sign up now for FREE! The free IIS7 Beta trial will be in effect as long as IIS7 is in beta.



Web Fusion


Get a sneak preview of brand new beta Microsoft development technology, free with your Fusion Developer account!
You can activate an IIS7 Beta Hosting account as an additional option at no extra cost when you buy one of our Fusion Developer accounts, giving you the chance to try IIS7 before it’s released. IIS7 fully supports ASP.NET features, so you’ll find ASP.NET components like Forms Authentication will now be able to process all requests.



From:
http://blogs.iis.net/bills/archive/2007/04/28/free-iis7-web-hosting.aspx

04 Mar 2007

Ajax Control Toolkit 出新版了





Ajax Control Toolkit 出新版了
http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx



Release 10301 Production
三月-01-20072 Files
Description
2007-03-01 release of the AJAX Control Toolkit includes two new controls (ListSearch and SlideShow), a number of fixes identified as important by the community, and three significant enhancements: localization support, automatic JavaScript comment stripping, and ASP.NET theme/skin support. It continues to target the new ASP.NET AJAX v1.0 release (http://ajax.asp.net/).

AjaxControlToolkit.zip is the full release package with complete source code to all controls, the test framework, VSI, and more.

AjaxControlToolkit-NoSource.zip contains only the sample web site and VSI and is for people who don’t need or want the source code for the controls.





Runtime Binaries
AjaxControlToolkit-NoSource.zip - 1542 Downloads (2.3 MB)
AjaxControlToolkit.zip - 4334 Downloads (3.3 MB)



04 Mar 2007

Ajax Control Toolkit 出新版了





Ajax Control Toolkit 出新版了
http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx



Release 10301 Production
三月-01-20072 Files
Description
2007-03-01 release of the AJAX Control Toolkit includes two new controls (ListSearch and SlideShow), a number of fixes identified as important by the community, and three significant enhancements: localization support, automatic JavaScript comment stripping, and ASP.NET theme/skin support. It continues to target the new ASP.NET AJAX v1.0 release (http://ajax.asp.net/).

AjaxControlToolkit.zip is the full release package with complete source code to all controls, the test framework, VSI, and more.

AjaxControlToolkit-NoSource.zip contains only the sample web site and VSI and is for people who don’t need or want the source code for the controls.





Runtime Binaries
AjaxControlToolkit-NoSource.zip - 1542 Downloads (2.3 MB)
AjaxControlToolkit.zip - 4334 Downloads (3.3 MB)



01 Dec 2006

在写自定义控件时,如果控件某个属性允许被验证控件验证,需要注意微软在 WebUIValidation.js内的实现。

微软在WebUIValidation.js(System.Web的资源文件内自己找工具看吧)
内有如下代码:

function ValidatorGetValue(id) {
    
var control;
    control 
= document.getElementById(id);
    
if (typeof(control.value) == "string") {
        
return control.value;
    }
    
return ValidatorGetValueRecursive(control);
}
function ValidatorGetValueRecursive(control)
{
    
if (typeof(control.value) == "string" && (control.type != "radio" || control.checked == true)) {
        
return control.value;
    }
    
var i, val;
    
for (i = 0; i<control.childNodes.length; i++) {
        val 
= ValidatorGetValueRecursive(control.childNodes[i]);
        
if (val != ""return val;
    }
    
return "";
}


当自定义控件为符合控件,比如两个或多个DropDownList组合而成
而有一个Value属性来返回这几个DropDownList的返回选项,并且设置了ValidationPropertyAttribute去验证某个属性,如:
[ValidationPropertyAttribute( "Value" )]
当使用验证控件验证的时候,由于上面脚本在控件没有客户端value的时候返回的为第一个value不为空的ChildNode的value
值,这样用来验证,可能不是我们所需要的。
比如我需要非空验证控件来验证我的自定义控件所有的DropDownList都必须被选择时候,如果第一个有了选择,则该脚本认为验证通过了,叶面可以PostBack然而,在服务器端Page.IsValidata属性是false的。
我用了一个非常ugly的方法,在控件外层放一个父容器(可以通过override TagKey 来指定)span
在每个DropDownList的客户端onchange的时候 判断 如果 任一个没有选择,那么置span的value = ‘’;
当全部选择的时候再将span.value = 实际的值 ,这样就不会出现客户端验证通过,然而服务器端验证没有通过才出来ErrorMessage的情况了。

但是总觉得 这样非常的ugly,如果有其他朋友也遇到过这样的问题,欢迎讨论。

01 Dec 2006

在写自定义控件时,如果控件某个属性允许被验证控件验证,需要注意微软在 WebUIValidation.js内的实现。

微软在WebUIValidation.js(System.Web的资源文件内自己找工具看吧)
内有如下代码:

function ValidatorGetValue(id) {
    
var control;
    control 
= document.getElementById(id);
    
if (typeof(control.value) == "string") {
        
return control.value;
    }
    
return ValidatorGetValueRecursive(control);
}
function ValidatorGetValueRecursive(control)
{
    
if (typeof(control.value) == "string" && (control.type != "radio" || control.checked == true)) {
        
return control.value;
    }
    
var i, val;
    
for (i = 0; i<control.childNodes.length; i++) {
        val 
= ValidatorGetValueRecursive(control.childNodes[i]);
        
if (val != ""return val;
    }
    
return "";
}


当自定义控件为符合控件,比如两个或多个DropDownList组合而成
而有一个Value属性来返回这几个DropDownList的返回选项,并且设置了ValidationPropertyAttribute去验证某个属性,如:
[ValidationPropertyAttribute( "Value" )]
当使用验证控件验证的时候,由于上面脚本在控件没有客户端value的时候返回的为第一个value不为空的ChildNode的value
值,这样用来验证,可能不是我们所需要的。
比如我需要非空验证控件来验证我的自定义控件所有的DropDownList都必须被选择时候,如果第一个有了选择,则该脚本认为验证通过了,叶面可以PostBack然而,在服务器端Page.IsValidata属性是false的。
我用了一个非常ugly的方法,在控件外层放一个父容器(可以通过override TagKey 来指定)span
在每个DropDownList的客户端onchange的时候 判断 如果 任一个没有选择,那么置span的value = ‘’;
当全部选择的时候再将span.value = 实际的值 ,这样就不会出现客户端验证通过,然而服务器端验证没有通过才出来ErrorMessage的情况了。

但是总觉得 这样非常的ugly,如果有其他朋友也遇到过这样的问题,欢迎讨论。

11 Aug 2006

给Visual Studio 2005设置一个代码边界线,提醒自己,别写的太长哦。

Codeproject上有一个关于代码宽度的调查
http://www.codeproject.com/script/survey/detail.asp?survey=590&df=100&forumid=305784&select=1615639#xx1615639xx

其中的评论中有人贴到下面这个地址
http://blogs.msdn.com/saraford/archive/2004/11/15/257953.aspx
照着做 改了注册表
设定RGB(255,0,0) 5, 105 
嘿嘿 红线出来了。
图就不抓了 用原作者图

 

Guidelines at columns 5 and 30

11 Aug 2006

给Visual Studio 2005设置一个代码边界线,提醒自己,别写的太长哦。

Codeproject上有一个关于代码宽度的调查
http://www.codeproject.com/script/survey/detail.asp?survey=590&df=100&forumid=305784&select=1615639#xx1615639xx

其中的评论中有人贴到下面这个地址
http://blogs.msdn.com/saraford/archive/2004/11/15/257953.aspx
照着做 改了注册表
设定RGB(255,0,0) 5, 105 
嘿嘿 红线出来了。
图就不抓了 用原作者图

 

Guidelines at columns 5 and 30