Click here to Skip to main content

Articles by merlin981 (Article: 1, Technical Blogs: 18)

Article: 1, Technical Blogs: 18

RSS Feed

Average article rating: 2.76

Miscellaneous
General
Posted: 16 Aug 2007   Updated: 16 Aug 2007   Views: 48,210   Rating: 2.76/5    Votes: 14   Popularity: 3.17
Licence: Not specified      Bookmarked: 21   Downloaded: 918
Using Themer To Skin Forms and Controls

Average blogs rating: 3.37

Files and Folders
Configuration Files
Posted: 20 Jul 2009   Updated: 20 Jul 2009   Views: 22,657   Rating: 3.75/5    Votes: 3   Popularity: 1.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 0
I know the title is a bit long, but it descriptive of the problem. Recently I had need to retrieve a listing of files and folders given a root path. All worked well, until I tested on Vista and Windows 7 machines. When trying to browse the "Users" folder, I kept getting access denied errors and no
Database
SQL Server
Posted: 12 May 2009   Updated: 12 May 2009   Views: 18,398   Rating: 3.15/5    Votes: 4   Popularity: 1.81
Licence: Not specified      Bookmarked: 19   Downloaded: 0
In this article, I will cover how to access data in SQL Server Compact databases (.sdf files) using the new development technologies such as LINQ.
SQL Reporting Services
General
Posted: 20 Jul 2009   Updated: 20 Jul 2009   Views: 16,595   Rating: 2.60/5    Votes: 2   Popularity: 0.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
I was recently asked to helpwith a LINQ To SQL query where the resulting T-SQL query was tohave CASE statements. Having CASE statements in T-SQL queries is acommon scenario but how do we it in LINQ To SQL? The solution is simple and straight-forward. As you will see below, using C#'s "Immed
Posted: 1 Oct 2009   Updated: 1 Oct 2009   Views: 9,484   Rating: 3.80/5    Votes: 3   Popularity: 1.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
There are many little tips and tricks for LINQ to SQL which can make our lives easier, or improve the speed and efficiency of the generated code. Below are several tips and tricks I have found during my time as a LINQ developer.*Note: Some of these tips are for querying directly from the table.
Posted: 5 Oct 2009   Updated: 5 Oct 2009   Views: 15,734   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
I was recently asked to helpwith a LINQ To SQL query where the resulting T-SQL query was tohave CASE statements. Having CASE statements in T-SQL queries is acommon scenario but how do we it in LINQ To SQL? The solution is simple and straight-forward. As you will see below, using C#'s "I
C#
General
Posted: 2 Apr 2009   Updated: 2 Apr 2009   Views: 18,793   Rating: 4.50/5    Votes: 3   Popularity: 2.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 1
Twitter feeds are provided in RSS XML format. This makes it very easy for us to parse out the information we want from a feed using LINQ to XML. For example, if we want to grab the message and date of each Twitter entry, we could use something like this: public class Twitter {     public str
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 25,598   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
The&lsquo;GroupBy&rsquo; feature in LINQ is amazing and very powerful. When you use a&lsquo;GroupBy&rsquo; in LINQ, internally it calls an extension method whichreturns a sequence of System.Collections.Generic.IEnumerable)>)>)>)TheGroupBy<(Of <(TSource, T
LINQ
General
Posted: 19 Apr 2009   Updated: 19 Apr 2009   Views: 230,443   Rating: 3.92/5    Votes: 10   Popularity: 3.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
How to use the LINQ GroupBy feature.
Posted: 19 Apr 2009   Updated: 19 Apr 2009   Views: 14,677   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Twitter feeds are provided in RSS XML format. This makes it very easy for us to parse out the information we want from a feed using LINQ to XML.
Posted: 23 Apr 2009   Updated: 23 Apr 2009   Views: 11,922   Rating: 4.20/5    Votes: 3   Popularity: 2.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
A simple example to show you how to GroupBy Multiple Values using LINQ
Parallel Programming
General
Posted: 2 Oct 2009   Updated: 2 Oct 2009   Views: 9,046   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
I've been doing a lot of mult-threading work, recently, using the standard Thead class, the Worker Queue, and the new PLINQ (Parallel LINQ). The problem with most of the built-in generic collections (Queue, List, Dictionary, etc), is that they are not thread safe.
Debug Tips
Tips
Posted: 1 Sep 2009   Updated: 1 Sep 2009   Views: 7,458   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
There are many little tips and tricks for LINQ to SQL which can make our lives easier, or improve the speed and efficiency of the generated code. Below are several tips and tricks I have found during my time as a LINQ developer. *Note: Some of these tips are for querying directly from the table.
Uncategorised Technical Blogs
General
Posted: 1 May 2009   Updated: 1 May 2009   Views: 16,432   Rating: 1.00/5    Votes: 3   Popularity: 0.48
Licence: Not specified      Bookmarked: 2   Downloaded: 0
Sometimes you have a list, and you need to return a single element from the list. There are several ways to get the element to return. Below are two ways using LINQ with Lambda expressions.Consider the following class: 1: public class Person 2: { 3: public strin
Posted: 14 May 2009   Updated: 14 May 2009   Views: 11,062   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: Not specified      Bookmarked: 2   Downloaded: 0
In thisarticle, I will cover how to access data in SQL Server Compactdatabases (.sdf file) using new development technologies such as LINQ.LINQ is the new initiative of Microsoft to support Object-RelationalMapping concepts and design patterns. LINQ provides a full type-safetyand compile-time
Posted: 3 Jun 2009   Updated: 3 Jun 2009   Views: 18,582   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: Not specified      Bookmarked: 2   Downloaded: 0
Often we have to get a count of duplicate items in a list. An easy way to do this is to group the list on the property we want to count, then use LINQ's GroupBy's Count feature. Below is a quick example using an employee list.  private static void Main() {     List empLi
Posted: 3 Jun 2009   Updated: 3 Jun 2009   Views: 9,848   Rating: 1.20/5    Votes: 2   Popularity: 0.36
Licence: Not specified      Bookmarked: 1   Downloaded: 0
Sometimes you have a list, and you need to return a single element from the list. There are several ways to get the element to return. Below are two ways using LINQ with Lambda expressions.Consider the following class: 1: public class Person 2: { 3: public strin
Posted: 3 Jun 2009   Updated: 3 Jun 2009   Views: 12,236   Rating: 1.00/5    Votes: 3   Popularity: 0.48
Licence: Not specified      Bookmarked: 2   Downloaded: 0
Here's a simple example to show you how to GroupBy Multiple Valuesusing LINQ. In this example, I am grouping by Age and Sex to find thecount of people who have the same age and sex.C#public partial class LINQ : System.Web.UI.Page{    protected void Page_Load(object sender, EventAr
Posted: 11 Aug 2009   Updated: 11 Aug 2009   Views: 29,101   Rating: 4.86/5    Votes: 9   Popularity: 4.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 0
I've been doing a lot of mult-threading work, recently, using the standard Thead class, the Worker Queue, and the new PLINQ (Parallel LINQ). The problem with most of the built-in generic collections (Queue, List, Dictionary, etc), is that they are not thread safe.I created a library of
No tips have been posted.
No reference articles have been posted.

merlin981
Software Developer (Senior)
United States United States
Winner - Best Mobile App - AT&T Developer Summit, Las Vegas, 2013
 
My personal resume can be found at: http://www.philippiercedeveloper.com
 
My game portfolio can be found at: http://www.rocketgamesmobile.com
 
About Philip Pierce:
 
I am a software developer with twenty years experience in game development, mobile, web, desktop, server, and database. My extensive background highlights an expertise in rapid application development using the latest Microsoft, Mobile, and Game Development technologies, along with the ability to create AI for games and business software, redesign existing software, develop multi-threaded software, and create client/server applications.


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid