Grumpydev2

Stories submitted by Grumpydev2

Quick Add Reference Extension for Visual Studio 2010(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 1 year, 7 months ago

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. read more...

3 comments |category: |Views: 111

tags: another

Optional Parameters in C#4, C#3 and VB.Net, With a Side Order of IL.(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 1 month ago

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. read more...

add a comment |category: |Views: 6

tags: another

Locating Network Services on the iPhone/iPad with MonoTouch(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 1 month ago

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 luxury, so it’s time to roll our own service discovery! read more...

add a comment |category: |Views: 6

tags: another

Announcing: TinyMessenger EventAggregator/Messenger(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 2 months ago

Just a small post to announce I have added, and finally documented, TinyMessenger to the TinyIoC project. read more...

add a comment |category: |Views: 14

tags: another

Why is Add Reference Still Horribly Broken in VS2010?(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 2 months ago

A quick discussion around the changes to the Visual Studio 2010 Add Reference dialog, and why they fall short of the mark. read more...

add a comment |category: |Views: 50

tags: another

Automated Unit Testing – Not Just for TDD, It’s for Bug Fixing Too(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 2 months ago

A brief discussion around building a failing test, before starting any debugging, to help fix bugs and to make sure they stay fixed. read more...

add a comment |category: |Views: 3

tags: another

Announcing: TinyIoC - An Easy to Use, Hassle Free, Inversion of (www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 2 months ago

Announcing TinyIoC - an easy to use, hassle free, Inversion of Control Container. TinyIoC has been designed to fulfil a single key requirement - to lower the "level of entry" for using an IoC container; both for small projects, and developers who are new to IoC who might be "scared" of the "big boys"! read more...

add a comment |category: |Views: 31

tags: another

Moving a Repository from SVN to Mercurial With Full History(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 2 months ago

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. read more...

add a comment |category: |Views: 12

tags: another

So What is This "Thread Safe" Thing Anyway?(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 3 months ago

A followup to the concurrent dictionary post where I talk about what the term "Thread safe" actually means. read more...

add a comment |category: |Views: 9

tags: another

“Thread safe” Dictionary(TKey,TValue)(www.grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 3 months ago

A quick look at how to work with a Dictionary in a thread safe manner, with an eye on moving to C#4's concurrent collections in the future. read more...

add a comment |category: |Views: 49

tags: another

Hotwire – A Remote Control Quick Launch Utility for LogMeIn(grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 4 months ago

Hotwire is a simple launcher application for remote controlling machines using the excellent LogMeIn ( http://www.logmein.com ) service. Written in C# using WPF and open sourced on Google Code. read more...

add a comment |category: |Views: 14

tags: another

WPF RichTextBox Subscript and Superscript Without Font Restrictions | (grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 6 months ago

Subscript and Superscript support in the WPF RichTextBox without requiring specific fonts. read more...

add a comment |category: |Views: 121

tags: another

Localising WPF Applications Using RESX Files and Standard Data Binding(grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 8 months ago

How to localise a WPF application using standard WPF databinding, including support for dynamically changing locale. Includes a simple example and a more complex PRISM based application. read more...

add a comment |category: |Views: 73

tags: another

System.OutOfMemoryException Gotcha Using Clipboard.GetData in WPF(grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 8 months ago

Potential System.OutOfMemoryException gotcha when storing custom classes on the Clipboard in a WPF application. read more...

add a comment |category: |Views: 55

tags: another

Bindings Not Updating in WPF / Silverlight? Common Mistakes(grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 9 months ago

Common stupid mistakes that cause both bindings not to update in WPF and Silverlight and headaches! read more...

add a comment |category: |Views: 35

tags: another

Stack Overflow – Share Your Flair – Now in PNG! | Grumpy Dev(grumpydev.com)

submitted by Grumpydev2Grumpydev2(144) 2 years, 10 months ago

A script to render your Stack Overflow (or Server Fault or Meta Stack Overflow) "Flair" badge to a PNG. Useful for forum sigs, shared blogs, or anywhere where you can't use the standard Flair code or the Wordpress Widget. Supports lots of config options, "pretty" urls, and the code is downloadable if you want to host it yourself. read more...

add a comment |category: |Views: 4

tags: another