﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-flyonok-随笔分类-windows</title><link>http://www.cppblog.com/flyonok/category/18641.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 28 Feb 2012 05:16:53 GMT</lastBuildDate><pubDate>Tue, 28 Feb 2012 05:16:53 GMT</pubDate><ttl>60</ttl><item><title>.NET开发人员值得关注的七个开源项目</title><link>http://www.cppblog.com/flyonok/archive/2012/02/25/166473.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Sat, 25 Feb 2012 03:07:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2012/02/25/166473.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/166473.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2012/02/25/166473.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/166473.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/166473.html</trackback:ping><description><![CDATA[<span class="Apple-style-span" style="color: #333333; font-family: 宋体; line-height: 23px; background-color: #fdfeff; "><div style="font-size: 14px; line-height: 23px; border-top-color: #bebebe; border-right-color: #bebebe; border-bottom-color: #bebebe; border-left-color: #bebebe; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #fdfddf; "><font color="#f10b00">源码之家分析：</font><font color="#013add">微软近几年在.NET社区开源项目方面投入了相当多的时间和资源，不禁让原本对峙的开源社区阵营大吃一惊，从微软.NET社区中的反应来看，微软.NET开发阵营对开源工具的依赖正日益增强，本文就为所有.NET开发人员介绍7个应该关注的开源项目，也许其中正有你需要的。</font></div><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>Ajax控件工具包</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　在Ajax术语诞生的短短五年内，这个混合了java script、XML和异步通信的技术增强了用户的在线体验，带动了Web技术的积极发展，现在随便浏览一个网站可能都应用了Ajax技术，随着诸如日历，客户端表单验证等功能一应俱全的Ajax框架的出现，使Web开发朝快速，简单的方向迈进了一大步。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　ASP.NET Ajax控件工具包(AJAX Control Toolkit)为.NET开发人员提供了丰富的解决方案，值得一提的是这个工具包是由微软和开发者社区共同开发的，Ajax控件工具包提供了几十个强大的控件，如评星等级小工具，弹出窗口，密码强度验证，可拖动式面板等。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　在它的项目主页(www.asp.net/ajax/AjaxControlToolkit/Samples/Default.aspx)列出了多个控件demo，并且提供了详细的教程教你如何使用这些控件，快去看看吧。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>ASP.NET MVC</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　MVC架构在现代网站开发中起着核心作用，诸如Ruby on Rails和Zend Framework等解决方案都是使用MVC作为以架构驱动开发的基础，幸运的是，.NET开发人员也有ASP.NET MVC开源框架可用，ASP.NET MVC支持三层分离，测试驱动开发，以及一系列最佳实践。ASP.NET MVC为.NET开发人员开发复杂网站提供了一个强大的解决方案，而且它是基于.NET的，开发人员可以继续使用其它ASP.NET特性，如数据缓存和表单验证等，另外还有其它辅助项目进一步增强了ASP.NET MVC框架的功能，如著名的MvcContrib，它扩展了ASP.NET MVC框架，包括UI助手，模型绑定等增强。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　ASP.NET MVC主页(www.asp.net/mvc)提供了大量的学习资源，包括一系列视频教程，你完全可以跟着教程的示例创建一个Web应用程序。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>CruiseControl</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　现在软件变得越来越复杂，迫使开发者社区重新思考软件开发过程，改进现在的开发方法，以减少开发时间，提高软件质量，因此产生了许多最佳实践，如著名的测试驱动开发和持续集成等最佳实践已经在企业环境中得到了普遍采用，持续集成通过定期严格整合项目的各个组成部分，减少了复杂项目的集成时间，开发人员可以及早检查和解决集成时发现的问题，而不是等到最后完全集成时才集中解决问题。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　具体说来，持续集成涉及到开发过程许多部分的自动化，包括定期运行测试，开发人员每次向项目仓库提交代码时的自动构建等，因为这种水平的自动化涉及到多个机动部分，近几年许多解决方案开始流行自己定制持续集成过程，包括开源项目CruiseControl，它为构建过程，浏览构建结果，生成构建报告提供了自动化功能。CruiseControl已经变成了一个流行的持续集成解决方案，并形成了良好的扩展生态系统，在大量的第三方扩展中，JCCTray无疑是最耀眼的，它驻留在任务栏实时监视构建服务器的状态，另外还有BigVisibleCruise也不错，它以直观的视觉图标显示构建服务器上托管的所有项目状态。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>DotNetNuke</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　随着所有业务都开始向网上转移，网站变得越来越繁忙，人们需要一个强大的内容管理工具来更新网上的内容，的确，现在的网站不仅是销售产品和服务的渠道，也是管理销售线索和联系人，维护文档，以及图片、视频等多媒体服务的重要手段，管理和组织这些不同类型的资源最有效的方法是使用一个集中式内容管理工具，其中最流行的解决方案就是DotNetNuke，它是一个强大的由.NET开发的内容管理平台，在全球有数十万中小企业用户，甚至财富500强企业也有使用它。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　虽然存在多个版本，但开源社区版本也提供了许多功能，允许企业管理公告，论坛等，而且无需编写一行代码，甚至连专业的IT人员也用不着，如果需要扩展，门槛也是很低的。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　我们最近提交了一篇完整的文档(www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c17111)介绍DotNetNuke的关键特性，如果你对这个项目有兴趣，不妨去看看。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>Mono</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　2002年.NET框架1.0的发布，象征软件开发的历史将出现重大转折，它允许开发人员使用.NET通用语言运行时(CLR)支持的任意语言创建应用程序，微软将Windows操作系统作为.NET应用程序运行的唯一平台一点也不奇怪，远离Linux和OS X就远离了麻烦，但因为.NET是基于一系列公开的标准的，一组有进取心的开发人员创建了Mono项目，将.NET带进了非微软平台。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　Mono现在由Novell收养，近几年来，Mono的规模不断发展壮大，野心也越来越大，不仅允许.NET应用程序运行在非Windows平台，现在在Linux平台上还提供了对Silverlight的支持(即著名的Moonlight)，甚至可以使用C#编程语言构建iPhone应用程序(即著名的MonoTouch)。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　更多信息请参考Mono项目网站(www.mono-project.com/Main_Page)，你还可以下载为Visual Studio准备的Mono插件工具包。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>NAnt</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　随着项目规模和复杂性的增加，开发周期变得越来越长，开发人员已经厌倦处理构建时的一大堆麻烦，开发人员James Davidson创建了Ant，它是Java项目的构建工具，在Java社区传播得很快，于是出现了与之类似的NAnt，为.NET社区提供了类似的功能。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　使用NAnt，你可以创建构建脚本，让整个.NET项目的构建过程全部自动化，从执行测试到创建文档，请阅读这个清单查看它支持的任务(nant.sourceforge.net/release/latest/help/tasks/)。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>NHibernate</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　尽管在软件开发的所有环节都会与数据库打交道，但开发人员和数据库之间的关系却并不好，隔阂都是因为应用程序和数据库之间交换数据时效率不高引起的，于是有人创建了Hibernate框架对象关系映射(ORM)解决方案，有效地解决了程序和数据库之间对象的映射关系。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　.NET开发人员也有NHibernate解决方案可用，自2005年首次发布以来，一直在积极发展，消除了.NET开发人员面向数据的许多困难任务，NHibernate不仅可用于映射应用程序模型到数据库表，而且可以基于应用程序定义的域模型生成数据库表结构。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　NHibernate项目网站(nhforge.org/Default.aspx)提供了大量的资源，包括详细的使用手册，可以帮助你快速地了解和使用这个强大的ORM解决方案。</p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　<strong>小结</strong></p><br /><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 14px; line-height: 23px; ">　　如果你是一名.NET开发人员，尚不知道这些开源项目，那么现在是时候了解和学习它们了，我保证你合理引入这些项目会提高你的生产力，说不定还会激发你参与这些开源项目，如果你在使用一个这里没有列出的.NET开源项目，不妨与大家分享一下吧!</p></span><img src ="http://www.cppblog.com/flyonok/aggbug/166473.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2012-02-25 11:07 <a href="http://www.cppblog.com/flyonok/archive/2012/02/25/166473.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>vs2010的项目编译后文件拷贝命令</title><link>http://www.cppblog.com/flyonok/archive/2012/02/16/165735.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Thu, 16 Feb 2012 04:29:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2012/02/16/165735.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/165735.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2012/02/16/165735.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/165735.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/165735.html</trackback:ping><description><![CDATA[<div>echo f | xcopy /Y /Q /S /F "$(ProjectDir)$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)$(OutDir)$(TargetName)$(TargetExt)"</div><img src ="http://www.cppblog.com/flyonok/aggbug/165735.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2012-02-16 12:29 <a href="http://www.cppblog.com/flyonok/archive/2012/02/16/165735.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>