Gray's Matter
Justice Gray - North America's favorite metrosexual software consultant
E-mail Justice
Subscribe to this feed
Subscribe to comments
Perennially Popular Posts
How to write a presentation abstract
My grandmother, globalization, and what's wrong with DateTime.Parse
A letter to my Worldvision sponsor child
Development Methodologies for the 21st Century
My grandmother & the difference between strong typing and weak typing
How I am becoming a better developer, part 1 of infinity
Facebook RSS Feeds: How to Write Your Own With C#
The Ten Keys To Happiness
My grandmother and the Global Assembly Cache (And Star Wars)
My grandmother and the difference between processes and threads
How to make a meeting request
Why you should never be an independent consultant
The DasBlog 1.9 AJAX Autosave True Story, Part 2
Other "metro" developers
Ben Scheirman
Bil Simser
D'Arcy Lussier
David Woods
Donald Belcham
Donald Jessop
George Clingerman
James Kovacs
Jason Hunt
Jason Row
Jean-Paul Boodhoo
Jeffrey Palermo
Joey deVilla
John Bristowe
Jonas Avellana
Kyle Baley
Mack Male
Martin Hinselwood
Michael McClenaghan
Mike Duncan
Mike Friesen
Mo Khan
Otyce
RoboSapient
Russell Ball
Scott Hanselman
Scott Reynolds
Steven Rockarts
Tech Embassy
Terry Thibodeau
Tom Opgenorth
Vladimir Levin
The Justice Gray Fan Club
Amazing Mrs. Loquacious
Dr. Teeth
Facedown
Janey Lynne
Maxime Lamy
Ridley Thunder
Stan Woo
Vanilla Con
Wobbly*Bits
I Wish These People Updated More Than Once a Year
Anand Narayan
Jeff Perrin
<< My grandmother and the difference between processes and threads
My grandmother and the difference between HTTP GET and HTTP POST >>
Visual Studio 2005 / ASP.NET 2.0 - The first two hours
Warning: huge tech geek post ahead.
I had a chance to play with VS2005 and ASP.NET 2.0 over the last two days after getting the bits onto a VM. This was my first time with hands-on experience and I have to say that I am *really* impressed with even the brief bits I have seen. Some of my own personal highlights:
HTML View
My pages now load in HTML view rather than design view - I'm sure this is a setting I can change but I *much* prefer it this way - every time I've loaded a page in the 2003 IDE I've immediately switched to HTML view anyway.
Better Intellisense
They were not kidding about significantly better Intellisense - not only do I get it for the Page level declarations (*so* helpful!) but also when I just start typing in the code window (with the modifier I'm using highlighted). E.g. "o" becomes "override".
But not for Javascript
Javascript Intellisense is not *that* much better. Typing a function call now gives you a list of parameters, but that's the only improvement. It's really not that much better than the somewhat disappointing jsEclipse...I am anxiously awaiting the day that good Intellisense can be built-in for Javascript objects and object-related declarations.
Exception handling
I like the way VS2005 handles exceptions; a window comes up informing you of the exception and tells you the message. However, you are also given options to view the exception details in a watch window or to put all of the exception data into the clipboard for pasting somewhere else. It's little touches like these that I especially like.
Finally new events where we need them the most
This is the *big* one for myself and
Ryan
, for certain, and I'm sure many other developers with similar issues - there are now *new events* in the Page lifecycle. In particular, OnInitComplete and OnPreLoad are new events. Thank goodness!!! So many frustrations and issues when trying to access the page inbetween Init and Load might now be resolved! They seem to have added several other timing-related events as well - I noticed OnPreInit and OnLoadComplete, for example. I'm sure there are many other new events but I've only been working with it for about 2 hours!
Much easier data access...
I know many have beaten this to death already, but data access is a
lot
simpler from first glance. It seems like almost everything is done declaratively now. I was wondering how to utilize dynamic parameters but it seems that Microsoft has thought of that too. You can bind parameters through the querystring, the session, a form variable, various controls…anything you could imagine, almost...there are objects representing all of these (including ones for cookies and user profiles?) Only thing I'm not sure about is making a customized parameter, but I will delve into that more later.
...makes it easier to open a security hole?
The new data filtering is awesome, but I fear the sort of SQL injection attacks that could result from someone being lazy on this…while it makes getting and filtering data a lot easier, it seems to also make it a lot easier to leave your application open to a scripting attack.
Paging:
The built-in paging is pretty easy, but I was disappointed to find out that the SqlDataSource object only supports "UI-style" paging (bring back all your rows and throw out what you don't need), not the more efficient "only retrieve the rows you need" paging. However, I was heartened to read in the Quickstart that the ObjectDataSource will allow for that custom filtering (which I'll have to further look into).
And speaking of the Quickstarts...
It would be awesome if the Quickstart tutorial installation process gave more valuable feedback than "Failed to configure IIS directory - please check the logs - rolling everything back". ;) I did end up fixing my problem but it was only through a google search and some IIS tinkering. And how about making your pages so that they fit properly in a browser window? I can't imagine how aggravating it must be for developers reading through the QuickStarts scrolling back and forth across text! I mean, that can't be too hard, can it? This kind of HTML layout has only been recommended, for what, the last decade? =)
Overall, however, I am *really* excited about all the improvements that I've seen so far. It certainly seems like a thorough upgrade and I'm definitely excited to start using it more often!
Friday, November 25, 2005
Comments [2]
Technical
|
11/24/2005 9:11:49 PM (Mountain Standard Time, UTC-07:00)
I agree with your thoughs on the Javascript intellisense. When trying to code some Atlas it always seems to disappear which has me leaning more towards the server side Atlas controls where the intellisense is much more reliable.
Steven
|
stevenrockartsAT NOSPAMgmail dot com
12/5/2005 10:28:03 PM (Mountain Standard Time, UTC-07:00)
THIS BLOG NEEDS TO BE UPDATED!!!!!!!!!!11111111111111111
Patrick Bateman
|
blak_smithAT NOSPAMhotmail dot com
Name
E-mail
Home page
Remember Me
Comment (HTML not allowed)
Enter the code shown (prevents robots):
Justice Gray
: a seething cauldron of rampaging masculinity. A fighter! A brother! Your
secret lover
! He's also a software development consultant and the Vice President of the
Edmonton .NET user group
. He also greatly enjoys speaking about himself in the 3rd person.
Gray's Matter Archives
Recent Posts
No bias to see here
Foreshadowing is over
Foreshadowing, part II
Foreshadowing
Controversy clarifications!
The most controversial interview of ALL TIME
Finally! The *winner* of the "What Justice Gray Means to Me" contest
The mystery of D'Arcy Lussier's ASP.NET MVP is solved...
Well, now that's pretty horrifying
MVPs on MVC: "No, we don't have any idea either"
Why I am happy to not be at the MVP Summit
Post Categories
BookReviews
Conferences
DasBlog
EDMUG
Goals
HanselmanQuestions
HotDeveloperCorner
ILiveToInform
Leadership
Mac
OtherGrayAreas
Personal
Productivity
Ruby
Suresh
Technical
Transformers
Vancouver
Wii
<
August 2008
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Sign In