blueonion

Stories submitted by blueonion

Parallels Workstation for Windows & Linux - Free | Blue Onion Software(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 4 months ago

It's free for now. Get it while you can. read more...

add a comment |category: |Views: 2

tags: another

Handling Double Clicks in Silverlight(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 5 months ago

Silverlight doesn't support double-clicks. Here's a refactoring of code I found in another blog that gets the job done. Suggestions for further refactoring appreciated. read more...

add a comment |category: |Views: 16

tags: another

Is this the easiest way to Convert an ASP.Net Virtual Path to a URI?(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 5 months ago

ASP.Net has a boat load of methods for dealing with paths. However, no where can I find a method to convert a virtual path (~/) to its equivalent Uri. Perhaps it’s there but darn if I can find it. The best I can up with is: var uri = Request.Url.GetLeftPart(UriPartial.Authority) + ResolveUrl("~/SomePage.aspx"); If the site is hosted at: http://example.com/website, then this code yields http://example.com/website/SomePage.aspx, which is what I want. Perhaps there is a better way to do this? read more...

add a comment |category: |Views: 10

tags: another

Friday Links #28 | Blue Onion Software *(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 5 months ago

Useful links every Friday. Mostly geared towards science and software development. read more...

add a comment |category: |Views: 4

tags: another

Developer and Power Tool List - 2008(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 5 months ago

Scott Hanselman's Ultimate Developer and Power Users Tool List has always been an great read. Here's my list, considerably smaller and surprisingly different. I use fewer programs and feel applications like browsers and IDE's should be included. Most of these applications are free with a few notable exceptions. Your welcome to link to this list but please don’t copy or reuse it in other publications. read more...

add a comment |category: |Views: 9

tags: another

The World's Longest Second(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 7 months ago

Why must every Microsoft tool take 20 minutes to uninstall the when only one second remains? Grrrrrrrr... read more...

add a comment |category: |Views: 6

tags: another

Visual Studio Code Cleanup Macro(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 7 months ago

This IDE macro inserts a copyright notice if not detected, removes and sorts #using directives (C#), and formats the file, all in one keystroke. read more...

add a comment |category: |Views: 15

tags: another

Singletons Revisited(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 7 months ago

OK, so maybe singletons are not the pure evil suggested earlier. While useful, the usual implementation of the pattern requires exposing an Instance member to enforce the singleton semantics. An alternative shown in this article allows singletons to appear and act more like static classes and hides the implementation from the caller. read more...

add a comment |category: |Views: 10

tags: another

Maintaining User Settings when Upgrading(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 7 months ago

How to maintain user settings from version to version with the .NET Settings class. read more...

add a comment |category: |Views: 6

tags: another

A lean method for invoking COM in C#(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 7 months ago

Technique for COM interop in C# that does not require an external interop assembly read more...

add a comment |category: |Views: 15

tags: another

Installing an Event Log Source in .NET(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 7 months ago

A brief tutorial on how to write a custom installer action to register an event source and some tips on event logging in C# programs. read more...

add a comment |category: |Views: 17

tags: another

The Definitive C# Singleton(blueonionsoftware.com)

submitted by blueonionblueonion(150) 3 years, 8 months ago

The .NET framework makes it very easy to write thread safe, lazy initialized, singletons. Here's how. read more...

5 comments |category: |Views: 819

tags: another