An Excellent DotNetNuke Tutorial

I’m back in DotNetNuke mode and while doing some refresher reading and whatnot I came across this tutorial. It’s quite good. Much better written and presented than many tutorials I’ve seen on the topic. During the setup portion of the tutorial, it says: To make the designer work correctly with DotNetNuke controls we will have… Continue reading An Excellent DotNetNuke Tutorial

Logging Out of Facebook with C# SDK

Logging out of Facebook programmatically turns out to be much more problematic that you would think. I posted the question at StackOverflow asking if anyone knew of a way to get it done. The only answer, other than mine, turned up the same results I’d been having, i.e. You just can’t logout easily. So, I… Continue reading Logging Out of Facebook with C# SDK

Open Source Wars: GeckoFX and MozNet

Well, it appears I’ve been caught in the cross-fire in some open source wars. A number of years ago, SkyBound released GeckoFX as an wrapper for XULrunner, or the Firefox browser engine. Eventually Andrew moved on and left it to the community. One fellow, Scott, picked up the reigns and continued development and eventually forked… Continue reading Open Source Wars: GeckoFX and MozNet

Getting the Album ID with the Facebook C# SDK

I really shouldn’t drink & post like last night… Anyways, cynicism and rantiness wane as sobriety returns, and here’s some code that illustrates uploading a photo to a specific album: It’s not hard at all. But the lack of decent documentation makes it painful at best. I’ve been harping on this for a long time:… Continue reading Getting the Album ID with the Facebook C# SDK

WTF is an ID for?

I’m a complete and total bigot. Unmitigated, complete, total bigot. The web sucks. And web APIs suck too. Especially when the documentation is non-existant or confusing or wrong. That sets me off. You see, I hate shit. It smells. I don’t smear shit all over the walls in my house, and it kind of pisses… Continue reading WTF is an ID for?

A Kick-Ass Article on Asynchronous Operations

As I am virtually incapable of doing anything the same way twice, I had to go out and find another way to deal with blocking operations (blocking as in network blocking), and came across Asynchronous Method Invocation at the Code Project. Perfect. The author, Mike Peretz, does an excellent job of explaining Begin/EndInvoke, delegates, catching… Continue reading A Kick-Ass Article on Asynchronous Operations

if (false) { behave nice; } else { freak out; }

Using “false” in a conditional causes all variables in the else clause to return nothing while debugging. Huh? Yep. Here’s a screenshot of inside an else clause: The “comparisons” variable is declared outside the conditional and shows up as does “comparisonIndex” which is also defined outside the conditional. However, the “singleComparison” shows “The name “singleComparison”… Continue reading if (false) { behave nice; } else { freak out; }

Boxing and Unboxing in C#

While working on some threading stuff, I came across an excellent article on boxing and unboxing in C#. The author goes into great detail showing performance along with IL. Boxing and Unboxing in C# It was somewhat comforting to see that I’m already coding in a way that doesn’t need boxing or unboxing. Some things… Continue reading Boxing and Unboxing in C#

Published
Categorised as .NET, C#

The store is under construction. Check back in a few days. Dismiss

Exit mobile version