wei's profileZhou Wei 's blogPhotosBlogLists Tools Help

Zhou Wei 's blog

http://clrcn.spaces.live.com

Counter

site hit counter

wei zhou

Photo 1 of 2
February 02

.Net Framework 几个版本的不同.

网上找来的. 源地址:http://en.wikipedia.org/wiki/.NET_Framework
 
.NET Framework 1.0
The old .NET Framework logo

This is the first release of the .NET Framework, released on 13 February 2002 and available for Windows 98, NT 4.0, 2000, and XP. Mainstream support by Microsoft for this version ended 10 July 2007, and extended support ends 14 July 2009.[16]


[edit] .NET Framework 1.1

This is the first major .NET Framework upgrade. It is available on its own as a redistributable package or in a software development kit, and was published on 3 April 2003. It is also part of the second release of Microsoft Visual Studio .NET (released as Visual Studio .NET 2003). This is the first version of the .NET Framework to be included as part of the Windows operating system, shipping with Windows Server 2003. Mainstream support for .NET Framework 1.1 ended on 14 October 2008, and extended support ends on 8 October 2013. Since .NET 1.1 is a component of Windows Server 2003, extended support for .NET 1.1 on Server 2003 will run out with that of the OS - currently 30 June 2013.

[edit] Changes in 1.1 on comparison with 1.0

  • Built-in support for mobile ASP.NET controls. Previously available as an add-on for .NET Framework, now part of the framework.
  • Security changes - enable Windows Forms assemblies to execute in a semi-trusted manner from the Internet, and enable Code Access Security in ASP.NET applications.
  • Built-in support for ODBC and Oracle databases. Previously available as an add-on for .NET Framework 1.0, now part of the framework.
  • .NET Compact Framework - a version of the .NET Framework for small devices.
  • Internet Protocol version 6 (IPv6) support.
  • Numerous API changes.

[edit] .NET Framework 2.0

Released with Visual Studio 2005, Microsoft SQL Server 2005, and BizTalk 2006.

[edit] Changes in 2.0 in comparison with 1.1

  • Numerous API changes.
  • A new hosting API for native applications wishing to host an instance of the .NET runtime. The new API gives a fine grain control on the behavior of the runtime with regards to multithreading, memory allocation, assembly loading and more (detailed reference). It was initially developed to efficiently host the runtime in Microsoft SQL Server, which implements its own scheduler and memory manager.
  • Full 64-bit support for both the x64 and the IA64 hardware platforms.
  • Language support for generics built directly into the .NET CLR.
  • Many additional and improved ASP.NET web controls.
  • New data controls with declarative data binding.
  • New personalization features for ASP.NET, such as support for themes, skins and webparts.
  • .NET Micro Framework - a version of the .NET Framework related to the Smart Personal Objects Technology initiative.
  • Partial classes
  • Anonymous methods

[edit] .NET Framework 3.0

.NET Framework 3.0, formerly called WinFX,[17] includes a new set of managed code APIs that are an integral part of Windows Vista and Windows Server 2008 operating systems. It is also available for Windows XP SP2 and Windows Server 2003 as a download. There are no major architectural changes included with this release; .NET Framework 3.0 uses the Common Language Runtime of .NET Framework 2.0.[18] Unlike the previous major .NET releases there was no .NET Compact Framework release made as a counterpart of this version.

.NET Framework 3.0 consists of four major new components:

[edit] .NET Framework 3.5

Version 3.5 of the .NET Framework was released on 19 November 2007, but it is not included with Windows Server 2008. As with .NET Framework 3.0, version 3.5 uses the CLR of version 2.0. In addition, it installs .NET Framework 2.0 SP1, .NET Framework 2.0 SP2 (with 3.5 SP1) and .NET Framework 3.0 SP1, which adds some methods and properties to the BCL classes in version 2.0 which are required for version 3.5 features such as Language Integrated Query (LINQ). These changes do not affect applications written for version 2.0, however.[19]

As with previous versions, a new .NET Compact Framework 3.5 was released in tandem with this update in order to provide support for additional features on Windows Mobile and Windows Embedded CE devices.

The source code of the Base Class Library in this version has been partially released (for debugging reference only) under the Microsoft Reference Source License.[1]

[edit] Changes since version 3.0

[edit] Service Pack 1

The .NET Framework 3.5 Service Pack 1 was released on August 11, 2008. This release adds new functionality and provides performance improvements under certain conditions,[24] especially with WPF where 20-45% improvements are expected. Two new data service components have been added, the ADO.NET Entity Framework and ADO.NET Data Services. Two new assemblies for web development, System.Web.Abstraction and System.Web.Routing, have been added; these are used in the upcoming ASP.NET MVC Framework and, reportedly, will be utilized in the future release of ASP.NET Forms applications. Service Pack 1 is included with SQL Server 2008 and Visual Studio 2008 Service Pack 1.

There is also a new variant of the .NET Framework, called the ".NET Framework Client Profile", which is 86% smaller than the full framework and only installs components relevant to desktop applications.[25]

[edit] .NET Framework 4.0

This article or section contains information about scheduled or expected future software.
The content may change as the software release approaches and more information becomes available.

Microsoft announced the .NET Framework 4.0 on September 29, 2008. While full details about its feature set have yet to be released, some general information regarding the company's plans have been made public. One focus of this release is to improve support for parallel computing, which target multi-core or distributed systems.[26] To this end, they plan to include technologies like PLINQ (Parallel LINQ),[27] a parallel implementation of the LINQ engine, and Task Parallel Library, which exposes parallel constructs via method calls.[28] Microsoft has also stated that they plan to support a subset of the .NET Framework and ASP.NET with the "Server Core" variant of Windows Server 2008's successor.[

决心考研!

工作了一年,逐渐感觉到自己是那种适合搞点研究的人,而且喜欢看技术书籍,所以决心考研,因为那样就能到一个好的环境里面学习了.

C#, 利用Shutdown.exe重启计算机。

C#,利用Shutdown.exe重启计算机



public static class Shutdown
{
         public static Shutdown()

         //Restart pc ("-r") after 120 sencond. ("-s"=shutdown pc) 
         Process.Start(ShutdownPath, string.Format(" -r -t {0}", 120));
}

public static CancelShutdown()
{
         Process.Start(ShutdownPath, " -a");
}

private static string ShutdownPath
{
         get
         {
                   return Path.Combine(Environment.GetFolderPath
                          (Environment.SpecialFolder.System),
                           "shutdown.exe"); 
         }
}
}