farooqkaiser
Name: farooqkaiser
Score: 1,120.07
Last Seen: 28 days, 10 hours, 8 minutes ago
Member Since: 7 August, 2009
Fairfeeds.com
atom rss
1
Votes

Web 2.0 | MS Chart Controls to PDF with iTextSharp using XML Template

posted by farooqkaiserfarooqkaiser 28 days, 10 hours, 8 minutes ago
Wednesday, February 10, 2010 8:00:18 PM GMT
In this article, i will examined how to build reports using ItextSharp PDF controland Ms Chart controlsusing XML template. The Xml template give us freedom to change the contents without having to recompile and deploy the application again. Let�s say here is our sample report in XML template. 1: 2: Here is our C# code that will generate the PDF. 1: XmlDocument xdox = new XmlDocument(); 2: xdox.Load(XMLFile); 3: Document document = new Document(); 4: PdfWriter.GetInstance(document... (more)
Category: Technology | Clicked: 1 | Comment | | Source: fairnet.com
Tags: C#, chart, report, XML
1
Votes

Web 2.0 | Email Template using C#

posted by farooqkaiserfarooqkaiser 42 days, 11 hours, 38 minutes ago
Wednesday, January 27, 2010 6:30:38 PM GMT
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. 1: 2: Now, i will load the template in C# and Tags will be replaced with Real Data. Here is C# sample code. 1: XmlDocument xdox = new XmlDocument(); 2: xdox.Load(Template); // Load your template here 3:str... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: .NET, C#, Email, XML
1
Votes

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

posted by farooqkaiserfarooqkaiser 76 days, 10 hours, 41 minutes ago
Thursday, December 24, 2009 7:27:20 PM GMT
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: (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: C#, FTP, Http Handler
1
Votes

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

posted by farooqkaiserfarooqkaiser 82 days, 1 hour, 39 minutes ago
Saturday, December 19, 2009 4:29:19 AM GMT
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=\"Excel 8.0;HDR=No;IMEX=1;\""; Excel 2007 Connection String "Provider=Microsoft.ACE.OLEDB.12.0; data source={0}; Extended Properties=\"Excel 12.0;HDR=No;IMEX=1;\""; CSV or Text Connection String "Provider=Microsoft.Jet.OLEDB.... (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: C#, CSV, XLS, XLSX
1
Votes

Web 2.0 | Reading and Writing BLOB Data to MS SQL or Oracle Database

posted by farooqkaiserfarooqkaiser 82 days, 11 hours, 20 minutes ago
Friday, December 18, 2009 6:47:40 PM GMT
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[] mbarrImg = null; 2:using (FileStream fs = new FileStream(FileName, FileMode.Open, FileAccess.Read, FileShare.Read)) 3: { 4: mbarrImg = newbyte[fs.Length]; 5:int iBytesRead = fs.Read(m_barrImg, 0, (int)fs.Length); 6: fs.Close(); 7: } Saving BLOB data from a file to Oracl... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: oracle, SQL Server
1
Votes

Web 2.0 | Creating and consuming your first WCF service

published 160 days, 15 minutes ago posted by farooqkaiserfarooqkaiser 167 days, 2 hours ago
Friday, October 02, 2009 5:53:24 AM GMT Friday, September 25, 2009 4:08:25 AM GMT
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 service to demonstrate WCF service. To create a WCF service please follow these steps.Launch a visual studio 2008 Click on File �> new -> project then select WCF service application. It will create a WCF service applicati... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: WCF, Web Service. c# 3.5
1
Votes

Web 2.0 | Custom Sorting with Jquery UI

published 162 days, 13 hours, 4 minutes ago posted by farooqkaiserfarooqkaiser 172 days, 9 hours, 40 minutes ago
Tuesday, September 29, 2009 5:04:12 PM GMT Saturday, September 19, 2009 8:28:26 PM GMT
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 sorting order. Here is our XML File. (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: .NET, ajax, ap.net, C#, Linq
1
Votes

Web 2.0 | The ABC of WCF

published 167 days, 16 hours, 4 minutes ago posted by farooqkaiserfarooqkaiser 177 days, 11 hours, 57 minutes ago
Thursday, September 24, 2009 2:04:34 PM GMT Monday, September 14, 2009 6:11:31 PM GMT
WCF is 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 functionality is included in a single assembly called System.ServiceModel.dll, located in the System.ServiceModel namespace. What are the ABCs of WCF? ABC stands for address, binding, and contract, t... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: .NET, C#, WCF, WebService
1
Votes

Web 2.0 | Localizing ASP.NET MVC

published 176 days, 11 hours, 43 minutes ago posted by farooqkaiserfarooqkaiser 185 days, 3 hours, 14 minutes ago
Tuesday, September 15, 2009 6:24:57 PM GMT Monday, September 07, 2009 2:54:18 AM GMT
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 information, including the language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings) CutureInfo Provides information about a specific culture... (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: .NET, ASP.NET MVC, C#, Localization
1
Votes

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

published 182 days, 12 hours, 51 minutes ago posted by farooqkaiserfarooqkaiser 192 days, 10 hours, 42 minutes ago
Wednesday, September 09, 2009 5:17:19 PM GMT Sunday, August 30, 2009 7:26:31 PM GMT
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 scripts and other resources Deploying production code in release mode. Implementing Caching: The easiest way to implement cache on MVC view is to add an [OutputCache] attribute to either an individual controller action or an entire... (more)
Category: Technology | Clicked: 3 | Comment | | Source: www.fairnet.com
Tags: ASP .NET, ASP .NET MVC Framework, Caching, Http Handler, jQuery
1
Votes

Web 2.0 | JQuery AJAX with ASP.Net MVC

published 191 days, 18 hours, 34 minutes ago posted by farooqkaiserfarooqkaiser 196 days, 1 hour, 33 minutes ago
Monday, August 31, 2009 11:34:25 AM GMT Thursday, August 27, 2009 4:35:16 AM GMT
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 an HTTP GET request.getJSON() - Load JSON data using an HTTP GET request.getScript() - Loads, and executes, a local JavaScript file using an HTTP GET request.post() - Loads HTML by performing an HTTP post request. In this article, I w... (more)
Category: Technology | Clicked: 0 | Comment | | Source: fairnet.com
Tags: ajax, ASP.NET MVC, C#, jQuery, WebService
1
Votes

Web 2.0 | Displaying Jquery Progress using ASP.NET MVC with Ajax

published 191 days, 18 hours, 34 minutes ago posted by farooqkaiserfarooqkaiser 198 days, 55 minutes ago
Monday, August 31, 2009 11:34:25 AM GMT Tuesday, August 25, 2009 5:13:12 AM GMT
JQuery is a lightweight JavaScript library and can be downloaded from http://www.jquery.com. The jQuery library is also included in the Scripts folder of the Visual Studio ASP.NET MVC template. To reference the Jquery script library, add the following markup at the end of the head element in Site.Master: You can increase the performance by replacing above Script with google AJAX Libraries. Google AJAX Libraries can be found here http://code.google.com/apis/ajaxlibs/ Now, i will modify my pre... (more)
Category: Technology | Clicked: 0 | Comment | | Source: fairnet.com
Tags: ajax, ASP.NET MVC, C#, jQuery
1
Votes

Web 2.0 | Building currency convertor using ASP.NET MVC with Ajax

published 192 days, 17 hours, 16 minutes ago posted by farooqkaiserfarooqkaiser 202 days, 50 minutes ago
Sunday, August 30, 2009 12:51:51 PM GMT Friday, August 21, 2009 5:17:47 AM GMT
ASP.NET AJAX enables a Web application to retrieve data from the server asynchronously and to refresh parts of the existing page. This improves the user experience by making the Web application more responsive and you to create amazing Web 2.0 applications to delight your users. In this article, I will show you how to build an AJAX-enabled ASP.NET MVC application. To create a new MVC project, seeASP.net MVC application structure. I will consume a currency convertor web service which is freely available a... (more)
Category: Technology | Clicked: 3 | Comment | | Source: www.fairnet.com
Tags: ASP .NET MVC, C#
1
Votes

Web 2.0 | Form validation with ASP.NET MVC using IErrorDataInfo Interface

published 200 days, 12 hours, 4 minutes ago posted by farooqkaiserfarooqkaiser 209 days, 15 hours, 19 minutes ago
Saturday, August 22, 2009 6:04:21 PM GMT Thursday, August 13, 2009 2:48:51 PM GMT
As I already shown in my previous article Form validation with ASP.NET MVC. In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IErrorDataInfo interface.public interface IDataErrorInfo{    // Properties    string Error { get; }    string this[string columnName] { get; }} We will modifylast articlethat will implementIErrorDataInfo Interface. To implement the IDataErrorInfo interface, we must create a partial class.... (more)
Category: Technology | Clicked: 2 | Comment | | Source: www.fairnet.com
Tags: ASP.NET MVC, C#
1
Votes

Web 2.0 | Entity Framework with ASP.NET MVC

published 202 days, 12 hours, 30 minutes ago posted by farooqkaiserfarooqkaiser 211 days, 14 hours, 1 minute ago
Thursday, August 20, 2009 5:38:10 PM GMT Tuesday, August 11, 2009 4:07:15 PM GMT
In this article, I will explore entity framework with ASP.NET MVC. We will modify  Form validation sample that will access data layer using entity framework. We will create the following table in local database using SQL express. CREATETABLE [dbo].[tblComment](             [CommentID] [int] IDENTITY(1,1)NOTNULL,             [Name] nvarcharNULL,             [Email] nvarcharNULL,             [Comment] nvarcharNULL) Now, Right click on the Models directory and select add new item... (more)
Category: Technology | Clicked: 1 | Comment | | Source: www.fairnet.com
Tags: ASP .NET MVC, C#, entity-framework
1
Votes

Web 2.0 | Thinking to build iphone application

published 206 days, 3 hours, 15 minutes ago posted by farooqkaiserfarooqkaiser 215 days, 16 hours, 10 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 07, 2009 1:58:24 PM GMT
Before you can start writing application for iPhone, you'll need the following things.  You'll need to sign up to become a registered iPhone developer at http://developer.apple.com/iphone/. that will allow you to download the iPhone SDK.  The free SDK also includes a simulator that will allow you to run most iPhone programs on your Mac.  You should be familiar with Objective-C language, If you have not programmed in Objective-C before, here are a few resources to help you get started. http://develope... (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: Apple, iphone
1
Votes

Web 2.0 | iphone Hello World in Objective C

published 206 days, 3 hours, 15 minutes ago posted by farooqkaiserfarooqkaiser 215 days, 16 hours, 10 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 07, 2009 1:57:46 PM GMT
As i have mentioned in my previouse article that All iPhone development is done in objective-c. Today i will start with a simple program using command line. $ cat helloworld.h 1- #import (more)
Category: Technology | Clicked: 2 | Comment | | Source: www.fairnet.com
Tags: Apple, iphone
1
Votes

Web 2.0 | Exploring ASP.NET MVC

published 206 days, 3 hours, 15 minutes ago posted by farooqkaiserfarooqkaiser 215 days, 16 hours, 12 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 07, 2009 1:56:05 PM GMT
The ASP.NET MVC is a Model-view controller framework which Microsoft added to ASP.NET. It allows software developers to build a Web application as a composition of three roles: Model, View and Controller. The framework was designed to make it easier to implement software design principles and patterns when building web applications. ModelAn MVC model contains all of an application's logic that is not contained in a View or Controller. The model includes all of an application's validation, business, an... (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | Understanding the MVC Application Execution Process

published 206 days, 3 hours, 15 minutes ago posted by farooqkaiserfarooqkaiser 215 days, 16 hours, 13 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 07, 2009 1:54:58 PM GMT
The following are the stages of execution for an MVC Web project. In the Global.asax file, Route objects are added to the RouteTable object.The UrlRoutingModule module uses the first matching Route object in the RouteTablecollection  to create the RouteData object, which it then uses to create a RequestContext(IHttpContext) object.The MvcRouteHandler creates an instance of the MvcHandler and passes it the RequestContext instance. The MvcHandler object uses the RequestContext instance to identify ... (more)
Category: Technology | Clicked: 0 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
1
Votes

Web 2.0 | ASP.NET MVC application structure

published 206 days, 3 hours, 15 minutes ago posted by farooqkaiserfarooqkaiser 215 days, 16 hours, 14 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 07, 2009 1:54:15 PM GMT
In this tutorial we will explore ASP.net MVC application structure. When we create an ASP.NET MVC Web application project, MVC components are separated based on the project folders. Follow the these steps. Launch Visual Studio 2008 by selecting All Programs Microsoft Visual Studio 2008 from the Start menu.  Select File  New  Project... from the main menu to open the New Project dialog. Then select the "Web" node on the left-hand side of the dialog and then choose the ASP.NET MVC Web Application" pro... (more)
Category: Technology | Clicked: 4 | Comment | | Source: www.fairnet.com
Tags: .NET 3.5, ASP.NET MVC
Previous 1 2 Next