My first Silverlight Web application

  • July 19, 2010
  • James Skemp
The more I do with Microsoft technologies the hard it becomes for me to want to move outside of them. With the .NET Framework and Visual Studio 2010, which is the best development tool I think I've ever used, it's easy to get sucked in. Since I've wanted to experiment with it for a while, and since I needed to do some kind of development after slacking off this weekend, I looked into creating a simple Silverlight application that would use the same Web service I created late last month.

Read More

Setting up a task with SyncToy under a different account?

  • July 17, 2010
  • James Skemp
Every time I setup SyncToy I always, always, forget to setup the folder pairs correctly. SyncToy uses per-user folder pairs, which means that if you'll be running a scheduled task using a different user, you'll want to login as that user, setup the folder pairs in SyncToy, run the sync via SyncToy's interface, and then setup the task. If you don't do this you'll just end up with a 0x1 return code.

Read More

Function to Parse a Microsoft JSON DateTime returned from a WCF service in JavaScript

  • July 4, 2010
  • James Skemp
When a DateTime is converted to JSON in a WCF Web service (WebHttp in this particular case) it's semi-difficult to convert that to something we can use when we return the date to a client via JavaScript. For example: "LastPlayed":"\/Date(1278187099000-0400)\/" After almost an hour of research and goofing around with this, I've come up with the following, which seems to work just fine on Internet Explorer 8, Firefox 3.6, and Chrome 5.

Read More

Referring to JavaScript documentation in Visual Studio via reference

  • July 3, 2010
  • James Skemp
While I don't use Microsoft or Google's CDNs for jQuery, I do have a separate sub-domain where I serve these files from (and will eventually use a CDN, I'm sure). However, this means that in Visual Studio I miss out on the helpful documentation functionality. Based on a comment on 3 reasons why you should let Google host jQuery for you it turns out there's a fairly easy way to get Intellisense; simply include the following in your JavaScript file.

Read More

Review: HP Compaq Presario CQ60-615DX

  • June 29, 2010
  • James Skemp
On February 16 of this year I purchased a HP Compaq Presario CQ60-615DX laptop. Almost 4 and a half months later I regret nothing. At some point during my college career - either my Sophmore or Junior year, which means 2000 or 2001 - I purchased my first laptop, a Dell. I used it for a number of years, but one day it just wouldn't start back up. Ever since then I've purchased HP desktop computers, and while I've helped others purchase laptops, and have thought about buying one, the price for the machine I wanted to build just wasn't in line with what I wanted to pay.

Read More

Windows Server 2008 R2, SQL Server Express 2008 R2, and LINQPad

  • June 26, 2010
  • James Skemp
This weekend I finally installed SQL Server 2008 R2 to my Windows Server 2008 R2 machine. After a bit of back-and-forth about which version to install (since my MSDN subscription allows me to install seemingly every version), I opted to just install SQL Server Express 2008 R2. Being part of the Web Platform Installer, the entire process was extremely easy. Step 1: Start Web Platform Installer. Step 2: Select SQL Server Express 2008 R2 and SQL Server 2008 R2 Management Studio Express from under Database.

Read More

Tutorial: ASP.NET (C#) WCF WebHttp service with jQuery: Part 3 - Pulling JSON with jQuery

  • June 25, 2010
  • James Skemp
See the table of contents for more information. In this series we've started with a new loan class, that contains information about a loan, including the total amount due, how much is to be paid per payment, the interest rate, and etcetera. A method is available that will generate information about the number of payments required to pay off the loan. In the second part we created a WCF WebHttp service, or a WCF REST service, to use the class/assembly from that loan object and return XML data for GET requests.

Read More

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

  • June 24, 2010
  • James Skemp
See the table of contents for more information. In the last part we created a Loan object, that we determined we would later use to power our Web service. Ths object has a handful of properties and a method to update a list of payments to bring the loan to $0. This time we’re going to create a Web service to respond to requests from data. Requirements As this seems to be built for .

Read More

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