Scott on Writing

Musings on technical writing...

Starting to Really Dig Into ASP.NET 2.0

Over the past couple of weeks I've really started to dig into ASP.NET 2.0 (fianlly).  Prior to this, I had skimmed through articles and books on ASP.NET 2.0, but hadn't spend more than an hour actually playing with Visual Studio 2005 or picking through the ASP.NET 2.0 classes with Reflector.  In any event, the more I use 2.0 the more I appreciate its improvements over 1.x.  The main improvements, IMO, are not the new classes/Web controls/ASP.NET 2.0 features themselves - virtually all of these could be done in ASP.NET 1.x with sufficient elbow grease.  What's really got me excited is Visual Studio 2005.  VS 2005 is what I've always wanted VS.NET to be:

  • I have IntelliSense in Web.config, in the <script> blocks in an ASP.NET Web page, and even the page-level directives (i.e., <%@ Page ... %>)
  • I don't need to have IIS on my machine to create and debug an ASP.NET Web application.  There's no virtual directories being created when I create a new ASP.NET Web site through VS 2005; there's not a plethora of files that I didn't ask to be created.
  • Switching between HTML view and Design view doesn't rearrange my markup.  Also, through the HTML view I can click on an HTML element and have its properties loaded in the Properties pane.
  • MasterPages/User Controls have rich design-time support, something that was sorely lacking in VS.NET.  (Although one hiccup I found in Beta 1 is that MasterPages with CSS positioning don't necessarily provide a good WYSIWYG experience in the Designer.  For example, a two-column CSS layout using the tecnique discussed here renders as expected in the browser, but in the Designer it lays out the left column above the right column, not side-by-side.)

Of course my experience with VS 2005 thus far has been with just small pages.  I've yet to really put it through the test, so there may be some glaring issues with large pages.  I should eventually find out, though, I have a couple of clients who (for some reason) are insistent on having large data entry pages with, at times, literally dozens of form fields on a single page... perhaps once they move to ASP.NET 2.0, though, they'll be excited about using the new wizard functionality.

Speaking of ASP.NET 2.0, you could probably guess that's what I've been working on as of late by a quick examination of the latest 4Guys articles.  Last week's article was A Sneak Peak at Working with Data in ASP.NET 2.0 and today's article is A Sneak Peak at MasterPages in ASP.NET 2.0.  (These are another two exciting features in 2.0, albeit they are possible in 1.x.  The DataSource controls discussed in the first article really speed up creating data-driven Web pages, while MasterPages (and their rich support in VS 2005) allow for easily defining a site-wide design template that can be applied to all pages and easily altered/changed on a whim.)

posted on Wednesday, January 05, 2005 9:24 AM

Feedback

# re: Starting to Really Dig Into ASP.NET 2.0 1/5/2005 2:00 PM Brian

I think 2.0 will be a great release. I'm already developing the next version of one of my clients websites in 2.0. Which I hope will launch early next month. That is IF Msft decides to release 2.0 in Beta 2 which included a production license.

2.0 will save me hours of work per site and the code will be much better than mine.

# re: Starting to Really Dig Into ASP.NET 2.0 1/5/2005 7:03 PM Dguidara

I would add that modifying sections of the web.config not forcing the application to restart is something I thought ASP.NET 1.x should have had included.

That being said, .Net 2.0 really looks like it will blow everything that is out there now out of the water in terms of developer productivity and flexibility.

# re: Starting to Really Dig Into ASP.NET 2.0 1/8/2005 10:38 PM Dave Burke

Scott, thanks for your coverage on ASP.NET 2.0. I am just now reeeeally ready to dive in (will begin migrating to 2.0 as soon as Beta 2 is available) and will be following your work and 4Guys.

# Enhanced Client-Side Script Features in ASP.NET 2.0 1/13/2005 3:33 PM Scott on Writing

# re: Starting to Really Dig Into ASP.NET 2.0 1/20/2005 2:02 PM Klabran

Does anybody know if the validator controls for asp.net 2.0 will use the w3c dom on the client side script instead of the MS dom so that non-IE browsers will work....

http://aspnet.4guysfromrolla.com/articles/051204-1.aspx1

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

My Links

Ads Via DevMavens

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<March 2010>
SMTWTFS
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Comment Stats

DayTotal% of Total
Sunday 2056.8%
Monday 42514.1%
Tuesday 51917.2%
Wednesday 55618.4%
Thursday 58019.2%
Friday 54718.1%
Saturday 1886.2%
Total 3020100.0%

Hour1Total% of Total
12:00 AM 782.6%
1:00 AM 812.7%
2:00 AM 682.3%
3:00 AM 822.7%
4:00 AM 692.3%
5:00 AM 1264.2%
6:00 AM 1193.9%
7:00 AM 1816.0%
8:00 AM 1926.4%
9:00 AM 1585.2%
10:00 AM 1886.2%
11:00 AM 1936.4%
12:00 PM 2016.7%
1:00 PM 1846.1%
2:00 PM 1695.6%
3:00 PM 1354.5%
4:00 PM 1153.8%
5:00 PM 1073.5%
6:00 PM 1013.3%
7:00 PM 1073.5%
8:00 PM 923.0%
9:00 PM 882.9%
10:00 PM 913.0%
11:00 PM 953.1%
Total 3020100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.00160
Monday 4.80384
Tuesday 4.04477
Wednesday 7.39680
Thursday 6.26676
Friday 5.07466
Saturday 4.78177
Total 5.403020

Hour1 Entry MadeAvg.Total
12:00 AM 5.2937
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 3.8550
8:00 AM 3.72134
9:00 AM 6.06297
10:00 AM 5.63276
11:00 AM 4.22194
12:00 PM 6.16351
1:00 PM 3.09133
2:00 PM 4.89230
3:00 PM 7.67322
4:00 PM 4.00108
5:00 PM 6.07170
6:00 PM 4.64116
7:00 PM 8.95188
8:00 PM 8.63164
9:00 PM 5.00115
10:00 PM 6.31101
11:00 PM 4.5732
Total 5.403020

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles