
.NET 园地
文章平均质量分 83
ayongwust_csts
这个作者很懒,什么都没留下…
展开
-
如何解决引用Web Service, 出现的“这台计算机上的代理设置没有针对 Web 发现进行正确配置。有关详细信息,请按 F1。”
我发现很多兄弟姐妹们,在自己的项目中,引用自己创建的Web Service, 有时会遇到如何错误:这台计算机上的代理设置没有针对 Web 发现进行正确配置。有关详细信息,请按 F1。有的人解释,要创建虚拟目录,其实这些都是不需要的;开发阶段,根本用不着为Web Service创建一个独立的服务站点。原因这于你创建 的 Web Service 与以前的某个Service同目录。解决办原创 2007-07-09 23:03:00 · 913 阅读 · 0 评论 -
UTF-8 and Unicode FAQ for Unix/Linux
UTF-8 and Unicode FAQ for Unix/Linuxby Markus Kuhn This text is a very comprehensive one-stop information resource on how you can use Unicode/UTF-8 on POSIX systems (Linux, Unix). You will find he原创 2008-09-21 10:22:00 · 818 阅读 · 0 评论 -
FTP 命令的详细选项列表 ftp - full options list
For basic ftp syntax see the main ftp page This page lists Advanced Options, Aborting FTP, File Naming Conventions, .netrc file, Command Line Editing, Command Line Prompt and Environment.SYNTAX原创 2008-09-21 21:05:00 · 1553 阅读 · 0 评论 -
Enabling HTTP Compression in IIS 6.0
HTTP Compression is a wonderful technology that accomplishes a lot of different things. It allows faster page serving to clients and lower server costs due to lowered bandwidth (these two being eno原创 2008-10-14 22:25:00 · 466 阅读 · 0 评论 -
.net 中使用InvokeMember, 反射来调用 成员及成员函数。
using System;using System.Reflection;// This sample class has a field, constructor, method, and property.class MyType{Int32 myField;public MyType(ref Int32 x) { x *= 5; }public overr原创 2008-12-30 21:18:00 · 2523 阅读 · 1 评论 -
Understanding the Word Object Model from a .NET Developer's Perspective
Microsoft Visual Studio Tools for Office Technical ArticlesUnderstanding the Word Object Model from a .NET Developers Perspective Mary ChipmanMCW Technologies, LLCApril 2003Applies to:转载 2008-11-09 22:35:00 · 1491 阅读 · 0 评论 -
应用架构指南2.0 Beta1发布
http://blogs.msdn.com/jmeier/archive/2008/10/27/new-release-patterns-practices-app-arch-guide-2-0-beta-1.aspxNew Release: patterns & practices App Arch Guide 2.0 Beta 1 Today we released our p转载 2008-11-23 23:41:00 · 463 阅读 · 0 评论 -
.Net线程同步 come from: http://hi.baidu.com/lieyu063/blog/item/76713f466583cb086a63e53c.html
Lock关键字 说明:1, Lock关键字将语句块标记为临界区,方法是获取给定对象的互斥锁,执行语句,然后释放该锁。 2, 通常,应避免锁定 public 类型,否则实例将超出代码的控制范围。常见的结构 lock (this)、lock (typeof (MyType)) 和 lock ("myLock") 违反此准则。最佳做法是定义 private 对象来锁定。原创 2008-11-29 00:09:00 · 1580 阅读 · 0 评论 -
Multithreading in VB.NET
Synchronization, Interlocked, SyncLock and Monitor ClassesSo what is thread synchronization? Imagine the following lines of code:Dim X as IntegerX = 1X = X + 1To a programmer the line X = X转载 2008-11-29 00:17:00 · 433 阅读 · 0 评论 -
Introducing System.Transactions in the .NET Framework 2.0
IntroductionDevelopers on the Microsoft Windows platform traditionally choose between two transactional programming models: explicit transaction management or declarative transaction flow and manage原创 2008-12-22 22:48:00 · 1013 阅读 · 0 评论 -
Using LINQ to Objects in C#
IntroductionThis article provides an introduction to employing LINQ to Objects queries to support a simple win forms application; the article addresses the construction of LINQ to Objects statements转载 2008-07-04 09:13:00 · 540 阅读 · 0 评论 -
Non-blocking socket question
The following code behaves differently from what I would expect:socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream,System.Net.Sockets.ProtocolType.Tcp);socket.Blocking = false;socket.Co原创 2008-09-10 13:49:00 · 909 阅读 · 0 评论 -
.NET 2.0中的企业库异常处理块 come from: http://blog.youkuaiyun.com/xieqidong/archive/2008/05/23/2472106.aspx
.NET 2.0中的企业库异常处理块 企业库异常处理块(Enterprise Library Exception Handling Block)提供了处理异常所需的所有基本代码,现在,你可以不用再编写这些重复性的异常处理代码,只需简单地在程序中使用它们,就可保证一致且高效地异常处理。 在一个理想的程序世界中,编写的所有代码都是运行无误转载 2008-05-24 20:52:00 · 439 阅读 · 0 评论 -
asp.net : javascript validation before postback.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" > 无标题页 function validation(numberControl){ var numberEntered = document.getElementById(n原创 2008-02-19 22:23:00 · 511 阅读 · 0 评论 -
使用 Windows CardSpace 保证您的 ASP.NET 应用程序和 WCF 服务的安全 COME FROM: http://msdn2.microsoft.com/zh-cn/magazine/cc163434.aspx
Microsoft 于 2005 年 5 月提出了对 Identity Metasystem 的构想。Identity Metasystem 可以降低与管理和交换数字身份标识相关的复杂性和风险。此构想解释了基于互操作性标准(如 WS-Security、WS-Trust、WS-MetadataExchange、WS-SecurityPolicy 和其他 WS-* 协议)的交互,“Microsoft原创 2008-04-07 23:58:00 · 1627 阅读 · 0 评论 -
Cardspace http://msdn2.microsoft.com/zh-cn/netframework/aa663320(en-us).aspx
Cardspace http://msdn2.microsoft.com/zh-cn/netframework/aa663320(en-us).aspx原创 2008-04-07 23:58:00 · 637 阅读 · 1 评论 -
.net如何统计在线人数 COME FROM: http://dotnet.chinaitlab.com/ASPNET/742585.html
统计在线用户的作用不言而喻,就是为了网站管理者可以知道当前用户的多少,然后根据用户数量来观察服务器或者程序的性能,从而可以直观的了解到网站的吸引力或者网站程序的效率。现在,我们就介绍一个简单明了的方法来统计在线用户的多少,该方法的特点就是充分的利用了ASP.NET的特点,结合global.asax文件,用Application和Session巧妙的实现在线用户的统计,由于程序中只用到一个Appl转载 2008-04-11 00:33:00 · 586 阅读 · 0 评论 -
Detecting CardSpace support, including FireFox COME FROM: http://www.fearthecowboy.com/2006/12/detecting-cardspace-support-incl
Tuesday, December 12, 2006Detecting CardSpace support, including FireFox Detecting support for CardSpace, or more importantly information cards in the browser is pretty important, as it w转载 2008-04-07 23:56:00 · 506 阅读 · 1 评论 -
ASP.NET 2.0 中跨网页提交的三种方法 come from: http://dotnet.youkuaiyun.com/page/220032f6-6c4b-4999-8558-a41b38f35fa3
当在一个ASP.NET Web页面中进行操作时,在默认情况下向当前页进行提交。这种行为在ASP.NET出现之前并没有什么关系,但在ASP.NET中当我们想向另外一个Web页提交一个Web Form时该如何做呢?在ASP.NET1.0中这个问题变得很难解决,但在ASP.NET2.0中为开发人员提供了更容易的解决的技术:跨网页提交。这种技术允许一个网页在提交数据时提交给另外的一个页面。在跨网页提交中,转载 2008-04-08 12:54:00 · 791 阅读 · 1 评论 -
往母版里面 动态加载CSS
public static void AddStyleSheet(Page page, string cssPath) { HtmlLink link = new HtmlLink(); link.Href = cssPath; link.Attributes["rel"] = "stylesheet"; link.Attribute原创 2008-04-12 13:33:00 · 349 阅读 · 0 评论 -
System.Data.DataTable计算功能详解 COME FROM: http://blog.youkuaiyun.com/jinjazz/archive/2008/04/08/2261721.aspx
using System;using System.ComponentModel;using System.Data;using System.Windows.Forms;namespace WindowsApplication1...{ public partial class Form1 : Form ...{ public Form1()转载 2008-04-12 14:03:00 · 423 阅读 · 0 评论 -
深入理解.NET内存回收机制
深入理解.NET内存回收机制 转载自:http://www.chinamacro.com/blog/visit_detail.aspx?blogid=177.Net平台提供了许多新功能,这些功能能够帮助程序员生产出更高效和稳定的代码。其中之一就是垃圾回收器(GC)。这篇文章将深入探讨这一功能,了解它是如何工作的以及如何编写代码来更好地使用这一.Net平台提供的功能。 .Net中的内存回收机转载 2008-04-11 20:50:00 · 707 阅读 · 1 评论 -
Syncfusion Essential Studio Enterprise
Syncfusion Essential Studio Enterprisehttp://www.3ddown.com/soft/33189.htm原创 2008-12-26 17:41:00 · 391 阅读 · 0 评论