9eFish - 带有 .Net Framework 4.0 标签的文章
1
臭虫

.NET Framework 4.0: Comparing LINQ and PLINQ performance

gpeipmangpeipman 发表于 38 天, 18 小时, 17 分钟 之前
Monday, February 08, 2010 4:21:15 AM GMT Sunday, January 31, 2010 8:57:49 PM GMT
In one of my sessions I demonstrated how PLINQ uses two CPU-s instead of one and has better performance than non-parallel processing. In this posting I will introduce my experiment and show you my example results. In the end of this posting you can find source code that is ready for demonstration. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, plinq
1
臭虫

.Net Framework 4.0: VB.NET supports automatic properties

gpeipmangpeipman 发表于 130 天, 2 小时, 41 分钟 之前
Tuesday, November 10, 2009 5:32:37 AM GMT Sunday, November 01, 2009 12:33:15 PM GMT
Next version of .Net Framework brings some new features also to VB.NET. One of those new features is support for automatic properties. C# automatic properties are here from .Net Framework 3.5 and now are them also in VB.NET. In this posting I will show to VB.NET users how to use automatic properties and explain why to use them. (more)
类别: Foundation | 点击: 2 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, automatic properties, VB.NET
1
臭虫

.Net Framework 4.0: Enumerating file system objects

gpeipmangpeipman 发表于 135 天, 5 小时, 29 分钟 之前
Friday, November 06, 2009 8:16:49 AM GMT Tuesday, October 27, 2009 9:45:57 AM GMT
In my last posting I introduced new ReadLines() method and new overloads for WriteAllLines() method of File class. But there are more new stuff in System.IO namespace. In .Net Framework 4.0 Directory and DirectoryInfo class are able to enumerate files, directories and file system entries. In this posting I will show you these new features. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, file system
1
臭虫

.Net Framework 4.0: System.IO.File supports now IEnumerable

gpeipmangpeipman 发表于 136 天, 12 小时, 43 分钟 之前
Tuesday, November 03, 2009 7:00:53 AM GMT Monday, October 26, 2009 2:31:36 AM GMT
.Net Framework 4.0 adds also some new and cool features to file system objects. File class has now ReadLines() methods that returns IEnumerable (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, files
1
臭虫

.Net Framework 4.0: string.IsNullOrWhiteSpace() method

gpeipmangpeipman 发表于 137 天, 6 小时, 17 分钟 之前
Tuesday, November 03, 2009 7:00:53 AM GMT Sunday, October 25, 2009 8:57:40 AM GMT
.Net Framework 4.0 Beta 2 has new IsNullOrWhiteSpace() method for strings generalizes IsNullOrEmpty() method to incluse also other white space besides empty string. In this posting I will show you simple example that illustrates how to use IsNullOrWhiteSpace() method. (more)
类别: Foundation | 点击: 2 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, C#
1
臭虫

.Net Framework 4.0: Complex numbers - Gunnar Peipman's ASP.NET blog

gpeipmangpeipman 发表于 139 天, 5 小时, 42 分钟 之前
Monday, November 02, 2009 1:26:15 AM GMT Friday, October 23, 2009 9:32:24 AM GMT
.Net Framework 4.0 Beta 2 introduces new class in System.Numerics namespace: Complex. Complex represents complex numbers and enables different arithmetic operations with complex numbers. In this posting I will show you how to use complex numbers in .Net Framework 4.0 applications. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, complex numbers
1
臭虫

.Net Framework 4.0: C# and optional arguments and named parameters - Gunnar Peipman's ASP.NET blog

gpeipmangpeipman 发表于 204 天, 15 小时, 48 分钟 之前
Friday, August 21, 2009 3:06:23 PM GMT Tuesday, August 18, 2009 11:26:49 PM GMT
C# 4.0 supports optional method arguments. Related to this is support for named parameters in function calles. For us it makes easier to use methods which have long argument list. It also introduces some new dangers which may lead us to messy and hard to understand code. In this code I will show how to use optional arguments and give some hints how to avoid messy code. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, C#
1
臭虫

Entity Framework 4.0: Generating SQL script from model

gpeipmangpeipman 发表于 230 天, 22 小时, 13 分钟 之前
Sunday, July 26, 2009 3:31:46 PM GMT Thursday, July 23, 2009 5:01:09 PM GMT
Entity Framework 4.0 is able to generate database schema based on model. If you built your model first and you now want to create database for it you can use new Generate Database Script from Model feature. Let’s see how it works. (more)
类别: Foundation | 点击: 2 | 评论 | | 源: weblogs.asp.net
标签: .Net Framework 4.0, Entity Framework 4.0, sql
1
臭虫

.Net Framework 4.0: System.Linq.Parallel - Gunnar Peipman's ASP.NET blog

xgluxvxgluxv 发表于 293 天, 12 小时, 3 分钟 之前
Friday, May 22, 2009 2:04:01 PM GMT Friday, May 22, 2009 3:11:06 AM GMT
.Net Framework 4.0: System.Linq.Parallel .Net Framework 4.0 has parallel computing extensions for LINQ. Previously it was possible to download parallel extensions for LINQ separately from CodePlex. Of course, you can still use these extensions if you have older version that 4.0. I wrote a little, simple and pretty pointless example that illustrates how parallel queries work in .Net Framework 4.0. My example creates simple data source that contains integers from 1 to 100. Then it queries this source two... (more)
类别: Language | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: .NET 4, .Net Framework 4.0, System.Linq.Parallel