Posts

Showing posts from December, 2011

Happy New Year 2012 !!

Image
Wish you and your family a Happy New Year 2012 !!

Displaying Tweets in ASP.NET

Background The truth is that all these Social Networks have APIs that allow developers to integrate our applications with them, and they are great. There are also open source libraries that we could use (like " twitterizer "), and it works pretty well also. But the reality is that they have too many options and documentation to read... and (for me at least), it was not worth it to spend that time when my requirement was as simple as showing my latest tweets and videos in the company web page. I found a guy wondering in a forum how he couldn't find a simple example on how to do this same thing with these open source libraries or with the APIs, though I insist, to integrate whole applications, libraries and APIs are great! What We'll Do We'll see Twitter this time, and we'll use Twitter's feed to get a user's timeline (the tweets he or she sent). Twitter returns the information in several formats (rss, xml, json...) and we'll talk about XML ...

HttpHandler and HttpModule

Introduction Whenever a request reaches an Microsoft Internet Information Services (IIS) Web server, IIS determines how to handle the file by examining the requested file's extension. Static files, like HTML pages, images, Cascading Style Sheet (CSS) files, and the like, are handled directly by IIS. Requests for Microsoft ASP.NET Web pages or Web services—files with extensions .aspx or .asmx—are handed off to the ASP.NET engine. Requests for files with the extension .asp are handed off to the classic ASP engine. The ASP.NET and ASP engine are responsible for generating the markup for the requested resource. For ASP.NET and classic ASP Web pages, this markup is HTML; for Web services, the markup is a SOAP response. Once the engine has successfully rendered the markup for the requested resource, this markup is returned to IIS, which then sends the markup back to the client that requested the resource. This model of serving content—having IIS directly serve only static content, ...