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   

Add To Your Reader

My Links

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<May 2008>
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Comment Stats

DayTotal% of Total
Sunday 1866.8%
Monday 37913.9%
Tuesday 45316.7%
Wednesday 50418.5%
Thursday 53519.7%
Friday 49418.2%
Saturday 1666.1%
Total 2717100.0%

Hour1Total% of Total
12:00 AM 652.4%
1:00 AM 682.5%
2:00 AM 622.3%
3:00 AM 742.7%
4:00 AM 572.1%
5:00 AM 1033.8%
6:00 AM 1084.0%
7:00 AM 1585.8%
8:00 AM 1716.3%
9:00 AM 1475.4%
10:00 AM 1716.3%
11:00 AM 1816.7%
12:00 PM 1886.9%
1:00 PM 1696.2%
2:00 PM 1605.9%
3:00 PM 1324.9%
4:00 PM 1073.9%
5:00 PM 923.4%
6:00 PM 913.3%
7:00 PM 963.5%
8:00 PM 833.1%
9:00 PM 782.9%
10:00 PM 792.9%
11:00 PM 772.8%
Total 2717100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.54144
Monday 5.22339
Tuesday 4.28419
Wednesday 7.67637
Thursday 6.90607
Friday 5.48411
Saturday 5.33160
Total 5.842717

Hour1 Entry MadeAvg.Total
12:00 AM 5.0035
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 7.0035
8:00 AM 5.35107
9:00 AM 6.32278
10:00 AM 6.47246
11:00 AM 4.41181
12:00 PM 6.88330
1:00 PM 3.00111
2:00 PM 5.41222
3:00 PM 8.64285
4:00 PM 4.0589
5:00 PM 5.92154
6:00 PM 4.52113
7:00 PM 9.67174
8:00 PM 9.80147
9:00 PM 5.05111
10:00 PM 5.4265
11:00 PM 4.5732
Total 5.842717

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


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles