Sends for the fellow dear visitors:welcome to dongpad!


 Welcome to DongPad!

 msn


预览模式: 普通 | 列表

.NET2.0/3.0/3.5区别和VS各个版本概览

This Article is Published by Live Writer。

随着VS2008的推出,.NET框架版本已经升级到了3.5。但是.net framework 3.0和3.5其核心部分还是.net2.0的东西,只不过在其基础上增加了一些个类库。以下这个图表可以很清楚的描述了3个版本框架的不同之处。


相应的VS Studio开发工具在这几年的Release版本见下表


通过以上两张重要的插图,我们可以准确得把握微软.NET的发展方向。

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 531 | 返回顶部

C#对XML排序

本文介绍如何对xml排序。

参考文献:孟宪会:使用XPathExpression类对XML进行排序

查看全部...

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 479 | 返回顶部

Silverlight Simple Animation

This Article is Published by Live Writer。
Original address: Silverlight Simple Animation

This post is one of series on Silverlight. In this article the focus is on a technique that uses a timer to produce simple animations. I will follow this post with at least one additional article on Silverlight animation.

查看全部...

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 373 | 返回顶部

Expression Blend 3 Preview

This article is mainly talk about some of the highlights of Blend 3,included the interactivity without code;seeing is believing with sample data;support the design files by Photoshop;collarboration powerd by TFS;intellisense in the XAMl editor etc!
Enjoy by download the preview here,namaste!

查看全部...

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 551 | 返回顶部

float,double,decimal

This Article is Published by Live Writer。

浮点型

Name

CTS Type

DeSCRIPTion

Significant Figures

Range (approximate)

float

System.Single

32-bit single-precision floating point

7

±1.5 × 10−45 to ±3.4 × 1038

double

System.Double

64-bit double-precision floating point

15/16

±5.0 × 10 −324 to ±1.7 × 10308

decimal类型用来表示高精度的浮点数

Name

CTS Type

DeSCRIPTion

Significant Figures

Range (approximate)

decimal

System.Decimal

128-bit high precision decimal notation

28

±1.0 × 10−28 to ±7.9 × 1028

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 266 | 返回顶部

无法调试aspx文件的解决方法

This Article is Published by Live Writer。

windows 2008+VS2008+NOD32无法调试aspx文件的解决方法。

删除C:\Windows\System32\drivers\etc\hosts里下面一行注释掉就没问题了。
# ::1             localhost

这一行有什么作用呢?下面的内容出自维基百科:

在计算机网络中,localhost(意为“这台计算机”)是给回路网络接口的一个标准主机名。这个名称也是一个保留域名(RFC 2606) (参见.localhost),为了避免同狭义定义主机名混淆而单独列出。

在不使用计算机的主机名称的地方指定为localhost。[1]例如,将web服务器上安装的web浏览器指向http://localhost,将会显示运行这个浏览器的计算机上所服务的网站的主页,但是只有当web服务器配置至服务回路接口。

localhost always translates to the loopback IP address 127.0.0.1 in IPv4, or ::1 in IPv6 (see below).[2]

Communicating with the loopback interface in an identical manner as with a remote computer, but bypassing the local network interface hardware, is useful for the purposes of testing software. Connecting to locally hosted network services (such as game servers) or for other inter-process communications can be performed through localhost addresses in a highly efficient manner.

For example, a common basic test of the TCP/IP protocol stack on a computer is to use the ‘ping’ command at the operating system’s command line prompt:

ping localhost

IETF document “Special-Use IPv4 Addresses” (RFC 3330) describes the IPv4 address block 127.0.0.0/8 as being reserved for loopback. It is therefore excluded from assignment by a Regional Internet Registry or IANA.

For IPv4 communications, the virtual loopback interface of a computer system is normally assigned the address ‘127.0.0.1′ with subnetwork mask ‘255.0.0.0′. Depending on the specific operating system in use (notably in Linux), and the routing mechanisms installed, this often populates the routing table of the local system with an entry so that packets destined to any address from the ‘127.0.0.0/8′ block would be routed internally to the network loopback device.

In IPv6, on the other hand, the loopback routing prefix ::1/128 consists of only one address ::1 (i.e., 0:0:0:0:0:0:0:1, the address with a one at its least significant bit and zero otherwise) is explicitly defined as an automatic loopback address (RFC 4291), though additional addresses may be assigned to the loopback interface by the host administrator.

Any IP datagram with a source or destination address set to a localhost address must not appear outside of a computing system, or be routed by any routing device. Packets received on an interface with destination address of ‘localhost’ must be dropped.

One notable exception to the use of the 127/8 network addresses is their use in Multiprotocol Label Switching (MPLS) traceroute error detection techniques (RFC 4379) in which their property of not being routable provides a convenient means to avoid delivery of faulty packet to end users.

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 345 | 返回顶部

C# Evolution

This Article is Published by Live Writer。
From Codebender
  • C# 1.0: Managed Code
  • C# 2.0: Generics
  • C# 3.0: Language Integrated Query
  • C# 4.0: Dynamic Programming

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 274 | 返回顶部

The Four Pillars of ASP.NET

This Article is Published by Live Writer。

Paul Litwin posted an interesting article that discusses the four pillars of ASP.NET (Web Forms, MVC, AJAX, and Dynamic Data) to his blog. He provides a good overview and comparison of these different approaches to building ASP.NET applications. According to the article, although Web Forms will always be an important Microsoft technology for building web applications, ASP.NET is no longer just Web Forms. And, this is a good thing :)

You can read his blog entry here:

http://weblogs.asp.net/paullitwin/archive/2009/03/30/the-four-pillars-of-asp-net.aspx

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 278 | 返回顶部

Remeber a few words ~(7)

This Article is Published by Live Writer。

1.pillar  ['pilə]   n. 柱子 vt. 用柱支持

He had been the pillar of the club all his life.

他一生都是这个俱乐部的台柱。

2.burst  [bə:st]   n. 破裂,阵,爆发 v. 爆裂,突发

The police burst through the door. 警察破门而入。

3.dispose  [dis'pəuz]   v. 处理,处置,销毁

I must dispose of the trouble. 我必须摆脱麻烦。

He doesn't know how to dispose of his spare time.他不知道怎样安排业余时间。

4.blast  [blɑ:st]   n. 爆破,冲击波,一阵,汽笛声 v. 爆破,炸掉

Rock music blasted full from the parlor. 摇滚乐声震屋宇,从客厅传来。

5.consume  [kən'sju:m]   v. 消耗,消费,饮食;毁灭;消磨;枯萎

Each year Americans consume a high percentage of the world's energy. 每年美国人都消耗掉世界能源的很大比例

6.split  [split]   n. 劈开,裂片,裂口 adj. 分散的 v. 分离,分开,劈开

It's boring here let's split. 这儿没意思--咱们走吧。

7.spit  [spit]   n. 唾液,唾吐,小雨 v. 唾吐,吐出,降小雨

The boys were spitting out of the train window. 那些男孩子向火车窗外吐口水。

8.spill  [spil]   n. 溢出,流 v. 溢出,洒,使...流出

Don't jog me, or you'll make me spill something! 别碰我, 不然我就把东西弄洒了

9.slip  [slip]   n. 滑,错误,下跌 v. 滑倒,犯错,减退

The ship slipped into the harbour at night. 那艘船夜里悄悄开进了港口。

10.slide  [slaid]   n. 滑,幻灯片,雪崩 v. 使滑,滑,跌落

House values may begin to slide. 房价可能开始逐渐下降了。

Tags: DongPad

分类:Study | 固定链接 |评论: 0| 引用: 0 | 查看次数: 242 | 返回顶部