【收藏】本周ASP.NET英文技术文章推荐[09/23 - 09/29]:IIS 7.0、Facebook.NET、ASP.NET AJAX、ModalPopupExtender、扩展方法、LinqDataSource、ListView、Visual Studio
2007-12-22 12:52
1126 查看
摘要
本期共有8篇文章:
IIS7.0RC0——添加了很多新功能
VS.net中的starterkit——NikhilKothari的Facebook.NET
新项目——ASP.NETAJAX异常日志记录
为ModalPopupExtender添加动画效果
ASP.NET开发中常用的一些扩展方法
LinqDataSource、ObjectDataSource和SqlDataSource比较
让ListView控件以平铺模式显示
15个免费的VisualStudio的插件
[1]IIS7.0HitsRC0-LotsofcoolnewIIS7ExtensionsAlsoNowAvailable(IIS7.0RC0——添加了很多新功能)
Scott显然对IIS7抱有很大的期待。原文是这样说的:
IIS7isa*major*updateofourweb-serverstack,andintroducesasignificantlynewandimprovedextensibility,configuration,andadministrationarchitecture.
本期共有8篇文章:
IIS7.0RC0——添加了很多新功能
VS.net中的starterkit——NikhilKothari的Facebook.NET
新项目——ASP.NETAJAX异常日志记录
为ModalPopupExtender添加动画效果
ASP.NET开发中常用的一些扩展方法
LinqDataSource、ObjectDataSource和SqlDataSource比较
让ListView控件以平铺模式显示
15个免费的VisualStudio的插件
[1]
Scott显然对IIS7抱有很大的期待。原文是这样说的:
IIS7isa*major*updateofourweb-serverstack,andintroducesasignificantlynewandimprovedextensibility,configuration,andadministrationarchitecture.
确实,微软公司在WebServer方面还处于劣势,自然希望IIS7能够给它带来好运。好在最新的IIS7.0终于到了RC0阶段,并引入了很多所谓“引人注目”的功能:
IIS7.0Extensibility(andwhyitiscool)
IIS7.0FTPPublishingService
IIS7.0MediaPackBit-RateThrottlingModule
IIS7.0RemoteManagerAdministrationTool
FastCGISupportforIIS5.1andIIS6.0
恕我鲁钝,还是没能看出来哪些真的是那么的利害……当然仁者见仁了。
[2]
Facebook的大名如雷贯耳,微软公司的一干人马也做出了一个框架——
另有“好事者”干脆将这个东西做成了VS.net中的starterkit,也就是说在VS中只要新建一个Facebook.NET项目,基础设施什么的就已经做好了……
这个东西可以在此下载:
[3]
ASP.NETAJAX应用程序中发生的异常也能够被记录下来了,使用
<AjaxLogging:ExceptionManagerID="TheExceptionManager"runat="server">
<Listeners>
<AjaxLogging:WebServiceListenerServicePath="~/ExceptionLogService.asmx"ServiceMethod="Log"/>
<AjaxLogging:PanelListenerPanel="pnlException"/>
<AjaxLogging:SysDebugListener/>
<AjaxLogging:AlertListener/>
</Listeners>
</AjaxLogging:ExceptionManager>
.csharpcode,.csharpcodepre
{
font-size:small;
color:black;
font-family:consolas,"CourierNew",courier,monospace;
background-color:#ffffff;
/*white-space:pre;*/
}
.csharpcodepre{margin:0em;}
.csharpcode.rem{color:#008000;}
.csharpcode.kwrd{color:#0000ff;}
.csharpcode.str{color:#006080;}
.csharpcode.op{color:#0000c0;}
.csharpcode.preproc{color:#cc6633;}
.csharpcode.asp{background-color:#ffff00;}
.csharpcode.html{color:#800000;}
.csharpcode.attr{color:#ff0000;}
.csharpcode.alt
{
background-color:#f4f4f4;
width:100%;
margin:0em;
}
.csharpcode.lnum{color:#606060;}
再加上一点小小的设定,效果就出来了:
[4]
ASP.NETAJAXControlToolkit中的
使用起来非常简单:
<ajaxToolKit:ModalPopupExtender>
<Animations>
<OnShown>
<%--Fadeinwhenfirstdisplayed%>
<FadeInDuration=".75"Fps="20"/>
</OnShown>
</Animations>
</ajaxToolKit:ModalPopupExtender>
最终效果可以看一下这个演示页面:
[5]
“扩展方法”是.NET3.0中引入的一个新的特性,在Scott的一篇Blog中有详细的介绍(
这篇文章的作者就总结出了ASP.NET开发中常用的一些扩展方法,比如说这个用于TreeView的:
publicstaticboolIsDescendantOrSelfSelected(thisTreeNodenode)
{
if(node.Selected)
{
returntrue;
}
elseif(node.ChildNodes.Count>0)
{
foreach(TreeNodeninnode.ChildNodes)
{
if(IsDescendantOrSelfSelected(n))
returntrue;
}
returnfalse;
}
else
{
returnfalse;
}
}
[6]
知名的高产ASP.NET技术作家、意大利人
还发现了Dino的一个写作特点——文中喜欢使用粗体,比如:
ThepurposesofLinqDataSourceandObjectDataSourceareclearlydifferent.ObjectDataSourceenablesyoutotakeadvantageofRADdatabindingontopofyourexistingmiddletier.LinqDataSourceandrelatedtoolsgiveyouinsteadaquickwaytobuildanextremelythinandtosomeextent,anemic,objectmodelthat,inaddition,canhardlybedeployedonaphysicallydifferenttier.
有兴趣的朋友不妨读读看。
[7]
经历过从前各种ASP.NET控件生成的HTML之后,干净清爽的ListView无疑立即受到了开发人员的欢迎。如果你还不知道ListView是什么东西,那么参考一下Scott的这篇Blog吧:
其实本文的内容倒没有什么特别“有技术含量”的地方。关键是其中的这张图,非常清晰地给出了ListView、生成的HTML以及显示界面之间的关系,让人爱不释手。若是技术图书中多一些这样的插图,那该多好啊……
[8]
这篇文章给出了15个非常有用的、免费的VisualStudio的插件:
…………还有很多很多,强烈推荐
相关文章推荐
- 本周ASP.NET英文技术文章推荐[09/23 - 09/29]:IIS 7.0、Facebook.NET、ASP.NET AJAX、ModalPopupExtender、扩展方法、LinqDataSource、ListView、Visual Studio
- 本周ASP.NET英文技术文章推荐[09/23 - 09/29]:IIS 7.0、Facebook.NET、ASP.NET AJAX、ModalPopupExtender、扩展方法、LinqDataS
- 本周ASP.NET英文技术文章推荐[02/17 - 02/23]:AJAX、History、jQuery、最佳实践、LINQ、Visual Studio、JavaScript、IIS
- 【收藏】本周ASP.NET英文技术文章推荐[07/29 - 08/04]:VS 2008、.NET 3.5、ASP.NET AJAX、ObjectDataSource、Fiddler、Silverlight、ASP.NET 3.5、ListView、DataPager
- 本周ASP.NET英文技术文章推荐[03/02 - 03/15]:ASP.NET AJAX、LinqDataSource、ListView、MVC、JavaScript、智能感知、Ext、CAPTCHA
- 本周ASP.NET英文技术文章推荐[03/02 - 03/15]:ASP.NET AJAX、LinqDataSource、ListView、MVC、JavaScript、智能感知、Ext、CAPTCHA
- 【收藏】本周ASP.NET英文技术文章推荐[??/?? - 09/22]:VS 2008、.NET 3.5、asp:ListView、DotNetNuke、ASP.NET AJAX
- [导入]本周ASP.NET英文技术文章推荐[03/02 - 03/15]:ASP.NET AJAX、LinqDataSource、ListView、MVC、JavaScript、智能感知、Ext、CAPTCHA
- ASP.NET英文技术文章推荐[02/17 - 02/23]:AJAX、History、jQuery、最佳实践、LINQ、Visual Studio、JavaScript、IIS
- 【收藏】本周ASP.NET英文技术文章推荐[09/30- 07/13]:.NET Framework、JSON、Google Analytics、文件上传、GridView、IIS 7、Web开发
- 本周ASP.NET英文技术文章推荐[??/?? - 09/22]:VS 2008、.NET 3.5、asp:ListView、DotNetNuke、ASP.NET AJAX
- 本周ASP.NET英文技术文章推荐[07/29 - 08/04]:VS 2008、.NET 3.5、ASP.NET AJAX、ObjectDataSource、Fiddler、Silverlight、ASP.NET 3.5、ListView、DataPager
- 【收藏】本周ASP.NET英文技术文章推荐[02/24 - 03/01]:Silverlight、AJAX、Web Client Software Factory、LINQ、上传文件、GDI+
- 本周ASP.NET英文技术文章推荐[??/?? - 09/22]:VS 2008、.NET 3.5、asp:ListView、DotNetNuke、ASP.NET AJAX
- 【收藏】本周ASP.NET英文技术文章推荐[04/29 - 05/05]
- 【收藏】本周ASP.NET英文技术文章推荐[12/03 - 12/09]
- 本周ASP.NET英文技术文章推荐[09/30- 07/13]:.NET Framework、JSON、Google Analytics、文件上传、GridView、IIS 7、Web开发
- 【收藏】本周ASP.NET英文技术文章推荐[12/17 - 12/23]
- 【收藏】本周ASP.NET英文技术文章推荐[03/23 - 04/05]:C#、Visual Studio、MVC、死锁、Web 2.0 API、jQuery、IIS7、FileUpload
- 【收藏】本周ASP.NET英文技术文章推荐[07/22 - 07/28]:VS 2008、.NET 3.5、IronRuby、jQuery、ASP.NET AJAX、IIS7