Click here to Skip to main content

Articles by Dr. Song Li (Articles: 44, Tip/Tricks: 2)

Articles: 44, Tip/Tricks: 2

RSS Feed

Average article rating: 4.68

Ajax

Working on JSON objects in jQuery and MVC
Posted: 12 Nov 2010   Updated: 24 Nov 2010   Views: 69,601   Rating: 4.92/5    Votes: 14   Popularity: 5.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 74   Downloaded: 2,386
This article uses a simple example to answer some common questions when working on JSON objects in jQuery and MVC.
Load Clean HTML Fragments using jQuery and MVC
Posted: 3 Dec 2010   Updated: 3 Dec 2010   Views: 18,346   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 322
This article presents a simple method to load clean HTML fragments from the web servers using jQuery and MVC.
An Example to Use jQuery Global AJAX Event Handlers
Posted: 10 May 2012   Updated: 2 Apr 2013   Views: 18,752   Rating: 4.40/5    Votes: 4   Popularity: 2.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 785
This article presents an example to use jQuery global AJAX event handlers.
A Watermarked Auto-complete jQuery Plugin
Posted: 17 Aug 2011   Updated: 20 Aug 2011   Views: 17,362   Rating: 4.92/5    Votes: 18   Popularity: 6.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 1,316
This article presents a watermarked auto-complete jQuery plugin
A Working Example of Five Different Ways to Make jQuery AJAX Calls
Posted: 1 Feb 2010   Updated: 2 Feb 2010   Views: 35,290   Rating: 4.79/5    Votes: 17   Popularity: 5.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 94   Downloaded: 911
This article introduces a working example of five different ways to make AJAX calls using jQuery.
Dynamic Generation of Tabs to Host IFrames using jQuery and Json in ASP.NET MVC
Posted: 24 Sep 2010   Updated: 1 Oct 2010   Views: 17,407   Rating: 4.80/5    Votes: 5   Popularity: 3.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 979
This article introduces a method to dynamically generate tabs to host IFrames using jQuery and Json in ASP.NET MVC.
Consuming WCF REST Services Using jQuery AJAX Calls
Posted: 22 Nov 2010   Updated: 25 Nov 2010   Views: 111,048   Rating: 4.92/5    Votes: 42   Popularity: 7.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 92   Downloaded: 5,587
This article presents a method to consume cross-domain WCF REST Services using jQuery AJAX calls, with an example.
An Example of Using the jQuery Validation Plug-in
Posted: 18 Jun 2011   Updated: 23 Jun 2011   Views: 176,503   Rating: 4.73/5    Votes: 30   Popularity: 6.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 58   Downloaded: 9,459
This article presents an example to use jQuery validation plugin.
Data Validation Using Annotations for jQuery AJAX Calls in MVC Applications
Posted: 26 Jun 2011   Updated: 4 Jul 2011   Views: 23,716   Rating: 4.73/5    Votes: 8   Popularity: 4.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 853
This article presents an example of how to use data annotations to validate data received from jQuery AJAX calls and how to send validation result as well as HTML content from a partial view to the client in a JSON object in MVC.
An Example to Use jQuery Grid Plugin in MVC - Part 1
Posted: 29 Jul 2011   Updated: 1 Aug 2011   Views: 76,734   Rating: 4.71/5    Votes: 14   Popularity: 5.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 6,167
This article presents a simple example on how to use jQuery Grid Plugin in MVC.
An Example to Use HTML Rich Text Editor - Cleditor
Posted: 20 Sep 2011   Updated: 20 Sep 2011   Views: 23,592   Rating: 4.78/5    Votes: 10   Popularity: 4.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 2,463
This simple article presents a very simple example to use the "Cleditor" jQuery plugin for HTML rich text editing.
An Example to Use jQuery Template
Posted: 9 Mar 2013   Updated: 4 Apr 2013   Views: 17,096   Rating: 4.97/5    Votes: 14   Popularity: 5.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 483
This article presents a working example of how to use the jQuery template.

ASP.NET

A Simple Tutorial on Developing ASP.NET Applications in MVC Pattern
Posted: 6 May 2010   Updated: 13 May 2010   Views: 130,670   Rating: 4.80/5    Votes: 26   Popularity: 6.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 102   Downloaded: 8,278
This article gives a simple tutorial on developing ASP.NET applications in MVC pattern.
Dependency Injection with StructureMap in ASP.NET MVC
Posted: 3 Jan 2011   Updated: 3 Jan 2011   Views: 40,645   Rating: 4.33/5    Votes: 7   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 1,092
This article presents a simple example on dependency injection with StructureMap in ASP.NET MVC.
An Example ASP.NET MVC Web Project to Upload and Download Files
Posted: 4 May 2010   Updated: 13 May 2010   Views: 80,051   Rating: 4.33/5    Votes: 7   Popularity: 3.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 11,561
This article introduces an example ASP.NET MVC web project to upload and download files.
Load Base64 Images using jQuery and MVC
Posted: 26 May 2011   Updated: 26 May 2011   Views: 22,630   Rating: 4.88/5    Votes: 8   Popularity: 4.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 749
This small article presents an example to load Base64 images using jQuery and MVC.

Charts, Graphs and Images

Using ASP.NET Charting with Image Maps in MVC
Posted: 13 Dec 2011   Updated: 13 Dec 2011   Views: 15,540   Rating: 4.70/5    Votes: 6   Popularity: 3.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 1,137
This article presents an example to create interactive charts on browsers using the "ASP.NET charting" tool with Image Maps. It also demonstrates how to add the same charts in PDF documents by re-using the same code.
Upload and Download Files with SQL Server in ASP.NET
Posted: 1 Jan 2012   Updated: 1 Jan 2012   Views: 70,686   Rating: 4.94/5    Votes: 37   Popularity: 7.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 95   Downloaded: 9,962
This article presents an example to upload and download files with SQL Server in ASP.NET.

Silverlight

Data and Command Bindings for Silverlight MVVM Applications
Posted: 15 Feb 2011   Updated: 15 Feb 2011   Views: 39,548   Rating: 4.94/5    Votes: 8   Popularity: 4.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 2,311
This article summarizes two utility classes used for data and command bindings in Silverlight MVVM applications and demonstrates how to use the two classes with a running example.
Binding Events to Methods in the Silverlight MVVM View Models
Posted: 24 Feb 2011   Updated: 24 Feb 2011   Views: 37,259   Rating: 4.27/5    Votes: 8   Popularity: 3.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 848
This article introduces a simple method to bind UI events to the corresponding methods in the MVVM view models in Silverlight applications.
A Simple Flexible Silverlight Splash Screen
Posted: 13 Dec 2009   Updated: 15 Dec 2009   Views: 22,064   Rating: 4.08/5    Votes: 7   Popularity: 3.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 729
This article shows a simple and flexible way of creating a Silverlight splash screen.
Configure Silverlight 3 Applications using the Web.config File from ASP.NET
Posted: 5 Jan 2010   Updated: 6 Jan 2010   Views: 50,888   Rating: 4.43/5    Votes: 18   Popularity: 5.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 731
This article introduces a method to configure Silverlight 3 applications using the Web.config file from ASP.NET.
Concurrent Development of Silverlight and WCF Applications in the Same Visual Studio Solution
Posted: 25 Jan 2010   Updated: 27 Jan 2010   Views: 13,076   Rating: 4.71/5    Votes: 6   Popularity: 3.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 302
This article introduces a way of developing Silverlight and WCF applications in the same Visual Studio solution.
A More Flexible and Secure Method to Configure Silverlight Applications Using the Web.config File from ASP.NET
Posted: 2 Feb 2010   Updated: 3 Feb 2010   Views: 10,744   Rating: 4.18/5    Votes: 7   Popularity: 3.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 114
This article introduces a more flexible and secure method to configure Silverlight applications using the Web.config file from the ASP.NET host application.
Download "XAP" Packages on Demand in Silverlight
Posted: 20 Sep 2010   Updated: 8 Oct 2010   Views: 18,443   Rating: 4.60/5    Votes: 5   Popularity: 3.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 842
This article introduces a method to download and use "XAP" packages on demand in Silverlight.

Azure

Host WCF Services in an Azure Worker Role
Posted: 29 Apr 2011   Updated: 29 Apr 2011   Views: 28,688   Rating: 4.88/5    Votes: 7   Popularity: 4.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 925
This article presents an example to host WCF services in an Azure Worker Role.

Office Development

Export Tabular Data in CSV and Excel Formats through the Web
Posted: 3 Oct 2011   Updated: 3 Oct 2011   Views: 13,590   Rating: 4.50/5    Votes: 5   Popularity: 3.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 973
This article presents an example to export tabular data through the web in CSV as well as Excel formats.
Export Tabular Data in PDF Format through the Web
Posted: 13 Oct 2011   Updated: 13 Oct 2011   Views: 11,020   Rating: 4.33/5    Votes: 8   Popularity: 3.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 687
This article presents an example to export tabular data in PDF format through the web.

Database

An Experimental Performance Comparison on the Methods to Pass Structured Data to SQL Server Stored Procedures from ADO.NET
Posted: 23 Dec 2009   Updated: 23 Dec 2009   Views: 16,380   Rating: 4.89/5    Votes: 17   Popularity: 6.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 954
This article makes an experimental comparison on the performance of the different methods to pass structured data to SQL Server Stored Procedure parameters from ADO.NET.
Transaction Isolation in ADO.NET Entity Framework
Posted: 15 May 2011   Updated: 15 May 2011   Views: 19,240   Rating: 4.33/5    Votes: 5   Popularity: 3.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 532
This article presents an example on how to control the transaction isolation level in ADO.NET Entity Framework.
A Comparison on Data Access Methods - Part 1
Posted: 24 Mar 2013   Updated: 2 Apr 2013   Views: 7,764   Rating: 4.94/5    Votes: 10   Popularity: 4.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 469
This is the part 1 of a comparison on Data Access methods in the .NET environment.

SQL

Some Interesting T-SQL Scripts Regarding Two Transactions Related to Identity Fields and Table Variables
Posted: 21 Apr 2010   Updated: 26 Apr 2010   Views: 8,430   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
This article introduces some interesting T-SQL scripts regarding two transactions related to the identity fields and table variables
Load and Execute SSIS Packages in Microsoft Windows
Posted: 21 Mar 2010   Updated: 26 Mar 2010   Views: 33,724   Rating: 4.52/5    Votes: 15   Popularity: 5.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 1,483
This article introduces a method to load and execute SSIS packages in Microsoft Windows with a demo WPF application.

XML

Parse XML Documents by XMLDocument and XDocument
Posted: 31 Mar 2011   Updated: 5 Apr 2011   Views: 95,854   Rating: 4.53/5    Votes: 14   Popularity: 5.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   Downloaded: 2,851
This article demonstrates how to parse XML documents using "XMLDocument" as well as "XDocument".

Cross Platform

Run Linux in Microsoft Windows in a VirtualBox
Posted: 11 Feb 2012   Updated: 11 Feb 2012   Views: 16,548   Rating: 4.60/5    Votes: 12   Popularity: 4.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
This article is a study note on installing Linux in Microsoft Windows in a VirtualBox. I hope that it may be of some help to those who are interested in this topic.

LINQ

Multiple Field Sorting by Field Names Using Linq
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 8,152   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 183
This article presents a small utility class to sort an "IEnumerable" of objects on multiple fields by the field names provided at the run time using Linq. It also presents a WPF example on how to use this utility.

Windows Communication Foundation

How to Call WCF Services Synchronously and Asynchronously
Posted: 3 Jul 2010   Updated: 16 Jul 2010   Views: 95,735   Rating: 4.91/5    Votes: 34   Popularity: 7.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 5,260
This article is an example to show you how to call WCF services synchronously as well as asynchronously.
Maintain HTTP Session State in WCF REST Services with HttpWebRequest
Posted: 2 Feb 2012   Updated: 2 Apr 2013   Views: 24,078   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 1,010
This article demonstrates how to maintain HTTP Session State in WCF REST Services when consumed from desktop applications, using the HttpWebRequest object.
Send Cookies When Making WCF Service Calls
Posted: 3 May 2011   Updated: 3 May 2011   Views: 19,475   Rating: 4.87/5    Votes: 8   Popularity: 4.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 639
This article presents an example on how to send cookies when making WCF service calls.
RESTful Made Simple - A Generic REST Service Client Library
Posted: 19 Feb 2012   Updated: 20 Feb 2012   Views: 18,365   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 1,152
This article presents a generic REST client library and an example on how to use it.

Windows Presentation Foundation

A Simple WPF XML Document Viewer Control
Posted: 6 Apr 2010   Updated: 7 Apr 2010   Views: 70,350   Rating: 4.97/5    Votes: 23   Popularity: 6.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 3,823
This article introduces a simple XML document viewer control for WPF applications to display XML documents in a nicely formatted way.
A Practical Quick-start Tutorial on MVVM in WPF
Posted: 15 May 2010   Updated: 21 May 2010   Views: 192,075   Rating: 4.70/5    Votes: 48   Popularity: 7.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 190   Downloaded: 9,813
This article gives a practical quick-start tutorial on MVVM in WPF for application developers.

Cryptography & Security

A .NET Encryption Library
Posted: 17 Jun 2010   Updated: 26 Jun 2010   Views: 14,697   Rating: 4.75/5    Votes: 12   Popularity: 5.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 936
This article introduces a .NET encryption library and demonstrates how to use the library with a WPF application.

Testing and QA

The Unit Test of Silverlight Applications with Asynchronous Service Callbacks
Posted: 18 Feb 2011   Updated: 18 Feb 2011   Views: 17,842   Rating: 4.88/5    Votes: 6   Popularity: 3.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 556
This article presents an example on unit testing of Silverlight applications with asynchronous service callbacks.
No blogs have been submitted.

Average tips rating: 3.00

ASP.NET

How to Log Javascript Errors in C# [Tip/Trick]
Posted: 3 Jan 2012   Updated: 3 Jan 2012   Views: 2,758   Rating: 2.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Thanks! But if you use jQuery, it may save you a lot of typing.

HTML / CSS

A Quick Note on "Chosen" - The Simple Way to Beautify Your Dropdown Boxes [Tip/Trick]
Posted: 30 Aug 2012   Updated: 30 Aug 2012   Views: 1,835   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 49
This is a quick note on "Chosen". It is a small light weight Javascript & CSS library that you can use to beautify your drop down boxes on your web pages.

Dr. Song Li

United States United States
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.


Advertise | Privacy | Mobile
Web02 | 2.6.130617.1 | Last Updated 18 Jun 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid