News



www.flickr.com
This is a Flickr badge showing public photos from RhythmAddict. Make your own badge here.
Locations of visitors to this page

July 2006 Entries

Some development opinions :0


Okay.  This may be somewhat a rant...so, you have been warned. 

I've noticed a lot of people get obsessed with performance.  This is kind of okay, provided your code is working.  I know people (we won't name names!) that will just fret on performance before the method they want to write even exists.  Perhaps this is just my point-of-view, but isn't it better to get X piece of code taking the proper input(s) and delivering the proper output(s), first?  You can get hung up on performance and refactor to your heart's content - but get it working first, please.

Second.  Don't go crazy typing before you think about anything.  Comment the process first, don't type any code.  When you're done, make sure the logic makes sense.  Why spend time coding something only to realize it doesn't even make sense after you just typed 30 lines of code?

Perhaps I've bene a bit more on-edge about this stuff since I've been reading the pragmatic programmer lately. 

Have a nice day :)

posted @ Wednesday, July 12, 2006 5:25 PM | Feedback (5) | Filed Under [ Developing & Best Practices ]


Copy source as HTML


Found this neat tool from Colin Coller.  Basically, let's you copy code as HTML (right-click option) in VS.NET 2k3/5.  Handy for posting code to the web!

posted @ Monday, July 10, 2006 4:05 PM | Feedback (0) | Filed Under [ Misc VS.NET 2005 ]


Localhost blocked? Changing the default debug address in VS.NET 2k5


Greetings. So I ran into a bit of an annoying challenge today. For months now, I've had IIS installed locally. I work on my local project/sln's, and save them - then update to our source control server  Everyone was happy for awhile there.  Anyway, I guess security made some modifications to our AD Security Policy, so if I try to reach http://localhost/Projects/Whatever I'm pretty much out of luck.  In any case, you can subvert this in VS.NET by modifying your .CSPROJ file.

<WebProjectProperties>
          <UseIIS>False</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>1899</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl></IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
</WebProjectProperties>

All I did was change the UseIIS from False to True - and then add the URL I'd prefer to use in IISUrl.  Pretty straightforward, me thinks. I'm not sure if there is a menu within VS.NET 2k5 to do this w/o editing the XML here - If there is, I certainly haven't found it.  Let me know if you can shed some light on this.

Cheers.

posted @ Monday, July 10, 2006 1:50 PM | Feedback (3) | Filed Under [ VS.NET 2005 ]