C#, Enums and Strings oh my!

May 07

I find myself having to lookup the same snippets of code a lot. You know, those insignificant lines of code you “never” use. Recently I have had to look this up twice, and hopefully by placing it here, I will never need to again (knock on wood). So again, without further ado… drum roll please… enum CcType { Visa, MasterCard, Discover, Amex,...

Read More

Asp.Net MVC DropDownList With OptGroups

Apr 29

So rarely do I use opt groups, that I had to actually look up their syntax! So when I wanted to use them in a project I’m working on in Asp.Net MVC, I wasn’t very shocked the MVC DropDownList extension didn’t exist for it. So I ended up writing a bit of my own.  Stole some code here and there (no shame in that). So without further ado, for...

Read More

Crested Butte Colorado Website

Mar 31

I recently went to Crested Butte on vacation, and loved it. I loved it so much I made a website for it. Crested Butte Colorado

Read More

Gmail’s Suprising AI

Mar 29

I was sending an email to a client this morning using Google Hosted Services, and I was prompted with an odd alert: “Did you mean to attach files?” I thought that maybe it was a bug with the server is on, and disregarded it (clicked the cancel button). It didn’t send. Then I tried clicking send again, and the same alert popped up.  This time I...

Read More

Linq.Js

Mar 22

Most people who hop on my site don’t know much about me, but I am a complete C# fanboy. As such, I love 90% of the .Net framework, and almost all of that love goes to LINQ (Language integrated queries) and LINQ to SQL. I use it not on a weekly or daily basis, but on an hourly basis. Now that it is around, any time I have an array of data, I find myself always...

Read More