ntwo

导航

2011年3月25日 #

英语口语

摘要: Are you by yourself?你一个人来吗?Come to the point!有话直说!Do you accept plastic?收不收信用卡?Does it keep long?可以保存吗?Don't be so fussy!别挑剔了!Don't count to me!别指望我!Don't fall for it!不要上当!Don't get me wrong!你搞错了!Don't give me that!少来这套!Don't lose your head!别乐昏了头!Don't over do it!别做过头了!Do 阅读全文

posted @ 2011-03-25 13:59 9527 阅读(262) 评论(0) 推荐(0) 编辑

2011年2月15日 #

Beginning ASP.NET Security3

摘要: PART III: Advanced ASP.NET Scenarios Chapter 11: Shareing Data with windows communication foundation Creating and Consuming WCF Services Security and Privacy with WCF Transport Security Message Securi... 阅读全文

posted @ 2011-02-15 14:50 9527 阅读(365) 评论(0) 推荐(0) 编辑

2011年2月14日 #

Beginning ASP.NET Security2

摘要: PART II: Securing Common ASP.NET Tasks Chapter 7: Adding usernames and passwords Authentication and Authorization Discovering Your Own Identity Adding Authentication in ASP.NET Using Forms Authenticat... 阅读全文

posted @ 2011-02-14 15:19 9527 阅读(295) 评论(0) 推荐(0) 编辑

2011年2月12日 #

Beginning ASP.NET Security1

摘要: Chapter 1: Why web secrutiy matters PART I: THE ASP.NET SECURITY BASICS Chapter 2: How the web works Examing HTTP Request a Resource Responding to a Request Sniffing HTTP Requests and Responses Use Fi... 阅读全文

posted @ 2011-02-12 16:16 9527 阅读(1136) 评论(0) 推荐(0) 编辑

2011年2月9日 #

已读书目

摘要: 1 2011-2-9 ASP.NET Site Performance Secrets Simple and Proven techniques to quickly speed up your ASP.NET web site Matt Perdeck Packt 2 2011-2-21 Beginning ASP.NET Security Barry Dorrans Wrox 3 Ha... 阅读全文

posted @ 2011-02-09 15:41 9527 阅读(166) 评论(0) 推荐(0) 编辑

ASP.NET站点性能提升-提高JavaScript加载

摘要: 问题:JavaScript加载阻塞页面渲染 JavaScript是静态文件,和图片和CSS文件一样。但是,与图片不同,当使用<script>标签加载或执行JavaScript文件,页面渲染会暂停。 页面可能包含<script>后的依赖于<script>脚本块。如果加载JavaScript文件不阻塞页面渲染,其它脚本... 阅读全文

posted @ 2011-02-09 14:57 9527 阅读(944) 评论(0) 推荐(0) 编辑

2011年1月24日 #

ASP.NET站点性能提升-减少图片加载时间

摘要: 缓存 Cache-Control应答头 IIS通过Cache-Control应答头告诉浏览器和代理是否缓存可以图片。它的可能值包括: Cache-Control value Description no-cache Prevents caching in the browser or proxies. private Allows caching in the browser, but not... 阅读全文

posted @ 2011-01-24 11:19 9527 阅读(2755) 评论(2) 推荐(4) 编辑

2011年1月16日 #

ASP.NET站点性能提升-优化表单

摘要: 客户端验证 ASP.NET验证控件 验证控件不只提供客户端的验证,也提供服务器端验证。如果页面上的任何一个验证控件验证不通过,page对象的IsValid属性值为false。开销使用ASP.NET验证控件会使ASP.NET在.aspx页面上加载很多内联JavaScript代码,大概有5KB或压缩后1KB。它也会使ASP.NET从服务器下载JavaScript文件,一共41KB(压缩后11KB)。但... 阅读全文

posted @ 2011-01-16 17:06 9527 阅读(528) 评论(0) 推荐(0) 编辑

2011年1月10日 #

ASP.NET站点性能提升-压缩

摘要: 压缩协商 服务器怎么知道浏览器能够接收压缩内容?浏览器怎么知道接收的内容是压缩过的? 当支持压缩的浏览器向服务器发送请求时,会包含一个Accept-Encoding请求头,告诉服务器它支持的压缩算法。例如:如果服务器响应使用了压缩,会在未压缩的文件头中包含一个响应头Content-Encoding,说明文件是怎么压缩的:然而,不仅仅浏览器和服务器发送和接收请求和响应,代理也会。并且,代理也可以缓存... 阅读全文

posted @ 2011-01-10 16:07 9527 阅读(2088) 评论(0) 推荐(0) 编辑

2011年1月4日 #

ASP.NET站点性能提升-减少最后一字节的时间

摘要: 最后一字节的时间是生成.aspx并将它通过互联网传送到浏览器的时间。 查明瓶颈 压缩 .aspx文件和它使用的css、JavaScript文件都是文本文件。因为它们包含很多空白和重复关键字,它们可以使用例如GZIP的算法进行高度压缩。压缩一个HTML文件到原来大小的三分之一或更小是很平常的。 所以,IIS从5开始就支持对文本文件的压缩,根据浏览器的不同可能使用deflate或GZIP压缩算法。然而... 阅读全文

posted @ 2011-01-04 17:39 9527 阅读(1033) 评论(1) 推荐(3) 编辑