Archive: March 2012

Loading and Parsing Tweets from a Twitter Feed (Legacy XML API)

Scott Walker · Mar 22, 2012

Before Twitter retired its XML timeline endpoints, applications could pull tweets directly using a simple URL and parse the results. The LoadTweets() function below demonstrates how legacy ASP.NET applications retrieved tweets, converted URLs into clickable links, and displayed them on a page.

đŸ’Ŧ 0 Twitter JavaScript XML

Performing LIKE '%query%' Searches in LINQ

Scott Walker · Mar 16, 2012

When you need SQL-style LIKE '%keyword%' behavior in LINQ to SQL or Entity Framework, the simplest approach is to use Contains(). It automatically translates to a SQL LIKE query.

đŸ’Ŧ 0 Linq SQL