IDonWEB
RSS Feeds Directory
Simple mode | Advanced mode

Most Popular Feeds Newest Feeds    

Weblogs [Personal] (1032) Weblogs [Computers] (439) Business (990) Computers & Internet (929)
News (442) Miscellaneous (1617) Regionals (559) Companies (1827)
Total feeds: 7835

Submit Your Feed

Anatoly Lubarsky: T-SQL Weblog
Put this feed on your website
Description: Asp.Net; MsSql; Yukon; Web Services;
Format: RSS 2.0
Url: http://blogs.x2line.com/al/Rss.aspx
 
Latest headlines
Anatoly Lubarsky: T-SQL Weblog
.NET: How to Make HTTP Request and Get Response
Fri, 29 Aug 2008 00:34:00 GMT

There are so many ways to query external url in .NET, people can use so many approaches and .NET Framework classes available - it's crazy. Quering external urls via HTTP today is a common task many developers facing. There are many REST (or other types of) open APIs created by external services. Below I decided to post an example of how to do it the right way (as far as I can see it). This schematic function supports both POST and GET requests, highly scalable and the most important - it is designed as low level infrastructure function (i.e. uses simple types and bubbles exceptions). public string GetHttpResponse(string requestUrl, byte[] data) { // declare objects string responseData = String.Empty; HttpWebRequest req = null; HttpWebResponse resp = null; StreamReader strmReader = null; try { req = (HttpWebRequest)HttpWebRequest.Create(requestUrl); // set HttpWebRequest properties here (Method, ContentType, etc) // some code // in case of POST you need to post data if ((data != null) && (data.Length > 0)) { using (Stream strm = req.GetRequestStream()) { strm.Write(data, 0, data.Length); } } resp = (HttpWebResponse)req.GetResponse(); strmReader = new StreamReader(resp.GetResponseStream()); responseData = strmReader.ReadToEnd().Trim(); } catch (Exception ex) { throw; } finally { if (req != null) { req = null; } if (resp != null) { resp.Close(); resp = null; } } return responseData; } P.S. - HttpWebRequest proved to be the most reliable for me. Enjoy
Daygrader is Live on Myspace
Tue, 26 Aug 2008 20:41:00 GMT

Following Bathroom Stall Vandalism approval, today Daygrader is available for Myspace users as well. It has been approved and Myspace users can now discover and install Daygrader from Myspace Application Directory. Daygrader runs currently on Facebook, Bebo, Friendster and Myspace. Daygrader allows you to rate your life day after day on ABCDF scale. Go Myspace !
Bathroom Stall Vandalism is Live on Myspace
Tue, 26 Aug 2008 04:22:00 GMT

About a month ago I announced that Bathroom Stall Vandalism is Live on Friendster - following its approval to Friendster application directory. From today Bathroom wall is available for Myspace users as well. It has been approved and Myspace users can now discover and install their bathroom from Myspace Application Directory. Bathroom Stall Vandalism runs currently on Facebook, Bebo, Friendster and Myspace. Enjoy :)
Music on Saturday - Eazy-E - Real Muthaphuckkin G's
Sat, 23 Aug 2008 14:02:00 GMT

Music on Saturday on this blog - here it comes. Today I'm postin "Real Muthaphuckkin G's" by Eazy-E (former N.W.A founder) with amazing real rap. "Real Muthaphuckkin G's" is a song from the unfinished album called "Str8 off tha Streetz of Muthaphukkin Compton". Eazy-E died from AIDS in 1995. His last message to his fans: "Now, I'm in the biggest fight of my life and it ain't easy. But I want to say much love to those who have been down with me and thanks for all your support. Just remember: It's YOUR real time and YOUR real life." Enjoy
OpenSocial: How to Detect Profile Owner
Sat, 23 Aug 2008 00:04:00 GMT

One of the common tasks for OpenSocial application developer is to distinguish between ordinary profile viewer and profile viewer who is "OWNER" which means installed the application. It is needed to perhaps display different content according to the "VIEWER". The following profile content example snippet demonstrates how to perform this task: < script type="text/javascript"> var os; var dataReqObj; function init() { os = opensocial.Container.get(); if (os != null) { dataReqObj = os.newDataRequest(); var viewerReq = os.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER); dataReqObj.add(viewerReq); dataReqObj.send(viewerResponse); } else { // some code } } function viewerResponse(data) { var viewer = data.get(opensocial.DataRequest.PersonId.VIEWER).getData(); if (viewer != null) { // some code if (viewer.isOwner()) { // do something - OWNER } else { // do something - NOT OWNER } } else { // some code } } init(); < /script> Enjoy :)
I Love Indonesia
Sun, 17 Aug 2008 01:35:00 GMT

This is my latest application. I was just thinking that it is fun and simple. To all indonesians out there - hope you enjoy it. aku cinta indonesia :))
Culture Beat - I Like You
Sat, 16 Aug 2008 01:32:00 GMT

I decided that saturday will be a music day on this blog. I'll try to post a piece of music every saturday, so check it out :) Usually when I post music here I try to choose something very influential along with what I personally like. At first I wanted to post Get Ready for This by 2Unlimited. But I decided not to since "Get Ready for This" is overused (mostly in various sports events) despite the fact that it is huge piece of work. Instead I'd post something less sophisticated from the 90s eurodance era. "I Like You" by Culture Beat featuring Jay Supreme and Lana Earl on vocals: "Culture Beat" became very famous for their huge hits in the early 90s such as Mr Vain. Culture Beat's founder Torsten Fenslau was killed in the car accident just on the peak of success. Enjoy
Solution: Social Networks and Client Libraries
Fri, 01 Aug 2008 03:41:00 GMT

In one of my recent posts - Problem: Social Networks and Client Libraries I tried to define the problem of lack of client libraries written in .NET to support Social Networks open platforms. Here is my solution - write these libraries myself. The first network will be delicious: I'm selling Client Library for Delicious API written in .NET 2.0 (C#). Delicious has opened its API for developers long before Facebook. .NET developers can either integrate this library into their Facebook or open social applications or create new applications for delicious. This library is: Up-to-date. Very fast. Robust (was written about 3 years ago). For now the price is: $100 with source code but without reseller rights. $150 with source code and reseller rights. If interested, please send me e-mail: anatolyl@gmail.com My future plan is to release client libraries written in .NET for most important platforms: Including open-social based platforms (myspace, hi5). Including client libraries for Facebook API based platforms. Including independent platforms. Update 1: I forgot to mention - test project is included for both versions so one can verify the library actually works before creating her own app. Update 2: delicious released delicious 2.0 just yesterday (coincidence ?) - the libraries are supposed to work without any change. I'm planning also to maintain all libraries released to the public.
Bathroom Stall Vandalism is Live on Friendster
Thu, 31 Jul 2008 23:56:00 GMT

Just following DayGrader expansion to Friendster - Bathroom Stall Vandalism is available for Friendster users as well. It has been approved and Friendster users can now discover and install Vandalism from Friendster App Directory. Bathroom Stall Vandalism works on 3 different Social Networks: Vandalism on Friendster. Vandalism on Bebo. Vandalism on Facebook. In addition - just like DayGrader, Bathroom Stall Vandalism for Facebook fully supports Facebook new profile design and does not require "install" to be operational. Enjoy :)
DayGrader is Live on Friendster
Thu, 31 Jul 2008 23:46:00 GMT

DayGrader - Life Grading System is available for Friendster users. It has been approved and Friendster users can now discover and install DayGrader from Friendster App Directory. So for now DayGrader works on 3 different Social Networks: DayGrader on Friendster. DayGrader on Bebo. DayGrader on Facebook. In addition - DayGrader for Facebook fully supports Facebook new profile design and does not require "install" to be operational. Enjoy :)