2013年6月17日

[转]windows下安装Object-C开发环境

摘要: 本文转自:http://hi.baidu.com/jeremylai/item/f40b9116cb3c5d582b3e22f5在Windows下搭建Objective C开发环境,需要到GNUstep官方网站上下载,四个软件包:GNUstep MSYS System、GNUstep Core、GNUstep Devel、Cairo Backend。其中,前两个软件包是必须要安装的,第三个软件包是安装一些开发工具,比如:gcc、g++等,所以如果是学习Objective C的话,这个包也是必须要安装,第四个软件包是安装glib等库,这个包安装不安装根据具体情况而定。GNUstep就是提供类似C 阅读全文

posted @ 2013-06-17 17:40 freeliver54 阅读(403) 评论(0) 推荐(0)

[转]Creating Unit Tests for ASP.NET MVC Applications (C#)

摘要: 本文转自:http://www.asp.net/mvc/tutorials/older-versions/unit-testing/creating-unit-tests-for-asp-net-mvc-applications-csThe goal of this tutorial is to demonstrate how you can write unit tests for the controllers in your ASP.NET MVC applications. We discuss how to build three different types of unit te 阅读全文

posted @ 2013-06-17 16:45 freeliver54 阅读(335) 评论(0) 推荐(0)

[转]如何在.NET MVC中使用jQuery并返回JSON数据

摘要: 本文转自:http://blog.sina.com.cn/s/blog_48e42dc90100xp1p.html二、开始实践 - jQuery端假设我们要从服务器端获取一个文章列表,并把文章条目显示在页面中,而加载的过程要用ajax实现,即实现异步加载。那么我们先来完成jquery向服务器端发出ajax请求,并根据服务器响应来重组DOM从而实现文章在页面上显示。这里,和.NET MVC没有多大关系。具体的jquery代码如下:123456789101112$.ajax({ url: '/cgi/getArtical', //请求的某个action的地址 datatype: & 阅读全文

posted @ 2013-06-17 14:01 freeliver54 阅读(480) 评论(0) 推荐(0)

导航