.net Framework
文章平均质量分 78
cnlike
这个作者很懒,什么都没留下…
展开
-
Microsoft .NET Remoting:技术概述
Microsoft .NET Remoting:技术概述 摘要 本文提供了 Microsoft .NET Remoting 框架的技术概述,其中包括了使用 TCP 通道或 HTTP 通道的示例。 目录 简介 远程对象 代理对象 通道 激活 对象的租用生存期 总结 附录 A:使用 TCP 通道进行远程处理的示例 附录 B:使用 HTTP 通道进行远程处理的示例 简介转载 2004-07-19 16:59:00 · 606 阅读 · 0 评论 -
Managing Unhandled Exceptions in .NET
Introduction One of the things that impressed me when I first started learning .NET was its enhanced exception-handling functionality. By this I mean such features as easy access to the type of except转载 2004-07-19 16:57:00 · 793 阅读 · 0 评论 -
设计模式:利用C#的Delegate来改进Observer模式
设计模式:利用C#的Delegate来改进Observer模式 摘要 Observer模式是我们应用得非常多的一个模式,因为它定义了单数据源多视图结构的消息传递基本机制和对象设计,所以在几乎所有的将表示层与数据逻辑层分开的多层应用软件上都能套用上Observer模式。本文将分析C#语言来实现该模式的代码,并且针对该模式存在的一些缺点,利用C#的一个新特性Delegate来尝试对该模式进行了转载 2004-07-19 16:58:00 · 707 阅读 · 0 评论 -
Visual Basic .NET 和 Visual C# .NET 程序员需要解决的安全问题
Visual Basic .NET 和 Visual C# .NET 程序员需要解决的安全问题 Robin Reynolds-HaertleVisual Studio TeamMicrosoft Corporation 2002 年 1 月 摘要:本文着重讨论了 Visual Basic .NET 和 Visual C# .NET 开发人员在开始使用 .NET 框架时需要解决的主要安全问题。此概转载 2004-07-19 17:00:00 · 2043 阅读 · 0 评论 -
How do I authenticate to send an email
System.Web.Mail FAQ Complete FAQ Listing 3 Advanced Programming Samples 3.1 How do I send non US-ASCII emails? 3.2 How do I send a web page? 3.3 How do I embed images in an email? 3.4 How do I e转载 2004-07-19 17:29:00 · 1070 阅读 · 0 评论 -
使用Process类运行程序
只有在STA线程上ShellExecute 才能确保工作无误。在Process的实现中,并没有考虑到这个问题,所以使用Process类运行ShellExecute可能会出错。如果你不能保证调用Process.Start的线程的ApartmentState,可以使用如下的代码来避免这个问题: using System;using System.Threading;public cla转载 2004-08-15 10:24:00 · 1019 阅读 · 0 评论 -
.NET 中的断言和跟踪
发布日期: 9/9/2004 | 更新日期: 9/9/2004John Robbins 下载本文中的代码:Bugslayer0102.exe (42KB)本页内容调试器条件编译跟踪和 TraceSwitch断言TraceListener — Listeners 正在侦听BugslayerTrac转载 2004-09-10 15:45:00 · 1011 阅读 · 0 评论 -
App.Config for your DLL
http://www.codeproject.com/dotnet/DLLAPPCONFIG.aspBy n10sive IntroductionWhen developing DLLs for distribution, it is often desired to have an app.config file associated with that DLL. However, the .N转载 2005-11-18 10:23:00 · 1374 阅读 · 0 评论