http://www.grumpydev.com/
Name: http://www.grumpydev.com/
Score: 247.06
Last Seen: 898 days, 11 hours ago
Member Since: 18 January, 2009
DotNetShoutout
atom rss
3
Shouts

Using Inversion of Control in MonoDroid Applications

published 896 days, 8 hours, 7 minutes ago posted by gshacklesgshackles 898 days, 13 hours, 37 minutes ago
Wednesday, January 05, 2011 6:11:52 PM GMT Monday, January 03, 2011 12:41:13 PM GMT
Just because a mobile application needs to be (or should be, in most cases) small and lightweight doesn’t mean we should set aside best practices like Inversion of Control containers when building our apps. With so many options out there for .NET containers, which ones should we use? In this article I’ll go over some good options I’ve found for using dependency injection in MonoDroid applications. (more)
category: Architecture | clicked: 12 | comment | | source: www.gregshackles.com
tags: Mono, IoC, Inversion of control, Funq, tinyioc, dependency injection, Android
8
Shouts

Quick Add Reference Extension for Visual Studio 2010 | GrumpyDev

published 978 days, 11 hours, 27 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 980 days, 6 hours, 48 minutes ago
Friday, October 15, 2010 2:51:37 PM GMT Wednesday, October 13, 2010 7:30:38 PM GMT
As I have blogged about in the past, the Add Reference dialog in Visual Studio is still pretty terrible in VS2010. Various extensions have made it more bearable by providing search support and other enhancements, but now you can avoid it completely (most of the time) with an excellent extension from Clarius Consulting. (more)
category: Architecture | clicked: 2 | comment | | source: www.grumpydev.com
tags: VS2010, add reference
4
Shouts

Optional Parameters in C#4, C#3 and VB.Net, With a Side Order of IL Quirks | GrumpyDev

published 1156 days, 13 hours, 32 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1157 days, 18 hours, 25 minutes ago
Tuesday, April 20, 2010 12:46:00 PM GMT Monday, April 19, 2010 7:53:53 AM GMT
One of the features C# has gained in it’s latest V4 incarnation is the ability to work with optional parameters. Now VB.Net (and the underlying IL) has had this ability for sometime, but as it’s new to C# folks, and causing a little confusion; I’m going to attempt to explain how it works, when it works and the potential gotchas. I’ll also cover a strange inconsistency between the the VB and C# compilers when it comes to named parameters. (more)
category: How To | clicked: 0 | comment | | source: www.grumpydev.com
tags: C#, VB.NET, ildasm, Named Parameters, CSharp 4.0, Optional Parameters, CSharp, IL
5
Shouts

Locating Network Services on the iPhone/iPad with MonoTouch | GrumpyDev

published 1179 days, 10 hours, 43 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1180 days, 12 hours, 42 minutes ago
Sunday, March 28, 2010 3:35:23 PM GMT Saturday, March 27, 2010 1:36:07 PM GMT
Locating Network Services on the iPhone/iPad with MonoTouchIntroduction For one of the little iPhone project I’m working I need to communicate with with a server on the local network. That all sounds very simple, but what I really want to be able to do is detect all instances of this service on the local network, and give the user the option of which one to connect to at runtime. In WCF land we could leverage WCF Discovery, but in the world of MonoTouch, and even in .NET 3.5, we don’t have that luxur... (more)
category: Web Dev | clicked: 2 | comment | | source: www.grumpydev.com
tags: MonoTouch, UDP, service location, sockets
2
Shouts

Announcing: TinyMessenger | GrumpyDev

posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1185 days, 17 hours, 37 minutes ago
Monday, March 22, 2010 8:41:46 AM GMT
Announcing: TinyMessengerIntroduction Just a small post to announce I have added, and finally documented, TinyMessenger to the TinyIoC project.Tiny What-Now? TinyMessenger provides an event aggregator/messenger for loosely coupled communication. Some scenarios where this may prove useful :Communication between Controllers/ViewModels. Service classes raising “events”. Removing responsibilities from classes that receive external events (such as the AppDelegate in an iPhone application). Decoupling commun... (more)
category: How To | clicked: 6 | comment | | source: www.grumpydev.com
tags: Event Aggregator, tinyioc
7
Shouts

Why is Add Reference Still Horribly Broken in VS2010? | GrumpyDev

published 1186 days, 10 hours, 44 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1188 days, 11 hours, 41 minutes ago
Sunday, March 21, 2010 3:34:52 PM GMT Friday, March 19, 2010 2:37:44 PM GMT
Why is Add Reference Still Horribly Broken in VS2010?Introduction We all know Add Reference is horribly broken in VS2008. We’ve all clicked it and had our hearts sink as we realised it was time to make a brew, grab lunch or take a weekend mini-break before even attempting to use Visual Studio again. Now VS2010 is in Release Candidate it’s obviously been fixed.. hasn’t it?!Not All Change Is For the Better The main issue with the VS2008 Add Reference dialog was that it took an age to load, mostly due to ... (more)
category: How To | clicked: 0 | comment | | source: www.grumpydev.com
tags: Visual Studio, add reference, vs2020
6
Shouts

Automated “Unit” Testing – It’s Not Just for TDD, It’s for Bug Fixing Too! | GrumpyDev

published 1197 days, 14 hours, 50 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1198 days, 12 hours, 25 minutes ago
Wednesday, March 10, 2010 11:28:54 AM GMT Tuesday, March 09, 2010 1:53:22 PM GMT
Automated “Unit” Testing – It’s Not Just for TDD, It’s for Bug Fixing Too! Disclaimer – What I’m discussing here isn’t unit testing (hence the quotes), it’s more functional or integration testing; but as the term “Unit Testing” is often “abused” to mean “anything that uses a (unit) testing framework” so I’ve included it in the title to avoid confusion.Introduction I’m currently using TinyIoC in my first forays into MonoTouch development, and my initialisation code was throwing a resolution error on sta... (more)
category: How To | clicked: 1 | comment | | source: www.grumpydev.com
tags: C#, Debugging, Testing, tinyioc, unit testing
6
Shouts

Announcing: TinyIoC – An Easy to Use, Hassle Free, Inversion of Control Container | GrumpyDev

published 1204 days, 10 hours, 44 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1205 days, 19 hours, 17 minutes ago
Wednesday, March 03, 2010 3:34:31 PM GMT Tuesday, March 02, 2010 7:01:25 AM GMT
Announcing: TinyIoC – An Easy to Use, Hassle Free, Inversion of Control ContainerIntroduction Whenever I start a new “pet” project I usually want to use IoC, but I don’t really want the hassle of taking a dependency on a container, or adding another binary to my project. Usually this leaves me using “poor man’s IoC”, whereby I define dependencies in my constructors, but I pass them in manually or construct them using constructor chaining. I’ve thought for some time that it would be useful to put toge... (more)
category: How To | clicked: 2 | comment | | source: www.grumpydev.com
tags: IoC, Inversion of control, CSharp
4
Shouts

Moving a Repository from SVN to Mercurial With Full History | GrumpyDev

published 1205 days, 11 hours ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1206 days, 12 hours, 15 minutes ago
Tuesday, March 02, 2010 3:18:28 PM GMT Monday, March 01, 2010 2:03:01 PM GMT
I keep all of my pet projects in my own Subversion repository but I’ve recently decided to give this distributed version control shenanigans a whirl. I ummed and arred about Git or Mercurial, but in the end I plumped for Mercurial, with a bitbucket account, as it seems to have more ubiquitous support. I’m about to release a project I’ve been working on for the last week or so and thought it would be nice to release it via bitbucket – complete with the version history I’d build up in Subversion. (more)
category: How To | clicked: 0 | comment | | source: www.grumpydev.com
tags: Convert, Mercurial, Subversion, hg, Source Control
6
Shouts

So What Is This “Thread Safe” Thing Anyway? | GrumpyDev

published 1207 days, 13 hours, 24 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1209 days, 15 hours, 53 minutes ago
Sunday, February 28, 2010 12:54:31 PM GMT Friday, February 26, 2010 10:25:18 AM GMT
So What Is This “Thread Safe” Thing Anyway?Introduction Following on from my previous post about a “Thread Safe” Dictionary, and the subsequent comment from Rajeesh, made me think that perhaps a general post on “thread safety” was in order.Stop With the Quotes Already! The astute amongst you may notice I always try and put the phrase “thread safe” in quotes; and there is a good reason for that! “Thread safe” is a pretty horrible term (although I can’t think of a better one) that doesn’t really give eno... (more)
category: How To | clicked: 0 | 1 comment | | source: www.grumpydev.com
tags: C#, locking strategies, CSharp, Concurrency
7
Shouts

“Thread safe” Dictionary(TKey,TValue) | GrumpyDev

published 1207 days, 13 hours, 24 minutes ago posted by http://www.grumpydev.com/http://www.grumpydev.com/ 1210 days, 6 hours, 32 minutes ago
Sunday, February 28, 2010 12:54:31 PM GMT Thursday, February 25, 2010 7:46:40 PM GMT
“Thread safe” Dictionary(TKey,TValue)Introduction A pet project I’m currently working on requires the use of an internal Dictionary to store “registered” data, which is a pretty common requirement. For this particular project I’d like to at least attempt to make it “thread safe” on .NET 3.5, with an eye to moving it to the ConcurrentDictionary in .NET 4 which promises not only thread safety, but more granular locking to increase multi-threaded performance. A simple enough task, but one that I’ve seen... (more)
category: How To | clicked: 10 | comment | | source: www.grumpydev.com
tags: C#, CSharp 4.0, CSharp, Concurrency