Get it here if you have a MSDN subscription, or a trial version if you don't;
http://msdn2.microsoft.com/en-us/vstudio/default.aspx
It introduces the .NET 3.5 framework which now has integrated AJAX support (about time!)
I have to say I'm not terribly keen on this new release, I don't really care too much about what new features the GUI has but I'm a little worried this release is more about providing a new feature set than improvements to the existing features.
I mostly worried about the .NET framework, having used it for time I'm seeing lots of holes in it with regard to developing websites using object oriented methods, it doesn't strike me as entirely complete and it would be a pity if some thought for the new version hasn't gone into this.
anyway, tell me your thoughts regarding this new release!
Visual Studio 2008 - Early Release
Visual Studio 2008 - Early Release
01000101 01000100 01000111 01000101
http://www.redbubble.com/people/fotofill/ buy my photos!
I downloaded the beta a while back. We've been using studio 2003 here in the office and for reasons of cost are restricted to using 1.1 of the .NET framework throughout the current project.
I know that serial comms support has been in since .NET 2 but has it been a drag and drop control for all this time? (still using a cobbled together win32 interface here).
I know that serial comms support has been in since .NET 2 but has it been a drag and drop control for all this time? (still using a cobbled together win32 interface here).
- PaulCunningham
- Baaaaa!

- Posts: 1218
- Joined: Sun Jan 18, 2004 11:47 pm 0
- Location: Walsall, England
- Contact:
Re: Visual Studio 2008 - Early Release
I've recently downloaded the Express versions while our TFS guy gets his act together and will have a good look in the coming weeks.moosedude wrote: I mostly worried about the .NET framework, having used it for time I'm seeing lots of holes in it with regard to developing websites using object oriented methods, it doesn't strike me as entirely complete and it would be a pity if some thought for the new version hasn't gone into this.
What do you think its missing then?
- Absolute_Zero
- Baaaaaa!

- Posts: 3564
- Joined: Wed May 18, 2005 4:11 pm 0
- Location: Hilbert Hotel, Heisenberg.
Re: Visual Studio 2008 - Early Release
oh, forgot to reply to this!PaulCunningham wrote:I've recently downloaded the Express versions while our TFS guy gets his act together and will have a good look in the coming weeks.moosedude wrote: I mostly worried about the .NET framework, having used it for time I'm seeing lots of holes in it with regard to developing websites using object oriented methods, it doesn't strike me as entirely complete and it would be a pity if some thought for the new version hasn't gone into this.
What do you think its missing then?
my main gripe is that I don't think you can fully apply the object oriented methods provided fully when developing a website. There are holes in developing user controls which aren't too friendly, dynamically create one for example uses a particular nasty LoadControl() function. I'm also at a lost how I could use a user control with a class constructor that has parameters passed into it.
The split between seperating the form design, and the code into different files can also grind a little because the links are not very concrete at times.
My main want really is code re-use, I'd love to be able to inherit from pages I've already written in the form given above (seperate files) and add stuff to them. The only way I can do that at the moment is too use a user control and that isn't ideal. Maybe I'm missing a trick here though, perhaps it all exists but my left brain hasn't engaged yet into this new way of thinking.
I would love a more fierce emphasis on polymorphism and inheritance when writing .NET coding, its just not there and everything sort of loosely fits together rather than being of a strong object orientated nature.
I thinks theres alot of potential thats being wasted at the moment in the language that I would love to see improved in later versions.
01000101 01000100 01000111 01000101
http://www.redbubble.com/people/fotofill/ buy my photos!
You could always try master pages which can help a bit, but I know what you mean. I've not tried this version yet, still on 2005 but I've been using SharePoint Designer 2007 a fair bit recently out of necessity (basically it's the next iteration of horrid front page) which has the new render engine in the editor that allows the nice Dreamweaver like split editor/WYSIWYG view and it renders things much better. Masterpages for one look like they are supposed to!
- PaulCunningham
- Baaaaa!

- Posts: 1218
- Joined: Sun Jan 18, 2004 11:47 pm 0
- Location: Walsall, England
- Contact:
Re: Visual Studio 2008 - Early Release
Yeah, UserControls are a bit of a hack / pain. There more like glorified include files. You could always do CustomControls but obviously they're a bit more work but either way you'll need a default constructor as the framework requires one (unless you want to create them all dynamically that ismoosedude wrote: my main gripe is that I don't think you can fully apply the object oriented methods provided fully when developing a website. There are holes in developing user controls which aren't too friendly, dynamically create one for example uses a particular nasty LoadControl() function. I'm also at a lost how I could use a user control with a class constructor that has parameters passed into it.
Not really sure what you mean here.moosedude wrote: The split between seperating the form design, and the code into different files can also grind a little because the links are not very concrete at times.
Yeah, you're missing a trickmoosedude wrote: My main want really is code re-use, I'd love to be able to inherit from pages I've already written in the form given above (seperate files) and add stuff to them. The only way I can do that at the moment is too use a user control and that isn't ideal. Maybe I'm missing a trick here though, perhaps it all exists but my left brain hasn't engaged yet into this new way of thinking.
You can have MyBasePage inheriting from System.Web.UI.Page and then derive your other pages from MyBasePage - the designer won't do it for you but you can simply change the declaration at the top of the page manually.
Partial classes allow you to specify code in different files for the same class too.
And as mentioned above MasterPages will give you a nice common UI.
I'm not really a fan of the AutoEventWireUp junk they added - I'd much prefer overriding On.... events to be the mandatory way of doing that stuff. But even then someone could attach their own delegates to events to fire up some other arbitrary method to handle Load or Init or whatever.moosedude wrote: I would love a more fierce emphasis on polymorphism and inheritance when writing .NET coding, its just not there and everything sort of loosely fits together rather than being of a strong object orientated nature.
I'm looking forward to the Linq stuff - not so sure about the MVC framework.
Re: Visual Studio 2008 - Early Release
Thanks for the reply Paul 
my problem is that the link between these two files is rather fragile, in the myPage.aspx file you can specify a "codefile=" parameter which links the two files. sometimes when you copy files to create new pages, updating this link can be forgotten, but the new webpage will usually still work.
I've encounted an unusual situtation were the only way I can get a website functioning correctly is too call the same "render" function twice, both in the Page_Load event and in the OnButtonClick event. The annoying thing is that onPostBack, dynamic buttonClicks won't work unless in the Page_Load event they are recreated.
http://msdn2.microsoft.com/en-gb/netfra ... 04594.aspx
although that appears to be written in the language of microsoftese
I was refering to how you can create two files for a webpage. for example the pages, myPage.aspx and myPage.aspx.cs. the former being for the web form design, whilst the latter for functional code.PaulCunningham wrote:
...
Not really sure what you mean here.moosedude wrote: The split between seperating the form design, and the code into different files can also grind a little because the links are not very concrete at times.
my problem is that the link between these two files is rather fragile, in the myPage.aspx file you can specify a "codefile=" parameter which links the two files. sometimes when you copy files to create new pages, updating this link can be forgotten, but the new webpage will usually still work.
Yes, me too. the events system just appear to be in a mess, even more so when you have events inside userControls to deal with. and it gets worse when you start too dynmically creating controls. (I understand why it is how it is, but I don't like it!)PaulCunningham wrote:I'm not really a fan of the AutoEventWireUp junk they added - I'd much prefer overriding On.... events to be the mandatory way of doing that stuff. But even then someone could attach their own delegates to events to fire up some other arbitrary method to handle Load or Init or whatever.moosedude wrote: I would love a more fierce emphasis on polymorphism and inheritance when writing .NET coding, its just not there and everything sort of loosely fits together rather than being of a strong object orientated nature.
I've encounted an unusual situtation were the only way I can get a website functioning correctly is too call the same "render" function twice, both in the Page_Load event and in the OnButtonClick event. The annoying thing is that onPostBack, dynamic buttonClicks won't work unless in the Page_Load event they are recreated.
Hmm, not heard of Linq; is this it?PaulCunningham wrote: I'm looking forward to the Linq stuff - not so sure about the MVC framework.
http://msdn2.microsoft.com/en-gb/netfra ... 04594.aspx
although that appears to be written in the language of microsoftese
01000101 01000100 01000111 01000101
http://www.redbubble.com/people/fotofill/ buy my photos!


