9eFish - 带有 .net 标签的文章
1
臭虫

Code Metrics: Measuring LoC in .NET applications

gpeipmangpeipman 发表于 17 天, 10 小时, 42 分钟 之前
Tuesday, March 02, 2010 1:50:38 PM GMT Saturday, February 20, 2010 10:59:30 PM GMT
My previous posting gave quick overview of code metric called Lines of Code (LoC). In this posting I will introduce you how to measure LoC in Visual Studio projects using Visual Studio Code Analysis and NDepend. (more)
类别: Language | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, code metrics, loc, NDepend, visual studio
1
臭虫

My object to object mapper source released

gpeipmangpeipman 发表于 19 天, 16 小时, 28 分钟 之前
Sunday, February 28, 2010 11:27:07 AM GMT Thursday, February 18, 2010 5:13:16 PM GMT
Some readers asked me for Visual Studio project of my simple object to object mapper. I am glad to announce that the source code of my mapper is now available for download. It is Visual Studio 2008 project written on C# and besides mapper implementation it contains primitive sample application that shows you how to use my mapper. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, object to object mapping, tools
1
臭虫

Writing object to object mapper: my mapper vs AutoMapper

gpeipmangpeipman 发表于 26 天, 3 小时, 16 分钟 之前
Sunday, February 21, 2010 6:23:28 AM GMT Friday, February 12, 2010 6:25:16 AM GMT
As my object to object mapper is now almost completed and I am sure it is good idea to stay on LCG (Lightweight Code Generation) I can now compare the performance of my mapper to AutoMapper. (more)
类别: Architecture | 点击: 2 | 评论 | | 源: weblogs.asp.net
标签: .net, C#, object to object mapping, performance
1
臭虫

Writing object to object mapper: moving to generics

gpeipmangpeipman 发表于 27 天, 9 小时, 16 分钟 之前
Thursday, February 18, 2010 3:13:28 PM GMT Thursday, February 11, 2010 12:25:19 AM GMT
In my previous posting about object to object mapping Writing object to object mapper: first implementations I wrote first and simple implementations of mapper. These implementations based heavily on reflection. In this posting I will boost up mapper performance by using generics. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, CLR, object to object mapping, performance
1
臭虫

IL perversions: throwing and catching strings

gpeipmangpeipman 发表于 29 天, 10 小时, 57 分钟 之前
Thursday, February 18, 2010 3:13:28 PM GMT Monday, February 08, 2010 10:44:46 PM GMT
Inspired by Mohamed Mahmoud’s blog posting How to: Create Interfaces with Static Methods via IL? I wrote another sick example on IL (Intermediate Language) to show you how different is the world behind compilers. Tonight I have enough of exceptions, I want to throw some strings! Let’s do it! (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, exception handling, IL, visual studio
1
臭虫

Writing object to object mapper: first implementations

gpeipmangpeipman 发表于 30 天, 21 小时, 14 分钟 之前
Tuesday, February 16, 2010 3:11:40 PM GMT Sunday, February 07, 2010 12:27:39 PM GMT
I wrote some object to object mapping code and introduced it in some of my previous postings about performance. As I received 22x performance raise when trying out different mapping methods it is now time to make my code nice. In this posting I will show you how I organized my code to classes. Yes, you can use my classes in your work if you like. (more)
类别: Web Form | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, C#, object to object mapping, performance
1
臭虫

Performance: Using LCG to copy property values of two objects

gpeipmangpeipman 发表于 32 天, 15 小时, 21 分钟 之前
Sunday, February 14, 2010 1:16:24 PM GMT Friday, February 05, 2010 6:20:18 PM GMT
Today I gave last performance boost to my property values copying mechanism. I would like to thank my readers Ron and David to remind me Lightweight Code Generation (LCG) and pointing me out aussie bloke blog entry Generic copy object using Lightweight Code Generation. In this posting I will show you last performance boost and put down a summary about my experiment this far. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, C#, lcg, performance
1
臭虫

Performance: Using dynamic code to copy property values of two objects

gpeipmangpeipman 发表于 35 天, 9 小时, 44 分钟 之前
Thursday, February 11, 2010 2:04:41 AM GMT Tuesday, February 02, 2010 11:56:58 PM GMT
Last year I wrote short posting about how to use LINQ to find matching properties of two objects. In this posting I will show you how to copy values from one object to another and how to boost up performance so you can use this strategy also on in servers under heavy load. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: .net, Linq, performance, reflection
1
臭虫

Reading the ProviderUserKey when using the SqlMembershipProvider

rtpHarryrtpHarry 发表于 78 天, 9 小时, 31 分钟 之前
Tuesday, December 29, 2009 12:10:55 PM GMT Tuesday, December 22, 2009 12:10:40 AM GMT
The ProviderUserKey gives access to a unique identifier for each of the members in your membership data store. If you're doing a large amount of lookup's or want to cross link to another table you will find this technique will give you better performance than using the UserName property. (more)
类别: Web Form | 点击: 0 | 评论 | | 源: runtingsproper.blogspot.com
标签: .net, article, asp.net, membership, MSDN
1
臭虫

Loading Enterprise Library validation rules from external file

gpeipmangpeipman 发表于 114 天, 23 小时, 33 分钟 之前
Wednesday, November 25, 2009 4:59:41 AM GMT Sunday, November 15, 2009 10:08:34 AM GMT
Keeping validation rules in web.config may grow it pretty long and it is not convenient to make changes there anymore. Developers can manage validation rules easily by using Enterprise Library Configuration tool and therefore there is no good reason to handle validation rules manually. In this posting I will show you how to load validation rules from external configuration files. (more)
类别: Architecture | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: .net, Enterprise Library, Validation
1
臭虫

GetValue() extension method for RegistryKey class - Gunnar Peipman's ASP.NET blog

gpeipmangpeipman 发表于 201 天, 22 小时, 48 分钟 之前
Friday, August 21, 2009 1:27:01 AM GMT Thursday, August 20, 2009 10:53:09 AM GMT
I needed some elegant method to read registry values in my Live Writer Delicious bookmarks plug-in. RegistryKey has GetValue() method but it returns values as object. I wrote generic version of GetValue() as RegistryKey extension method. It returns you specified value from key and converts it to type you ask. If conversions are not successful then default value of given type will be used. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, registry
1
臭虫

InfoQ: .NET反应性框架为事件实现了LINQ

xgluxvxgluxv 发表于 212 天, 20 小时, 22 分钟 之前
Wednesday, August 12, 2009 1:55:02 AM GMT Sunday, August 09, 2009 1:19:40 PM GMT
Erik Meijer和Wes Dyer创建了.NET反应性框架(Reactive Framework, Rx),即利用LINQ to Object的数学对偶性,允许程序员在事件使用LINQ。Erik和Brian Beckman证实了IObservable是连续的Monad。 (more)
类别: Language | 点击: 5 | 评论 | | 源: www.infoq.com
标签: .net, Linq, 反应性框架
1
臭虫

从.NET框架中委托写法的演变谈开去(上) - 老赵点滴 - 追求编程之美 - 博客园

dotlivedotlive 发表于 216 天, 19 小时, 28 分钟 之前
Friday, August 07, 2009 1:25:03 AM GMT Wednesday, August 05, 2009 2:13:15 PM GMT
在《关于最近面试的一点感想》一文中,Michael同学谈到他在面试时询问对方“delegate在.net framework1.1,2.0,3.5各可以怎么写”这个问题。于是乎,有朋友回复道“请问楼主,茴香豆的茴有几种写法”,“当代孔乙己”,独乐,众乐。看了所有的评论,除了某些朋友认为“的确不该不知道这个问题”之外,似乎没有什么人在明确支持楼主。   不过我支持,为什么?因为我也提过出这样的问题。   这样,我们暂且不提应聘“高级开发人员”的人,在“自称熟悉各版本.NET框架”的前提下,是否应该知道这个答案。我们也暂且不提Michael同学提问的“目的”是什么。老赵就先单独针对这个问题进行解释,然后谈谈自己为什么会提出这个问题吧。   可能有一件事情需要说在前面,那就是:委托本身其实从来没有改变过,改变的一直都是委托的“写法”。因此更确切地说,改变的只是“编译器”。而本文所有内容都用C#来实现,其实谈得也都是C#编译器本身——但是其实VB.NET也有变化啊。再由于.NET版本和C#版本的关系也是非常密切的,因此全文就使用.NET版本进行指代了。.NET 1.x中委托的写法   委托,如果不追究细... (more)
类别: Architecture | 点击: 0 | 评论 | | 源: www.cnblogs.com
标签: .net, 委托
1
臭虫

Different ways of reading and writing text file data in .NET

adminadmin 发表于 224 天, 3 小时, 52 分钟 之前
Thursday, July 30, 2009 2:41:29 AM GMT Wednesday, July 29, 2009 5:49:26 AM GMT
Text file is the most convenient way to store any kind of data temporarily and very frequently used these days in any kinds of applications. This article shows different ways of reading and writing text files data in .NET. (more)
类别: Language | 点击: 0 | 评论 | | 源: www.dotnetfunda.com
标签: .net