摘要:1. HttpResponseMessage<T> 泛型取消We are working on a blog explaining the changes in HttpResponseMessage<T>, HttpRequestMessage<T>, and ObjectContent<T> in more details as we have simplified a bunch and made things more consistent.The reason for the changes was that we ran into s                    阅读全文
                
            ASP.NET MVC4 - ASP.NET Web API OAuth2 delegation with Windows Azure Access Control Service
2012-12-05 13:32 by 朱峰(Peter.zhu), 763 阅读, 0 推荐, 收藏,
摘要:If you are familiar with OAuth2’s protocol flow, you know there’s a lot of things you should implement if you want to protect your ASP.NET Web API using OAuth2. To refresh your mind, here’s what’s required (at least):                    阅读全文
                
            ASP.NET MVC4最新特性介绍 (待续)
2012-12-04 14:55 by 朱峰(Peter.zhu), 256 阅读, 0 推荐, 收藏,
摘要:今天由于项目需要,也发现了很多MVC3.0BUG,因此决定升级到MVC4.0。发现默认的框架里集成了很多JS库。做个笔记吧。/// <reference path="jquery-1.7.1.js" />/// <reference path="jquery-ui-1.8.20.js" />/// <reference path="jquery.validate.js" />/// <reference path="jquery.validate.unobtrusive.js&quo                    阅读全文
                
            【转】HTTP access control (CORS)
2012-11-29 17:29 by 朱峰(Peter.zhu), 2147 阅读, 0 推荐, 收藏,
摘要:Cross-site HTTP requests are HTTP requests for resources from a different domain than the domain of the resource making the request.  For instance, a resource loaded from Domain A (http://domaina.example) such as an HTML web page, makes a request for a resource on Domain B (http://domainb.foo), such as an image, using the img element (http://domainb.foo/image.jpg).  This occurs very commonly on the web today — pages load a number of resources in a cross-site manner, including CSS stylesheets, im                    阅读全文
                
            Start A mobile web app
2012-11-26 17:51 by 朱峰(Peter.zhu), 457 阅读, 0 推荐, 收藏,
摘要:For a current project at work, I am adding offline support to a mobile web app. I'm very excited about this as I haven't worked with HTML5's offline support yet. This is an attempt to take notes about my experience.Before I begin, there are two things specific to this project that might                     阅读全文
                
            【转载】推荐5款超实用的.NET性能分析工具 5 Good and useful .NET Profilers
2012-11-26 13:08 by 朱峰(Peter.zhu), 323 阅读, 0 推荐, 收藏,
摘要:作者把平时工作中使用到的非常不错的.Net分析工具进行总结,在此分享给大家。希望它们能帮助到你!                    阅读全文
                
            Build Native Mobile Apps in HTML5: PhoneGap from Start to Finish
2012-11-16 16:51 by 朱峰(Peter.zhu), 325 阅读, 0 推荐, 收藏,
摘要:PhoneGap is an HTML5 app platform which allows you to develop an application in HTML5 and run it as an native app on your mobile device.                    阅读全文
                
            数据结构和算法
2012-11-08 22:41 by 朱峰(Peter.zhu), 216 阅读, 0 推荐, 收藏,
摘要:排序算法
所谓排序,就是使一串记录,按照其中的某个或某些关键字的大小,递增或递减的排列起来的操作。                    阅读全文
                
            HTML5安全:CORS(跨域资源共享)简介
2012-10-26 10:45 by 朱峰(Peter.zhu), 344 阅读, 0 推荐, 收藏,
摘要:前言:像CORS对于现代前端这么重要的技术在国内基本上居然很少有人使用和提及,在百度或者Google上搜索CORS,搜到的中文文章基本都是另外一种卫星定位技术CORS的介绍,让我等前端同学情何以堪(对比起来,用Google搜到的国外文章,基本都是跨域资源共享的介绍,说明了前端技术在国内外环境和发展的巨大差距)。                    阅读全文
                
            
                    
                
浙公网安备 33010602011771号