Wallace B. McClure
All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.
-
Twitter API - Sending a Direct Message in C#
I tried writing some code to send a direct message using the Twitter API. It was a FAIL. I did some searching in google, and found this method below listed in a google group. I didn't write it, but it works, so enjoy. I plugged the method into my WCF Service and it just worked.
-
ASP.NET 4.0 Preview 4 works fine in other browsers
When I first worked with the original ASP.NET 2.0 AJAX, some folks told me that it only worked with IE, which was wrong then. I decided to take a look at ASP.NET 4.0 Preview 4 in Chrome and Firefox. I looked at my an example dataview i'm working with in my azure application. Low and behold, it looked the same in IE8, Firefox 3, and Chrome 2 beta. Here's a display of all of them.
-
Twitter API - Get a list of your friends in C#
I needed to call the Twitter API and get a list of friends. I thought I could do something similar to getting a list of posts, but alas, I had some stupid error in my linq to xml code. I futzed around with it for days to no avail. Finally, I decided it was just easier to iterate through the XML using an XmlNode and fill my objects that way. Hey, it just worked. Like my previous example, this code uses C# and is in a WCF Service. Note: As displayed, the code doesn't work, you will have to supply a password.
-
ASP.NET Podcast Show #138 - Coding Microsoft Velocity with David Penton - video
blank_page -
Windows Azure Samples - Storage Client and ASP.NET Providers
I got my dev vpc setup and installed this evening. I was pulling my hair out looking for the latest StorageClient and ASP.NET Providers. Where the heck are they. Well, their are in the Windows Azure SDK directory. they are in the samples.zip file. I missed it because it was in a zip file.
-
Calling the Twitter API in C#
I've been working on this application to send out tweets at a particular time. One thing thing I want to do is be able to look at the logged in user's timeline. I've been playing with the ASP.NET 4.0 AJAX Previews, so I thought I would marry the two. As a result, I wrote the WCF code below in C#. Note that the password is hidden, so the code won't work until you add that in. Basically, I make a request to get the friends timeline. This gives me the most recent 20 posts by default. I store the result in an XmlDocument. I need to get that data out as a complex object of type UserStatusSvc as I am returning an array of that type. I used Linq to Xml for that.
-
ASP.NET Podcast Show #137 - Install and Configuration of Microsoft Velocity with David Penton - video
-
ASP.NET 4.0 AJAX - Pseudo Columns
With the ASP.NET 4.0 AJAX previews, there is the concept of a pseudo column. This is similar in concept to Oracle's rownum and rowid columns that are returned in a query. The two columns that ASP.NET 4.0 AJAX when doing databinding are $index and $dataItem.
-
Chattanooga .NET User Group on Tuesday March 17
I'll be speaking at the Chattanooga .NET User Group on Tuesday March 17. The topic is an introduction to asp.net ajax.
-
ASP.NET 4.0 AJAX Preview Release 4 Setup