Geeks With Blogs
DevDevin October 2005 Entries
Seattle Code Camp v1.0
I attended the Seattle Code Camp this weekend (where I could) and had quite a bit of fun. In addition to learning a few things, I got to preview a bunch of upcoming technologies and meet a lot of distinguished developers in the area. For those of you who weren't able to attend or didn't see the same presentations I did, I'll just share some of my notes: Refactor! is a great tool that I already blogged about before, but they deserve a special plug since Mark Miller largely contributed to the event ......

Posted On Sunday, October 23, 2005 10:07 PM

.NET Refactoring Tools
Today I had a bunch of classes that I needed interfaces for and I wanted to find a tool that would generate them for me. This led me to the discovery of several refactoring tools available for .NET. Here they are: Net Refactorhttp://www.knowdotn... tool was able to generate an interface from my class, but unfortunately it was not smart enough to put that interface in the right project since my solution had multiple projects.) C# Refactoryhttp://www.xtreme-... ......

Posted On Friday, October 21, 2005 12:13 PM

Enum Values as Bit Flags
Know how to make an enum where multiple values can be assigned? Here is a silly example, but you'll get the point: [FlagsAttribute] public enum FileStatus{ None = 0, Open = 1, Edit = 2, Save = 4, Close = 8, Corrupt = 16, Busy = 32, Good = Open | Edit | Save | Close, Bad = Corrupt | Busy } Now rather than try to explain how this actually works myself, I'll just point you to a few good resources already out there: (Start by learning binary if you don't know it already: ......

Posted On Wednesday, October 19, 2005 9:11 PM

Options to Convert VB.NET Code to C# for Free
I'm not implying that you shouldn't buy the full version VB.NET to C# conversion products if they have the functionality that you really need. However, I do think it would be silly not to take advantage of the free demo versions and/or the other free tools available for doing this if it will get the job done without having to purchase anything. So here are a few of the options I've found for converting VB.NET code to C# for free: TransKing (free demo version allows 600 lines of code per file) ......

Posted On Tuesday, October 18, 2005 8:13 AM

Web Site Paths Made Easier in ASP.NET
The headache and horror of absolute and relative paths in the web world still haunts us, but it gets a little bit easier now with ASP.NET. Here is a helpful article that gives a good overview of your options: However, there is one very important thing that it does not mention. There is a nice little method on the Page class called ResolveUrl. This came in handy today when I needed to get my application root without hard coding it. All you have to ......

Posted On Wednesday, October 12, 2005 8:24 PM

ASP.NET Validation Controls
I had been meaning to write something on the ASP.NET validation controls myself, and today I just got a hold of this introductory article on them: In most cases you can use these controls instead of writing your own custom validation code and also not have to duplicate it for both client-side and server-side checking. For instance, if all you want to do is make sure that a field is filled in you can use the “RequiredFieldValidat... ......

Posted On Tuesday, October 11, 2005 7:25 AM

Copyright © Devin A. Rychetnik | Powered by: