If you find this article useful, consider making a small donation to show your support for this web site and its content.
DiscountASP
AboutMe
About me:
Hi. My name is Farooq Kaiser and I'm a software developer from Toronto, Canada.

Twitter authentication using OAuth

by Farooq Kaiser 5. September 2010 04:02
As of August 31,2010, Twitter has stopped using basic authentication. applications will all use OAuth, an authentication method that lets you use apps without them storing your password. To learn more about OAuth, please visit @ http://oauth.net. Register your new application with Twitter ... [More]

Currently rated 4.3 by 3 people

  • Currently 4.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

.NET | C# | API

Html screen scraping with HtmlAgilityPack Library

by Farooq Kaiser 29. August 2010 14:15
What is Screen Scraping ? Screen scraping is a process that reads any webpage and extract data from html tags. In this article, i will examine how to scrape a given web page using htmlagilitypack library. It is a .NET code library that allows you to parse "out of the web" HTML files. It... [More]

Currently rated 4.3 by 11 people

  • Currently 4.272727/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Building Twitter Application using TweetSharp

by Farooq Kaiser 8. July 2010 09:00
Update: As of August 31,2010, Twitter has stopped using basic authentication. applications will all use OAuth. To learn more about using OAuth, see my new article. In this article, i will examined how to build twitter app using TweetSharp. Tweetsharp library is available at codeplex he... [More]

Currently rated 2.3 by 3 people

  • Currently 2.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C# | API

Silverlight Transformations

by Farooq Kaiser 30. March 2010 03:42
Recently I started exploring Silverlight and it has some cool features that i would like to share. In this article i will demonstrate how to specify transformations in Silverlight with TranslateTransform, ScaleTransform, RotateTransform, SkewTransform and MatrixTransform. TranslateTransform: Mov... [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Putting a Bing Search on your Website

by Farooq Kaiser 25. March 2010 07:41
In this article, i will examined how to integrate Microsoft Bing Search engine on your site. First, you would have to get APPID from Microsoft site. Here is a link.  In next step, in your project add the following web reference. http://api.search.live.net/search.wsdl?AppID=... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

C# | API

Did you know.. How to develop Jquery Plugin?

by Farooq Kaiser 26. February 2010 06:34
jQuery is a lightweight cross-browser JavaScript library. It is very easy to build a plugin that can extend the jquery functionality and that Plugin can be reused. Here is Jquery plugin structure. 1: jQuery.fn.pluginName = function(){}; Let's put together... [More]

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Did you know

Did you know.. How to generate Excel 2007 file in C#?

by Farooq Kaiser 24. February 2010 02:19
You can do it using ExcelPackagethat provides server-side generation of Excel 2007 spreadsheets. You can download it from codeplex.  Here is sample code to generate XLSX file using ExcelPackage. 1: FileInfo XLSXFile = new FileInfo(XLSXFileName); 2: using ... [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C# | Did you know

Did you know.. How to create CSV or Text file in C#?

by Farooq Kaiser 23. February 2010 07:52
Here is our C# code to generate CSV file. 1: StringBuilder sb = new StringBuilder(); 2: string strDelimiter = ","; 3:  4: foreach (DataRow dr in table.Rows) 5: { 6: string[] arr = Array.ConvertAll(dr.I... [More]

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C# | Did you know

Did you know.. How to download file from web service using JavaScript or Jquery?

by Farooq Kaiser 23. February 2010 07:14
Here is our Web service in C#. 1: [WebMethod] 2: public void DownloadFile(string fileName) 3: { 4: HttpContext returnContext = HttpContext.Current; 5: string url = "http://localhost" + @"/" + fileName; 6: ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Did you know

MS Chart Controls to PDF with iTextSharp using XML Template

by Farooq Kaiser 10. February 2010 05:45
In this article, i will examined how to build reports with ItextSharp PDF control and Ms Chart controls using XML template. The Xml template gives us freedom to change the contents without having to recompile and deploy the application again. Here is our sample report in XML template. ... [More]

Currently rated 4.8 by 5 people

  • Currently 4.8/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

.NET | C# | Reports | XML

Email Template using C#

by Farooq Kaiser 27. January 2010 03:46
In this article, i will examined how to build template to store email data such as body and subject. The template is an XML file that will store the static text with dynamic Tags. The dynamic tags are just like variables that get replaced by the real data. Here is a sample template. ... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C# | XML

HTML based file upload/download to FTP server using HttpHandler in C#

by Farooq Kaiser 24. December 2009 05:18
In this article, i will examined how to upload/download file from HTML client to FTP server using HttpHandler in C#. This approach can be very handy for application integration. Here is our html code that will consume HttpHandlers. 1: <html xmlns="http://www.w3.... [More]

Currently rated 2.5 by 2 people

  • Currently 2.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

.NET | C#

Using ODBC driver to access XLS, XLSX, TXT or CSV files.

by Farooq Kaiser 18. December 2009 13:59
In this article, i will examined how to access XLS, XLSX, TXT or CSV files. It is very easy to access these files using ODBC drivers. Here are Connection Strings Excel Connection String "Provider=Microsoft.Jet.OLEDB.4.0; data source={0}; Extended Properties=\"Exc... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

.NET | C#

Reading and Writing BLOB Data to MS SQL or Oracle Database

by Farooq Kaiser 18. December 2009 04:22
In this article, i will examine how to store and retrieve binary files such as image or PDF into MS SQL or Oracle database. Reading a File into a Byte Array 1: byte[] m_barrImg = null; 2: using (FileStream fs = new FileStream(FileName, FileMode.Open, FileAcce... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Creating and consuming your first WCF service

by Farooq Kaiser 24. September 2009 14:57
In this article, i will examine how to create and consume a WCF service. WCF is next-generation programming platform and runtime system for building, configuring and deploying service-oriented applications. For more details please see here. Creating a WCF service I will create a stock ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

.NET | C#

Custom Sorting with Jquery UI

by Farooq Kaiser 19. September 2009 06:20
In this article, i will examine how to build custom sorting Using Jquery UI. The jQuery UI Sortable plugin makes selected elements sortable by dragging with the mouse. Please see here for more details. In my demo application i will create an XML file to store the custom settings that will hold the... [More]

Currently rated 3.0 by 15 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

.NET | asp.net | C# | XML

The ABC of WCF

by Farooq Kaiser 16. September 2009 07:25
Microsoft's next-generation programming platform and runtime system for building, configuring and deploying service-oriented applications. It enables developers to build secure, reliable, transacted solutions that integrate across platforms and interoperate with existing investments. Most of the WCF... [More]

Currently rated 3.1 by 27 people

  • Currently 3.148148/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Localizing ASP.NET MVC

by Farooq Kaiser 6. September 2009 13:23
Localization is the process of customizing your application for a given culture and locale. The .NET framework offers the following namespaces and classes to facilitate the localization. System.Globalization (The System.Globalization namespace contains classes that define culture-related in... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

.NET | asp.net | C#

How to improve the performance of ASP.NET MVC web application

by Farooq Kaiser 30. August 2009 06:07
In this article, i will examine how you can improve the performance of an ASP.NET MVC application by taking advantage of the following components. Implementing Caching Implementing HTTP Compression Implementing JQuery UI library with Google Hosted Ajax Libraries By combining script... [More]

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

.NET | asp.net | C# | Google

JQuery AJAX with ASP.Net MVC

by Farooq Kaiser 26. August 2009 15:15
The JQuery has following methods that can be used to perform Ajax requests: ajax() - Load a remote page using an HTTP request. This is jQuery's low-level AJAX implementation. load() - Load HTML from a remote file and inject it into the DOM. get()  - Load a remote page using a... [More]

Currently rated 4.7 by 3 people

  • Currently 4.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

.NET | asp.net | C#

Jobs Autos Real estate Videos Power by Google
awesome comments