Scott Elkin
.net, technology and my family
RSS 2.0
Atom 1.0
Browse by Tags
All Tags
»
C#
(RSS)
ASP.NET
ASP.NET 2.0
Enterprise Library
Exceptions
Programming
Resharper
Jul
19
Add Additional Information to Your Exceptions
When Enterprise Library was called Microsoft Application Blocks, if you wanted to log an Exception, you would write (assuming “ex” is an Exception): ExceptionManager.Publish(ex); And if you wanted to log some extended properties you could
Read More...
May
14
Fun with #region
I am not sure if I did this on accident, or my intern did it, but I found this in my code: #region Constructors//code here #endregion Constructors I was not aware you can put a tag after #endregion. Kind of nice to clearly delineate long regions. Not
Read More...
May
12
Learning C# over VB.NET
I just finished writing a long 'ol email to a friend who wants to do a project in VB.NET since his background is in legacy ASP. Although my points have been illustrated by many over and over, I thought I would post what I wrote in the hopes others
Read More...
Apr
15
Hiding a Row in ASP.NET
Many things that I come across are "No Duh". This is one of them. I frequently see code from other programmers that incorrectly use Panel for the purpose of hiding content. What they don't understand is that a Panel tag renders a table,
Read More...
Apr
08
ReSharper Help and Tutorial
I have found that for me, ReSharper wasn't even close to as great a help until I changed my operating basis regarding how I write code. Many times there are many subtle things you do differently, which just causes pain with ReSharper. It also wasn't
Read More...
Aug
18
Binding a DropDownList to an Enumeration
Ok, well its not really binding to it. But at least it is close : (foreach(EnumNameHere enum in Enum.GetValues(typeof(EnumNameHere))){ DropDownListNameHere.Items.Add( new ListItem(enum.ToString(), Convert.ToInt32(enum).ToString()) );} Pretty Nifty. I
Read More...
Jul
15
String to Enum
I have to do this now and then and each time I don't write this code perfect the first time. I either forget the typeof statement or to cast, etc. But, if you have a string, “Yoda” and you want to set an Enum called "Jedi", this
Read More...
Comics
Penny Arcade
Little Gamers
Garfield
Dilbert
TrueNuff
Design
Caffeine Web Design
A List Apart
Slayer Office
Jeffrey Zeldman
Programming
Eric Gunnerson
Scott Guthrie
Scott Watermasysk
Scott Mitchell
Andy Smith
Aaron Boodman
Scott Hanselman
Elegant Code
Fun
Preshrunk
Hacking Netflix
Friends
Erica Falke
Samantha Elkin
Gary Sinard
Chris Henry
Brandon Dove
Charles Pham
David Barkol
Nam Huong
Electronics / Gadgets
Boing Boing
Woot
2600
Gadget Madness
Gizmodo
Tags
AJAX
ASP.NET
ASP.NET 2.0
C#
Celeb Spottings
Codesmith
Community Server
Cooking
CSS
Enterprise Library
Exceptions
Family
gaming
iPod
iTunes
Javascript
mma
Music
Netflix
Personal
Pets
Phoenix
Photos
Podcasts
Prius
Programming
ps3
Reshaper
Resharper
RSS
SQL
technology
Tivo
TV
UFC
Vacation
VB.NET
Visual Studio
Windows
Xbox 360
XHTML
Recent Posts
A Parent Must Have: Flip Video Camcorder
Ebay's Paypal Shipping Is Raping You
How to Eat in the Apple Store
Google Reader Broken In Firefox
Twittering Samantha's Delivery
Search
Readers
Find out who's reading this blog, powered by MyBlogLog.com.
View reader community »