PeterRitchie

Stories kicked by friends of PeterRitchie

.NET 4.0 And Our Parallel Future(www.codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 2 years, 3 months ago

A look at .NET 4.0 Parallel features, and how we can use LINQ to make them even easier to use. read more...

1 comment |category: |Views: 511

tags: another

Ninject 2.0 Released!(kohari.org)

submitted by nkoharinkohari(1310) 2 years, 3 months ago

Nate Kohari announces the release of Ninject 2.0, and welcomes Ian Davis as co-maintainer of the project. read more...

add a comment |category: |Views: 372

tags: another

ASP.NET MVC and the Spark View Engine(www.code-magazine.com)

submitted by justinjustin(115) 2 years, 3 months ago

Getting friendly with HTML in ASP.NET MVC just got a whole lot easier. In this Code Magazine article, Donn Felker delves into the Spark View Engine, an alternate view engine for the ASP.NET MVC Framework. Spark’s main goal is to allow HTML to dominate the flow of view development while allowing code to fit in seamlessly. read more...

1 comment |category: |Views: 314

tags: another

Rounded Corners with the Cornerz jQuery plugin(www.devcurry.com)

submitted by mopenmopen(3596) 2 years, 3 months ago

I found a useful plugin to create rounded corners with ease. The output looked consistent in most of the latest browsers I tested it on. Here's a post introducing you to the plugin read more...

3 comments |category: |Views: 546

tags: another

New in .NET 4: Don’t Forget to Dispose() your SmtpClient Instances(leedumond.com)

submitted by leedumondleedumond(2144) 2 years, 3 months ago

It seems the System.Net.Mail.SmptClient class has gotten a bit of a facelift in .NET 4. read more...

add a comment |category: |Views: 416

tags: another

Learning how to use Manual Mocks for Testing(www.dimecasts.net)

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

Taking a look at how to use manual mocks for testing Often times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to test. When we want to test in isolation you can use a testing technique where you mock out your dependencies. When using Mocks you can either do it manually (what we are looking at) or you can use a mocking framework like Rhino Mocks. Either way you achieve the same results. read more...

add a comment |category: |Views: 200

tags: another

Unit testing and mocking internal interfaces with RhinoMocks(blog.roboblob.com)

submitted by spavkovspavkov(1708) 2 years, 3 months ago

Im not the kind of purist that will avoid unit testing internal classes. If its some very important code i want to test it even if its internal. Another case when i want to access internal classes is when i want to test some public class that uses some internal classes (via their interfaces). In this scenario i need to be able to mock those internal interfaces that the public class is using in order to be able to instantiate it and unit test it. read more...

add a comment |category: |Views: 227

tags: another

Larning how to use the Extract Interface Technique(www.dimecasts.net)

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

Taking a look at another refactoring technique, the Extract Interface technique. This technique allows you to extract an interface from a class in order to break your concrete dependencies. By doing this you can provide yourself with better testing support as well as a better layer of abstractions. read more...

add a comment |category: |Views: 32

tags: another

Snack size C#: null coalescing operator(chrisfulstow.com)

submitted by IDelectableIDelectable(290) 2 years, 3 months ago

Examples of how to assign the value of an expression to a variable, unless that expression evaluates to null, in which case default to something else. And if that something else is also null, then fall back to another value, and so on. read more...

add a comment |category: |Views: 11

tags: another

Bundler Part 2 - ASP.NET Integration(www.codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 2 years, 3 months ago

A look at the Bundler Framework and how it could be integrated in with ASP.NET and ASP.NET MVC in order automate the process of minifying and combining JavaScript files. read more...

add a comment |category: |Views: 31

tags: another

Learning how to use a Web Cam with Silverlight(www.dimecasts.net)

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

Taking a look at how you can setup and use a web camera in Silverlight. We will walk you though how to capture both the raw video as well as how to take snap shots of the video. read more...

1 comment |category: |Views: 137

tags: another

Learning how to use a Web Cam with Silverlight(www.dimecasts.net)

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

Taking a look at how you can setup and use a web camera in Silverlight. We will walk you though how to capture both the raw video as well as how to take snap shots of the video. read more...

1 comment |category: |Views: 137

tags: another

Multi-tenancy and ASP.NET MVC - Views with a ViewEngine(codeofrob.com)

submitted by robashtonrobashton(384) 2 years, 3 months ago

Carrying on the series by talking about View Engines and how to use one to allow modules to provide their own views read more...

add a comment |category: |Views: 330

tags: another

BlockingCollection and IProducerConsumerCollection(www.codethinked.com)

submitted by mosessaurmosessaur(5424) 2 years, 3 months ago

BlockingCollection is an incredibly easy way to have a few threads producing data and have numerous other threads picking up and processing that same data. read more...

add a comment |category: |Views: 293

tags: another

BlockingCollection and IProducerConsumerCollection(www.codethinked.com)

submitted by mosessaurmosessaur(5424) 2 years, 3 months ago

BlockingCollection is an incredibly easy way to have a few threads producing data and have numerous other threads picking up and processing that same data. read more...

add a comment |category: |Views: 293

tags: another

NoSQL – A Practical Approach, Part 1(blog.wekeroad.com)

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

In my last post I took a look at possible approaches to using NoSQL and Reporting, and many people wanted to see what this might look like in practice. In part one, below, I’ll show you ways to work with a NoSQL solution (in this case DB4O) in ways that you will find pretty familiar. I’ll also show you the freedom you can have as a developer when you stop thinking relationally. read more...

add a comment |category: |Views: 68

tags: another