<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>I Prefer Jim</title>
	<link>http://www.ipreferjim.com/site</link>
	<description>Developer James Schubert shares his code and his thoughts.</description>
	<lastBuildDate>Sat, 31 Jul 2010 16:01:32 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Bitwise operations and Flags (C#)</title>
		<description><![CDATA[I haven't written anything in a while, so I thought I would finally write about the subject of bitwise operations and the FlagsAttribute.
I mentioned this to one of the developers on my team, and he said that he somewhat understood bit operations but he had never found a reason to use them. 
Here is the [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/07/bitwise-operations-and-flags/</link>
			</item>
	<item>
		<title>Learning WCF: IIS 7 won&#8217;t start service from web project</title>
		<description><![CDATA[I'm following along with code in Learning WCF, attempting to quickly become an expert at building WCF Services from scratch.  In Chapter 1, there is a project called IISHostedService.  After making the quick modifications to the downloaded code, and running the application, IIS 7.0 (Windows 7, 64bit) doesn't serve the services, complaining about [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/06/learning-wcf-iis-7-wont-start-service-from-web-project/</link>
			</item>
	<item>
		<title>Fairly Accurate JavaScript Browser Detection</title>
		<description><![CDATA[I use jQuery for almost everything I do in JavaScript.  The only real problem is that jQuery's browser name and version detection doesn't provide exactly what I want.
For instance, if I'm using Google Chrome 6.0.427.0, I wanted a script that would say "Hey, you're using Chrome 6.0.427.0".
I found such a script online and modified [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/06/fairly-accurate-javascript-browser-detection/</link>
			</item>
	<item>
		<title>Using DataAnnotation attributes to validate Membership password</title>
		<description><![CDATA[As a follow-up to my post on DataAnnotations in ASP.NET Web Forms, I'd like to demonstrate yet another custom attribute.  Although ASP.NET offers a CreateUserWizard, if your custom membership provider is way more complicated, you will probably be better off creating a control from scratch.  If you go this route, you'll have to [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/06/using-dataannotation-attributes-to-validate-membership-password/</link>
			</item>
	<item>
		<title>JavaScript color picker</title>
		<description><![CDATA[I'm anxiously awaiting the implementation in Google Chrome for HTML5's color chooser:
&#60;input type=&#34;color&#34; /&#62;
In the meantime, I found a nice little javascript color chooser at http://jscolor.com/ written by Jan Odvárko.
The usage is very simple: add the javascript and set the input's class to "color".  I like this flat-style color chooser as opposed to a [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/05/javascript-color-picker/</link>
			</item>
	<item>
		<title>System.ComponentModel.DataAnnotations for ASP.NET Web Forms</title>
		<description><![CDATA[Although I'm primarily an ASP.NET Web Forms developer, I regularly dabble in new and interesting technologies.  I've toyed with other Microsoft technologies such as ASP.NET MVC and Dynamic Data web sites.
ASP.NET MVC offers an interesting mechanism for validating view models called DataAnnotations.   Examples can be seen here and here.
Some of the more useful attributes [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/05/system-componentmodel-dataannotations-for-asp-net-web-forms/</link>
			</item>
	<item>
		<title>Font-Face generator</title>
		<description><![CDATA[CSS3 allows you to create custom font-faces so a user will see fonts exactly as you'd like them to be seen, without forcing the developer/designer to export all custom fonts as graphics.
Font Squirrel has an excellent utility that will convert your font files to the common formats and generate the stylesheet required to use these [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/05/font-face-generator/</link>
			</item>
	<item>
		<title>Finding a user&#8217;s local time from UTC offset</title>
		<description><![CDATA[I answered a question over at StackOverflow, and I really liked the answer, so I thought I would share this nifty extension method:


        /// &#60;summary&#62;
        /// Convert a given DateTime object to a user's local time,
      [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/05/finding-a-users-local-time-from-utc-offset/</link>
			</item>
	<item>
		<title>NHibernate.Criterion Extensions workaround</title>
		<description><![CDATA[I've been working with Fluent NHibernate for the past month or so, and I realized while writing an NHibernate query that the NHibernate Criterion's Restrictions class isn't very refactor-friendly.  The refactorability of Fluent NHibernate is ultimately why we've decided to use it.  It does take a little longer to set up than some [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/05/nhibernate-criterion-extensions-workaround/</link>
			</item>
	<item>
		<title>CopyCat Rails&#8217; Time Extensions</title>
		<description><![CDATA[I've become a fan of Ruby's simple syntax.  My favorite thing is the ActiveSupport's Numeric Time Extensions. I'm starting a library of useful extensions, and I'm going to be adding a number of shortcuts to mock these extensions.
For those of you that don't want to follow the link, check out the syntax:

  # [...]]]></description>
		<link>http://www.ipreferjim.com/site/2010/05/copycat-activesupport-time-extensions/</link>
			</item>
</channel>
</rss>
