Tutorial: ASP.NET (C#) WCF WebHttp service with jQuery: Part 1 - Loan object

  • June 22, 2010
  • James Skemp
See the table of contents for more information. As already noted in the table of contents, the end goal will to have a service that returns enough information to be able to generate an amortization schedule for a loan. I'm not in financial services, and haven't been very good in math since some point in high school, but this seems to work fairly well. The first thing we're going to do is generate an assembly that we'll then use in the WCF WebHttp service.

Read More

Tutorial: ASP.NET (C#) WCF WebHttp service with jQuery: Table of Contents

  • June 21, 2010
  • James Skemp
A while ago (a year and a quarter) I created an amortization schedule generator in ASP.NET, as an attempt to help me determine when I could expect to have a loan paid off, depending upon how much money I threw at it. For better or worse, some of the practices I put in place aren't the best, and either way I've been meaning to tweak the interface so that I could do various comparisons.

Read More

Vehicle gas DTD .NET objects and XML parsing with LINQ

  • June 10, 2010
  • James Skemp
The code contained below is a rough draft, and will eventually be moved into an assembly, and the code posted. At some point in 2007 I started keeping track of my gas mileage in an XML file, with a custom DTD for validation (and intellisense in oXygen). I present below the code necessary to create an rough object from the XML, and the LINQ to parse it out. C# objects public class Vehicle { public int Id { get; set; } public String Make { get; set; } public String Model { get; set; } public int Year { get; set; } public IEnumerable Fillups { get; set; } } public class Fillup { public int Id { get; set; } public DateTime Date { get; set; } public int MilesTotal { get; set; } public Decimal MilesDriven { get; set; } public Decimal Gallons { get; set; } public Decimal CostPerGallon { get; set; } public Decimal CostTotal { get; set; } public String Notes { get; set; } }</code></pre> LINQ to XML XDocument vehicleGasXml = XDocument.

Read More

Music Recommendations Please! version 0.5 beta

  • May 28, 2010
  • James Skemp
While not necessarily a step forward from version 0.4.5 of Music Recommendations Please!, version 0.5 is nonetheless a positive step. Consider this an idea-based release. As such, this application is in no way final (but might be more complete after this long weekend). Download Music Recommendations Please! version 0.5, beta. You can see a general idea of where I'd like to end up by reading my music application idea. .NET Framework 4 is required for this application.

Read More

Basic .NET (C#) Traceroute library

  • May 9, 2010
  • James Skemp
Spending the day researching all things DNS, I eventually came upon Jim Scott's post on C# Traceroute using .net framework. After a bit of tweaking, I've got something that I like a bit more, because I really want to know what the IP address means. The code for the assembly and console application are included below. Written against .NET Framework 4 (in Visual Studio 2010), but if you change the String.

Read More

iTunes Playlists to Xml - version 1.6 released

  • May 8, 2010
  • James Skemp
Version 1.6 of iTunes Playlists to Xml is now available for download. Download iTunes Playlists to Xml 1.6. Installing and more information If you're new to iTunes Playlists to Xml, I've created a 'product page' for iTunes Playlists to Xml with all the information needed to get started. Upgrading To upgrade from any version of 1.4 or 1.5 you need to replace the following files with those in the above archive:

Read More

Review: Beginning ASP.NET 4 In C# and VB

  • March 28, 2010
  • James Skemp
The following book review is for Imar Spaanjaars' Beginning ASP.NET 4 in C# and VB. While I've already read Beginning ASP.NET 3.5 by Imar Spaanjaars and moved rather far beyond it, when I had the opportunity to recieve his new book on ASP.NET 4 for review, I took it. Would I still feel strongly about recommending his work as *the* #1 choice for those new (or relatively new) to ASP.

Read More

iTunes Playlists to Xml - version 1.5.3 released

  • January 10, 2010
  • James Skemp
This application has since been updated. Read about the current version of iTunes Playlists to Xml. Version 1.5.3 of iTunes Playlists to Xml is now available for download. Download iTunes Playlists to Xml 1.5.3. Installing and more information If you're new to iTunes Playlists to Xml, I've created a 'product page' for iTunes Playlists to Xml with all the information needed to get started. Upgrading To upgrade from any version of 1.

Read More

iTunes Playlists to Xml - version 1.5.1 released

  • November 14, 2009
  • James Skemp
This application has since been updated. Read about the current version of iTunes Playlists to Xml. Version 1.5.2.1 is available for download, which fixes an issue with version 1.5.2. Thanks to Pierre for bringing this to my attention. Version 1.5.2 is available for download, which adds the -output argument. Version 1.5.1 of iTunes Playlists to Xml is now available for download. Download iTunes Playlists to Xml 1.5.1. Installing and more information If you're new to iTunes Playlists to Xml, I've created a 'product page' for iTunes Playlists to Xml with all the information needed to get started.

Read More

iTunes Playlists to Xml - version 1.5 released

  • November 13, 2009
  • James Skemp
This application has since been updated. Read about the current version of iTunes Playlists to Xml. Version 1.5 of iTunes Playlists to Xml is now available for download. Download iTunes Playlists to Xml 1.5. Installing and more information If you're new to iTunes Playlists to Xml, I've created a 'product page' for iTunes Playlists to Xml with all the information needed to get started. Upgrading To upgrade from any version of 1.

Read More