Kon's Blog
Life, liberty and the pursuit of clean code. With focus on .NET, SOA and all things Web.
-
Assembly File Version Auto-Increment 'Magic'
For those who do not have the time or the resources to maintain TFS-based continuous integration environment and leverage its very powerful MSBuild functionality, here's a relatively simple way to auto-increment your assembly file version.
-
Finding Those Pesky Unicode Characters in Visual Studio
Sometimes I’m handed HTML that I need to wire up and I find these characters. Usually there are only a couple on the page and, while annoying to find, it’s not a big deal. Recently I found dozens and dozens of these guys on a page and wasn’t very happy at the prospect of having to manually search them all out and remove/replace them. That is, until I did some research and found this very helpful article by Aaron Jensen - Finding Non-ASCII Characters with Visual Studio.
-
Easily Delete Cookies in Firefox
I just discovered a great Firefox add-on, called Remove Cookie(s) for Site, which makes deleting cookies from a web site very easy (it’s not new, but it’s new to me). This is especially useful for developers when debugging your cookie CRUD operations, because it eliminates the need to go into the browser’s menu and select the appropriate options from the subsequent pop-up.
-
Simple Way To Check If User Has Liked Your Facebook Page with ASP.NET
-
Trick Facebook Scrapping of Facebook Tab URL
I constantly run into issues with Facebook scrapping the wrong information off of a page, when all you’re trying to do is put a simple Like, Recommend, or Send (or custom share) button on your page. This is especially problematic when you are working with a Facebook tab. In a failed attempt to make Facebook scrape one of its own Facebook tabs, it scrapes the root page’s basic info (Info tab) every single time.
-
Compatibility View in Internet Explorer 9
You may have noticed that the Compatibility View button which used to be in the Address Bar in IE8 may or may not be there in IE9. If you're missing it, you should now be able to find it under Developer Tools. Just hit F12 and you should see:
-
Can't Like a Page? Seriously??
We've previously talked about programmatically liking a post. But I recently tried to like a page, and was presented with this lovely response - "(OAuthException) (#3) App must be on whitelist":
-
Firefox 4 beta & Firebug 1.7 alpha are available
I've put off upgrading to the latest beta of Firefox 4.0 because Firebug didn't support it yet. Well, until very recently anyway. Here are the links to both downloads:
-
Getting Started With Facebook C# SDK
In my previous post, I’ve mentioned a relatively new Facebook SDK available for .NET. Here’s a quick example of how to install and use it to post a message to an FB user’s wall and then Like it, using an MVC application.
-
New Facebook SDK for .NET, and on NuGet
If you’ve been using the Facebook Developer Toolkit in the past to develop ASP.NET iFrame applications for Facebook, you may be interested in a few updates. That SDK has not been updated since April of 2010. And Facebook has made quite a few changes to their API since then. So I'd consider this project all but abandoned, perhaps resulting in things you expect to work not working.