in

Utah .NET User Group

Home of Utah's professional .NET developers.

Justin Long's Blog

December 2007 - Posts

  • Property Manager Add-in for Visual Studio 2008

    I'm a bit late on this news but one of my favorite add-in's for Visual Studio 2005, the Property Manager has been updated to work with Visual Studio 2008. I haven't had to worry about it much but I've started using 2008 a lot more lately and realized how addicting that add-in is.

    For those of you that don't know what it does, basically it can take as many fields as you would like to select and turn them into properties on your clipboard, then you simple paste them where ever you want in your code. For me this is much better for creating new properties than the built in refactoring (Encapsulate Field...) because you can do it in bulk. It's not without it's downsides though, it wont update any references to the field if you need to take existing fields and make properties so for that the built in refactoring is your best bet.

    Here's some screen shots to show you the flow:

    image

    (Selecting the fields, right clicking and clicking on Create Property, you can also use Ctrl + Alt + P)

    image

    (Pasting the properties from the clipboard into my class)

    Because of my code formatting settings (the defaults) I've also come up with the following steps to get my properties formatted how I like them:

    image

    (Add a new line before each of the property's get methods)

    image

    (Hit Ctrl + K, Ctrl + D to format my document)

    So stop writing your properties yourself and do download this add-in here. It's saved me a ton of time and I'm sure it'll do the same for you.

  • ASP.NET MVC Framework Preview! (finally)

    Their finally tired of teasing us and have release the preview for the ASP.NET 3.5 Extensions! These are the extensions that include the MVC framework. For those of you that are interested you can download it here.

    I for one am extremely excited about it so I thought I would help spread the word to the few that actually read this crap.

    I can’t wait to dig deeper in it, maybe I’ll find more interesting things to post about.

Copyright © 2000-2007, Utah .NET User Group
Powered by Community Server (Commercial Edition), by Telligent Systems