摘要: 开发环境: framework2.0,System.Web.Extensions.dll(版本号:1.0.61025.0)ajax code:$.ajax({ type: "POST", url: webURL, data: jsonParam, contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { //callback(); }, error: function(msg) { alert(msg.Resp 阅读全文
posted @ 2011-03-22 17:26 李传涛 阅读(2026) 评论(2) 推荐(0) 编辑
摘要: What really make difference between structures and classes?6 important .NET concepts(堆和栈;值类型和引用类型;装箱和拆箱).NET中栈和堆的比较(译文4篇)C# Heap(ing) Vs Stack(ing) in .NET(E文4篇) 阅读全文
posted @ 2011-03-10 17:41 李传涛 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 原因:安装fiddler之后,自动在Firefox里添加一个插件FiddlerHook。因此在更改连接配置的时候,无法保存配置解决方案:工具--》附加组件 找到FiddlerHook之后 点击停用 阅读全文
posted @ 2011-03-10 11:21 李传涛 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 当你编译一个C#应用程序或任何一种CLS(CommmonLanguage Specification)兼容的语言时,它将首先被编译成一种称为IL(Intermediate Language)的伪代码(pseudo-code)。在这个应用程序第一次被运行的时候,这种IL代码将被编译成机器代码,用于执行。也就是说从源代码到得到运行结果,进行了两次编译。事实上,只有那些被真正使用的函数代码才会被进行第二次编译。下面揭示开发过程中被隐藏起来的细节:1) 你用C#开发一些程序2) 用C#编译器或CLS兼容的编译器编译成EXE3) 编译器将生成的IL代码和附加信息(manifest)放入拥有一个标准PE头 阅读全文
posted @ 2011-03-07 21:25 李传涛 阅读(183) 评论(0) 推荐(0) 编辑
摘要: CLR via C# 2ndCLR via C# 3nd 麒麟.NET 阅读全文
posted @ 2011-03-07 15:32 李传涛 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 最近也在考虑换工作,所以比较关注这一块,收集一些大家的看法谈谈技术面试(lzprgmr)我在面试.NET/C#程序员时会提出的问题(老赵)我也谈面试 附赠一份题目(Anders06) 阅读全文
posted @ 2011-03-07 15:28 李传涛 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Aop.jsMy excursions into the dark recess of my/jsdirectory continue. This was originally something I wrote a while back when I was learning aboutAspect-oriented programmingin Java and wanted see how much trouble it would be to write something similar for JavaScript. As it turned out, writing the cor 阅读全文
posted @ 2011-03-04 14:07 李传涛 阅读(840) 评论(0) 推荐(0) 编辑
摘要: 今天查看了一下AOP在JavaScript中的实现,个人感觉三生石上的实现较好,简单记录一下:var aspect = { before: function(context, targetName, fn) { var target = context[targetName]; context[targetName] = function() { return target.apply(context, fn.apply(context, arguments)); }; }, after: function(context, targetName, fn) { var target = con 阅读全文
posted @ 2011-03-04 13:33 李传涛 阅读(1458) 评论(0) 推荐(0) 编辑
摘要: 今天用Server.Transfer时遇到一个小问题,没有搜到相应的贴子记录,所以在此记录一下:Server TransferClient Request Page HelloWorld.ASPXServer.Transfer -> Server send a different page to the clientClient Receives Page still thinking it's HelloWorld.ASPX.Client's URL (Address bar) remains HelloWorld.ASPX since the page wassent 阅读全文
posted @ 2011-03-03 17:43 李传涛 阅读(641) 评论(2) 推荐(0) 编辑
摘要: 转贴标记:http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/demo关键代码及实现思想:Content structure is like:<div class="wrdLatest" id=9>content</div><div class="wrdLatest" id=8>content</div>We create a function sending a query to a dynamic file 阅读全文
posted @ 2011-02-28 22:21 李传涛 阅读(480) 评论(0) 推荐(0) 编辑