随笔分类 -  .net新技术

WF与WCF集成 [转]
摘要:随着 Windows Workflow Foundation (WF) 的问世,Microsoft 逐步将各种工作流功能引入了 .NET 开发人员平台。这些功能使开发人员能够构建用于满足各种应用需求的工作流,从简单的顺序工作流到需要复杂的人员交互的复杂状态机工作流。 与此同时,业务能力越来越多地通过封装的服务端点展现出来,这样就可以重用和组合业务功能和业务流程,使面向服务的体系架构更加完善。Win... 阅读全文

posted @ 2008-11-05 21:49 starspace 阅读(314) 评论(0) 推荐(0)

关于C#中timer类 在C#里关于定时器类就有3个 [转]
摘要:来源:http://www.cnblogs.com/wang123/archive/2006/08/19/481335.html ·关于C#中timer类 在C#里关于定时器类就有3个 1.定义在System.Windows.Forms里 2.定义在System.Threading.Timer类里 3.定义在System.Timers.Timer类里 System.Wind... 阅读全文

posted @ 2008-11-05 00:36 starspace 阅读(261) 评论(0) 推荐(0)

Can't seem to add XmlIgnore override on inherited property
摘要:11/22/2005 9:09:19 AM Can't seem to add XmlIgnore override on inherited property By the way, I also posted this on DotNet Framework General. I'm trying to serialize, via the XmlSerializer, an... 阅读全文

posted @ 2008-11-01 23:58 starspace 阅读(332) 评论(0) 推荐(0)

开发中灵活使用属性类[转]
摘要:开发中灵活使用属性类 什么是属性类? 从抽象类System.Attribute派生出来的类(无论是直接的还是间接的)都称为属性类(MSDN中的定义)。 属性类的名称一般都带有Attribute后缀,但使用的时候可以包含也可以忽略,如果你自己起的名字没有这个后缀,则需要全称来区分了。如果不怕输入麻烦,建议还是不管是否有后缀,都输入全称为好,这样可以减少歧义。 ... 阅读全文

posted @ 2008-10-27 21:45 starspace 阅读(424) 评论(0) 推荐(0)

在网络中传输数据 [转]
摘要:我们都曾经出去旅游,并且会带回一些纪念品。一般情况,这些纪念品可以放在随身带的旅行包中带回家,甚至因为纪念品足够小,可以放在口袋里带回来。如果你到巴黎旅行,看到埃菲尔铁塔,觉得非常壮观,你很想同你的朋友分享,那么拍下照片,寄给朋友。 假设一切允许,法国政府允许你把埃菲尔铁塔带回你的国家,展览数月,那么你怎样带回去呢? 不要告诉我说,找世界上最大的船王给你造一艘可以... 阅读全文

posted @ 2008-10-27 20:59 starspace 阅读(403) 评论(0) 推荐(0)

2进制、8进制、10进制、16进制...各种进制间的轻松转换(c#)
摘要:在.NET Framework中,System.Convert类中提供了较为全面的各种类型、数值之间的转换功能。其中的两个方法可以轻松的实现各种进制的数值间的转换: Convert.ToInt32(string value, int fromBase): 可以把不同进制数值的字符串转换为数字,其中fromBase参数为进制的格式,只能是2、8、10及16: 如Convert.ToInt32(”... 阅读全文

posted @ 2008-10-27 20:51 starspace 阅读(211) 评论(0) 推荐(0)

Keyboard Spy: implementation and counter measures
摘要:原文:http://www.codeproject.com/KB/system/KeyLogger.aspx?display=Print Download source code - 62.1 Kb Download demo - 320 Kb Introduction In this two parts article, I will examine a simple... 阅读全文

posted @ 2008-10-25 11:33 starspace 阅读(515) 评论(0) 推荐(0)

A Piano Key Control in C#
摘要:原文:http://www.codeproject.com/KB/miscctrl/LesStPianoKey.aspx Download demo project - 27.1 Kb Download source - 5.17 Kb Introduction Many months ago, I created a piano control using MFC.... 阅读全文

posted @ 2008-10-25 11:31 starspace 阅读(507) 评论(0) 推荐(0)

Agochar Keypad - A Virtual Keyboard in Hindi
摘要:原文:http://www.codeproject.com/KB/ajax/agochar_InScript.aspx Download demo - 21.42 KB Download source - 16.7 KB View on-line demo Introduction I implemented a virtual keyboard to tr... 阅读全文

posted @ 2008-10-25 11:26 starspace 阅读(373) 评论(0) 推荐(0)

Using Raw Input from C# to handle multiple keyboards
摘要:原文:http://www.codeproject.com/KB/system/rawinput.aspx Download source files - 15.9 Kb Download WPF sample - 30 Kb Introduction Background Support for different devices Using the code Imp... 阅读全文

posted @ 2008-10-25 11:25 starspace 阅读(7048) 评论(0) 推荐(0)

Low-level Windows API hooks from C# to stop unwanted keystrokes
摘要:原文:http://www.codeproject.com/KB/system/CSLLKeyboard.aspx Download source files - 3.37 Kb Download demo project (VS 2005) - 19.7 Kb Download demo project (VS 2003) - 12.5 KB Introduc... 阅读全文

posted @ 2008-10-25 11:23 starspace 阅读(808) 评论(0) 推荐(0)

Global Mouse and Keyboard Library
摘要:原文:http://www.codeproject.com/KB/system/globalmousekeyboardlib.aspx?display=Print Download VS 2003 C# 1.1 source and examples - 59.5 KB Download VS 2005 C# 2.0 source and examples - 69.6 KB... 阅读全文

posted @ 2008-10-25 10:55 starspace 阅读(799) 评论(0) 推荐(0)

A Simple C# Global Low Level Keyboard Hook
摘要:原文:http://www.codeproject.com/KB/cs/CSLLKeyboardHook.aspx Download source - 29.62 KB Download sample application - 4.59 KB Introduction This article discusses a class that I wrote that wra... 阅读全文

posted @ 2008-10-25 10:52 starspace 阅读(643) 评论(0) 推荐(0)

Processing Global Mouse and Keyboard Hooks in C#
摘要:原文:http://www.codeproject.com/KB/cs/globalhook.aspx Download source files - 12.4 Kb Download demo application - 5.58 Kb Introduction This class allows you to tap keyboard and mouse and/o... 阅读全文

posted @ 2008-10-25 10:49 starspace 阅读(1105) 评论(0) 推荐(0)

Microsoft.mshtml到底是什么? [转]
摘要:原文:http://waxdoll.cnblogs.com/archive/2005/04/08/134196.html MSHTML到底是什么,现在越来越糊涂了。 Lostinet在结合 MSHTML 与 WebBrowser 生成美观实用的 WinForm 应用程序一文给出的例子中引用的是MSHTML(COM组件) 对此,我在mshtml组件的引用一文中提出可以引用.Net组件Micr... 阅读全文

posted @ 2008-10-20 22:10 starspace 阅读(734) 评论(0) 推荐(0)

MSDN Webcast“深入浅出ASP.NET AJAX系列”
摘要:课程: ASP.NET AJAX深入浅出系列课程(1):ASP.NET AJAX 概述(3月13日):对于ASP.NET AJAX的大致功能进行概述和演示,通过简单的演示让听众了解到ASP.NET AJAX框架的强大之处,以及对于开发带来的便捷。并且对于学习和研究ASP.NET AJAX,以及开发ASP.NET AJAX使用的工具进行简单演示和介绍。(链接)(幻灯片)(示例代码... 阅读全文

posted @ 2008-10-20 21:43 starspace 阅读(250) 评论(0) 推荐(0)

What's up with BeginInvoke?
摘要:Introduction You are developing this shiny new multithreaded .NET application that has this spanking new UI. You are done coding and it's time for giving a demo to your boss. And while running the dem... 阅读全文

posted @ 2008-10-20 10:03 starspace 阅读(252) 评论(0) 推荐(0)

Worker Threads in C#
摘要:Introduction The .NET framework provides a lot of ways to implement multithreading programs. I want to show how we can run a worker thread which makes syncronous calls to a user interface (for example... 阅读全文

posted @ 2008-10-20 10:03 starspace 阅读(334) 评论(0) 推荐(0)

Improper Usage of Invoke
摘要:Download source files - 18.4 KB Introduction Asynchronous programming is great. You can easily use the ThreadPool and other threading constructs to do background work while keeping your UI resp... 阅读全文

posted @ 2008-10-20 10:00 starspace 阅读(299) 评论(0) 推荐(0)

Another way to Invoke UI from a Worker Thread
摘要:Download source files - 15.1 Kb Introduction This article demonstrates an alternative way of invoking UI event handlers from a worker thread. Events from worker threads - the "traditional" wa... 阅读全文

posted @ 2008-10-20 09:58 starspace 阅读(353) 评论(0) 推荐(0)

导航