Return List Item Collection from XML Feed in C#

This example shows how to return a list of items from a feed as a C# collection. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using System.Net; namespace FeedInfo { public class FeedItem { public string Item1{ get; set;...

Read Full Post (357) and Comment (1)


Parsing DateTime values in C#

Just a post to outline a few extra ways of parsing dates in C#. These are useful for internationalised apps. try { //Tell the parser to expect a en-GB (culture) date DateTime myDate = DateTime.Parse("20/02/2010", new CultureInfo("en-GB")); //Tell the parser to expect a date with a...

Read Full Post (490) and Comment (0)


Fixing “Unable to read data from the transport connection” error when transferring data to web service from WinMo via Orange UK

This post doesn't have a particularly catchy title and a might be tiny bit dull for non-techies, but I just wanted to share a problem and solution that cost me many hours to diagnose and resolve. Hopefully this will help somebody experiencing the same problem in the future. Let’s start from the...

Read Full Post (1255) and Comment (0)


Friendly URL Rewriting in ASP.NET

This article demonstrates a how to create friendly URLs for user content in ASP.net applications. The examples below are in C#. Convert them to VB if that's your language of choice. Background Sites like Twitter provide users with a direct link to their content in the format of " http://twitter...

Read Full Post (3421) and Comment (5)