CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Eric Wise

Business & .NET

A few weeks into vs 2005

Ok, so I've had a lot more time to spend in the production run of VS 2005 and .NET 2.0.

First I'd like to say that the deployment isn't as bad as my initial reaction.  I have high hopes for the new build tool though since compiling into a single assembly does make sense and helps on my current projects.  I definitely understand how different styles would feel otherwise.  Frankly we have been very good about seperation so our aspx code behinds are really just calls to a business layer which is a seperate dll.  Hence once the layout of pages is settled we usually only have to push the compiled web assembly.  So yes, the whole "give aspx pages a pointer to a ugly named dll" is a hinderance in my world since I now had to push pages where I didn't have to previously.  For the time being, we're running in "non precompiled mode" with all the code files etc right out on the server.

I love the new IDE, particularily all the warnings for poor code structure that it catches.  It allowed me to quickly run through the application and code review it.  Several developers have been in and out of this project and being alerted to things like obsolete variables that are never used etc was helpful.  I know there were ways to do this previously but it's nice having it automagically fired up in the IDE.

Using statement for VB... thank you!

XHTML compliance and the ide doesn't reformat my html... thank you!  I actually use the IDE for my .aspx designer now.  Previously because of the vicious (and often silly) reformatting I would often use a vanilla text editor to modify my .aspx files.

Generics are pretty fun too though I haven't had much of a use for them since all my existing classes had collection classes using collectionbase.  I suppose in future development this could save some time but if it ain't broke I'm not going to fix it.  =)



Comments

Brendan Tompkins said:

The compilation stuff is a little bit hard to get used to, but I've accepted the "new way." It does seem to be working well, and very fast, so I'm happy to convert.

The IDE is pretty fast.. The SQL tools seem improved too, which is nice.

My biggest issue in conversion was having ASCX controls with inner classes that were referenced by other controls. The conversion moved most of this stuff into the App_Code folders so it worked, but it was a little hard to find and figure out where stuff was. The one-class-per file rule is one that I should have followed more closely, I guess.

Anyhow I'm a happy camper, and nearly ready to go into production. Cheers - B
# November 17, 2005 10:35 AM

Joshua Flanagan said:

It has been my experience that the IDE designer WILL mess with your markup, which has scared me away from using it at all. Which is a shame, because I thought that was one of the things that they were focusing on.

I'd love to find out if the issue is isolated to me, or get some more attention to it if it applies to others. Check out the bug I submitted and vote on it. The steps to reproduce are very simple.

http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=8f4d8fbd-1807-4e20-b46d-5207abe0631a
# November 17, 2005 6:35 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!