摘要:IntroductionWhenever a browser makes an HTTP request to a web server, it sends along several HTTP headers. These HTTP Headers are used to provide the web server with information to assist with handling the request. For instance, if the browser supports compression it will send along an Accept-Encodi 阅读全文
Removing Unnecessary HTTP Headers in IIS and ASP.NET 在ASP.Net和IIS中删除不必要的HTTP响应头
2013-08-26 15:26 by 朱峰(Peter.zhu), 460 阅读, 0 推荐, 收藏, 编辑Implementing Singleton in C#
2013-08-23 13:08 by 朱峰(Peter.zhu), 443 阅读, 0 推荐, 收藏, 编辑
摘要:ContextYou are building an application in C#. You need a class that has only one instance, and you need to provide a global point of access to the instance. You want to be sure that your solution is efficient and that it takes advantage of the Microsoft .NET common language runtime features. You may 阅读全文
WEBAPI VS WCF微软随.NET 4.5发布新REST API框架
2013-08-01 16:45 by 朱峰(Peter.zhu), 910 阅读, 0 推荐, 收藏, 编辑
摘要:在最近发布的Visual Studio 2012及.NET 4.5中, 微软正式推出新的网络服务框架ASP.NET Web API。作为ASP.NET MVC 4的一部分,ASP.NET Web API这套开源框架的设计目的是简化RESTful服务的开发和使用。在“Where does ASP.NET Web API Fit?”这篇博文中, West Wind Technologies的 Rick Strahl 解析了ASP.NET Web API的目标与优势。ASP.NET Web API 与之前的内建HTTP服务解决方案的不同之处在于,它一开始就是围绕HTTP协议及其消息语义构建起来的。与 阅读全文
【引】Hosting WCF Services in Windows Activation Service
2013-07-31 10:30 by 朱峰(Peter.zhu), 699 阅读, 0 推荐, 收藏, 编辑
摘要:You're probably used to hosting WCF services with IIS, but Vista and IIS 7 provide a much more powerful and lighter-weight option that supports additional protocols besides HTTP. 阅读全文
创建一个Hybird App应用框架 Ember.js + jQuery Mobile + PhoneGap
2013-07-19 14:38 by 朱峰(Peter.zhu), 696 阅读, 0 推荐, 收藏, 编辑
摘要:要求必备知识HTML + JavaScript + CSS的语法掌握。jQuery的语法掌握。基于Eclipse的PhoneGap环境配置。Ember.js的简单了解。Handlerbars.js的简单了解。环境搭建Windows 7Eclipse + Android SDK用户级别全部范例文件附件(960 KB)随着HTML 5的兴起,基于此的项目也越来越的多,因而出现了很多MVC框架,如:Backbone.js、Ember.js、Angular.js等,此系列将阐述这些框架在代码层面的区别,希望可以给初学者一些思路。本文将介绍Ember.js构建基于jQuery Mobile的PhoneG 阅读全文
How can I secure the serverside webservices api? any tools whatsoever?
2013-07-18 11:10 by 朱峰(Peter.zhu), 286 阅读, 0 推荐, 收藏, 编辑
摘要:OAuth may be overkill for your need, verify that you really need to use such a powerful (and complex) standard.Two examples of PHP server side software that you may use:Solberg-OAuthSimpleSAMLphpCan I use the local storage to store the key/token?Yes! Be aware that you MUST use the OAuth 2.0 implicit 阅读全文
The Future Of Mobile Development: HTML5 Vs. Native Apps
2013-07-16 22:52 by 朱峰(Peter.zhu), 352 阅读, 0 推荐, 收藏, 编辑
摘要:What's better? Native apps downloaded to our devices, and engineered specifically for Android, iOS and other mobile platforms?Or Web apps —written in HTML5 and related Web technologies —which are housed on the Web and run across all mobile platforms and devices?BI Intelligencetackles these quest 阅读全文
【转】A simple POC using ASP.NET Web API, Entity Framework, Autofac, Cross Domain Support
2013-07-16 21:52 by 朱峰(Peter.zhu), 625 阅读, 0 推荐, 收藏, 编辑
摘要:The purpose of this article is to create a proof of concept to demonstrate the feasibility of ASP.NET WebAPI final release. 阅读全文
【超详细转】VMware 9 安装 Mac OS X 10.8 Mountain Lion 图文全程
2013-07-10 14:28 by 朱峰(Peter.zhu), 2849 阅读, 0 推荐, 收藏, 编辑
摘要:vmware9,install,mac,os-x-mountain-lion 阅读全文