So there’s a new sheriff in town and its name is dynamic. Actually, its not really that new and that’s a horribly misused cliche. My lack of literary genius aside, I’ve been looking for a reason to use dynamic. Then it came to me: Models. Now the only reason why I started down that path [...]
ByATool.com gets a shiny new tool!
A while back, we put up an offer to write for our blog. Only one has risen to the top as someone having both the technical know-how and the razor sharp wit required to write on a site such as this. ByATool.com Readers… Amy. Amy… ByATool.com Readers. Amy is a magnificent geek and almost 10 [...]
Data Annotations, MVC, and Why You Might Like Them
So if you were like me before I knew what Data Annotations were, you most likely would be thinking, “What are Data Annotations?”. Well I’m glad I can read your mind and therefore I am glad you asked. Now the fun part about this post is that I might have to admit I was wrong. [...]
Random Add-On – Automapper
So if you’ve bothered reading my posts in the past, and don’t worry cause I haven’t, you might have seen me express my rule about not wanting to use third party stuff. Well things change. Actually they don’t, as I’m not bending the rule because I’m becoming a better person, just more lazy. This is [...]
State List in Dictionary Form
Tired of having to look this up from time to time, so I’m putting this here for my own use. If you get something out of it, good for you. In the end, I really don’t care. public Dictionary GetAllStates() { if(_stateList == null) { _stateList = new Dictionary(); _stateList.Add(“Alabama”,”AL”); _stateList.Add(“Alaska”,”AK”); _stateList.Add(“American Samoa”,”AS”); _stateList.Add(“Arizona”,”AZ”); _stateList.Add(“Arkanas”,”AR”); [...]