Archives
-
Codestock Session Submissions
If you are not familiar with it, CodeStock is June 26-27 in Knoxville, TN. If you have not submitted your talk, do so now. Run, don't walk over to http://www.codestock.org/Speakers.aspx and submit your session. Session submissions are due by the end of today (March 31).
-
More things that I have learned with Azure
I've been working on this application to run on Windows Azure. I wanted to share a few things that I have learned. I'm not sure if I have missed these being covered else where, but I want to bring them up here for my own knowledge. I find that I remember things much better if I blog them than if I put them on twitter.
-
More reminders / gotchas from the trenches with Azure
I've been working on setting up my VPC for Azure's March CTP. This is a fresh install. I had everything installed. Here are a couple of gotchas that you have to remember:
-
ASP.NET 4.0 AJAX - Caching Data on the client
-
Twitter API - Submit a post in C#
I used C# and WCF, but I could have just as easily used an ASMX web service. This code is fairly simple. No I didn't write it initially. I found it online (Hey, we all have to start somewhere). I massaged it a little to fit my needs and boom, here it is. I have decided to leave the comments for the original code sample in the post. Note: This code will not run as listed. You have to have a password. This code has that as a shared variable, but I'm not showing that to you, seriously. I hope that this is of some help to you.
-
Why am I writing against the Twitter API directly?
Yeah, so some of my friends asked me why I am not using a twitter library instead of calling the api directly. Yeah, I'm wondering that to. Seriously, the reason why I am doing that is that .net libraries to call out to twitter that I tried under VS 2008, did not work with Windows Azure. These libraries seemed to generate a security exception. Given azure's security requirements being a little more than regular asp.net, I decided to just drop the search for a library and make my calls on my own. Not sure if its a good decision or not, but its what I did.
-
ASP.NET 4.0 AJAX - Dynamic update to the DOM
-
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
-
Atlanta Code Camp on Saturday March 14
-
Atlanta GGMUG User Group tonight on an Intro to ASP.NET AJAX