PeterRitchie

Stories kicked by friends of PeterRitchie

Using custom grouping operators in LINQ(tomasp.net)

submitted by tomasptomasp(299) 2 years, 3 months ago

In LINQ, we can group data using the "group by" clause. However, there are other potentially useful implementations of grouping. For example, we may want to group only adjacent elements or group ascending or descending parts of the data. This article shows how to use custom behavior when grouping data using "group by" in LINQ query. read more...

add a comment |category: |Views: 53

tags: another

Eagerly loading entity associations efficiently with nhibernate(ayende.com)

submitted by .NetKicks.NetKicks(1304) 2 years, 3 months ago

Ayende explains the .Future(). read more...

add a comment |category: |Views: 28

tags: another

Painless Caching, Memoization for .NET(explodingcoder.com)

submitted by spoulsonspoulson(327) 2 years, 3 months ago

When searching for .NET discussions of I-don't-even-remember, I somehow came across Dustin Campbell's blog post about automatic memoization with C#. I instantly remembered first reading about this topic in Higher Order Perl, which at the time introduced me to this handy technique using the delegate pattern. After looking over Dustin's code, I liked the simplicity of wrapping any delegate with a single method call. This makes for an academic discussion, but I thought this could be much more practical if we abstracted the concept a bit more. read more...

add a comment |category: |Views: 767

tags: another

Reporting in NoSQL(blog.wekeroad.com)

submitted by johnsheehanjohnsheehan(4785) 2 years, 3 months ago

One question that comes up a lot in conversation, however, is “dude what about reporting – you can’t do that with NoSQL very well now can ya?” and the answer is “yes, correct. You can’t”. As with all things programming: right tool for the right job. read more...

add a comment |category: |Views: 311

tags: another

Reporting in NoSQL(blog.wekeroad.com)

submitted by johnsheehanjohnsheehan(4785) 2 years, 3 months ago

One question that comes up a lot in conversation, however, is “dude what about reporting – you can’t do that with NoSQL very well now can ya?” and the answer is “yes, correct. You can’t”. As with all things programming: right tool for the right job. read more...

add a comment |category: |Views: 311

tags: another

ASP.NET MVC 2 RC 2 Released(haacked.com)

submitted by johnsheehanjohnsheehan(4785) 2 years, 3 months ago

After receiving feedback from our last release candidate back in December, we decided it would be prudent to have one more release candidate that incorporated the feedback. You can read the release notes for everything that changed, there’s not a whole lot. read more...

add a comment |category: |Views: 227

tags: another

.NET 4.0 and System.Collections.Concurrent.ConcurrentQueue(www.codethinked.com)

submitted by pitadev_ajpitadev_aj(300) 2 years, 3 months ago

The ConcurrentQueue is a simple (in use, not in construction!) and yet very powerful addition to your parallel programming toolset. If you need thread-safe FIFO operations, then you can throw your locks away and start using the ConcurrentQueue today. read more...

add a comment |category: |Views: 279

tags: another

.NET 4.0 and System.Collections.Concurrent.ConcurrentQueue(www.codethinked.com)

submitted by pitadev_ajpitadev_aj(300) 2 years, 3 months ago

The ConcurrentQueue is a simple (in use, not in construction!) and yet very powerful addition to your parallel programming toolset. If you need thread-safe FIFO operations, then you can throw your locks away and start using the ConcurrentQueue today. read more...

add a comment |category: |Views: 279

tags: another

A deeper look into AutoMapper: Custom Type Resolvers(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 3 months ago

AutoMapper is a framework which uses a convention-based matching algorithm to match up source to destination values. In this episode we are going to learn how to use type resolvers. Type resolvers allow you to perform custom value mapping in a very simple and elegant way with very little code read more...

add a comment |category: |Views: 592

tags: another

Windows Azure Drive (aka X-Drive)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 2 years, 3 months ago

With today’s release of the Windows Azure Tools and SDK version 1.1, also the Windows Azure Drive feature has been released. Announced at last year’s PDC as X-Drive, which has nothing to do with a well-known German car manufacturer, this new feature enables a Windows Azure application to use existing NTFS APIs to access a durable drive. This allows the Windows Azure application to mount a page blob as a drive letter, such as X:, and enables easily migration of existing NTFS applications to the cloud. This blog post will describe the necessary steps to create and/or mount a virtual hard disk on a Windows Azure role instance. read more...

2 comments |category: |Views: 238

tags: another

Avoid singleton pattern using StructureMap with db4o(blog.elliottohara.com)

submitted by gerpxgerpx(509) 2 years, 3 months ago

In this blog post Elliott O'Hara shows us how to avoid contamining your db4o server code with the singleton pattern thanks to StructureMap (a Dependency Injection / Inversion of Control tool for .NET) (sample source code included) read more...

add a comment |category: |Views: 31

tags: another

.NET 4.0 and System.Collections.Concurrent.ConcurrentStack(www.codethinked.com)

submitted by pitadev_ajpitadev_aj(300) 2 years, 3 months ago

The ConcurrentStack is an excellent new tool in our parallel programming toolset which allows us to get the LIFO behavior we want, all without having to worry about locking. read more...

add a comment |category: |Views: 270

tags: another

.NET 4.0 and System.Collections.Concurrent.ConcurrentStack(www.codethinked.com)

submitted by pitadev_ajpitadev_aj(300) 2 years, 3 months ago

The ConcurrentStack is an excellent new tool in our parallel programming toolset which allows us to get the LIFO behavior we want, all without having to worry about locking. read more...

add a comment |category: |Views: 270

tags: another

Gherkin style specification testing in .NET(ryanlanciaux.com)

submitted by dengar007dengar007(3084) 2 years, 3 months ago

Behavior Driven Development is something that has interested me for quite awhile. I have constantly tried to write my tests as clear and concise as possible but once I saw Cucumber for Ruby that became the new standard for what I was trying to achieve in .NET. This is where SpecFlow comes in. read more...

add a comment |category: |Views: 361

tags: another

Validating a variable length list, ASP.NET MVC 2-style(blog.stevensanderson.com)

submitted by glennenglennen(310) 2 years, 3 months ago

Steve Anderson follow up article on how to validate a variable elgnth list in MVC 2. read more...

1 comment |category: |Views: 254

tags: another

.NET 4.0 and System.Collections.Concurrent.ConcurrentBag(www.codethinked.com)

submitted by pitadev_ajpitadev_aj(300) 2 years, 3 months ago

Another in-depth look at a new namespace in .NET 4.0 and how it can help with multithreading. read more...

1 comment |category: |Views: 386

tags: another