Your SlideShare is downloading. ×
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Microsoft Tech Ed 2006 #1

3,050

Published on

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,050
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
103
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1.  
    • 2. Dev 229:/343: Building a Complete Web Application using IIS 7.0, ASP.NET 2.0, and ASP.NET AJAX ( Part 1) Matt Gibbs Eilon Lipton Developer Division Microsoft Corporation
    • 3. Goals For Today
      • Build an end-to-end application using:
        • ASP.NET 2.0
        • ASP.NET AJAX
        • Visual Studio 2005
        • IIS 7.0
      • Discuss what and why, demo with code for the how
      • Leave you with a solid end-to-end understanding of the Microsoft web platform
        • And how to fully take advantage of it going forward
    • 4. Application we will build from scratch
    • 5. Things we’ll explore in Part 1
      • IIS 7.0 delegated configuration/administration
      • Building consistent, clean, layout using Master Pages
      • Building a DAL and Data Editing UI pages
      • IIS 7.0 modular extensibility architecture
      • Using URL re-writing to enable “clean urls”
      • Building a Menu system w/ the Site Navigation system
      • Using CSS control adapters to cleanly style UI
      • AJAX-enabling our UI
    • 6. Things we’ll explore in Part 2
      • Richer AJAX UI using the ASP.NET Control Toolkit
      • Adding Login management using Membership system
      • Adding Role Management security authorization
      • Managing Login and Roles using the IIS 7.0 Admin Tools
      • Output Caching with SQL Cache Invalidation
      • Building personalized portal UI using Web Parts
      • How to pinpoint runtime errors using IIS7 Health Monitoring
      • Sneak Peak: Building a site using BLINQ and LINQ
    • 7. Download Slides + Samples
      • http://blogs.msdn.com/mattgi
    • 8. Let’s code…
      • Demo Machine:
        • Windows Vista Client RC build
        • IIS 7.0
        • SQL 2005
        • VS 2005
        • ASP.NET AJAX beta 2 (just released)
        • Most recent AJAX Control Toolkit
      • My hardware spec
        • 2.0 Ghz laptop
        • 2 GB of RAM
    • 9. Create a new site with IIS7 Create a master page for consistent UI Create a data access layer (DAL) Create product inventory pages using ASP.NET
    • 10. ASP.NET Data Tutorial Series
      • End-to-end data tutorials using ObjectDataSource now on http://www.asp.net
        • 40 segments total
        • http://www.asp.net/learn/dataaccess/
    • 11. “ Pretty URLs” using URL-Rewriting
      • Common request to better enable “logical” as opposed to “physical” URLs within web apps
      • Instead of having:
        • /catalogue.aspx?category=1
        • /catalogue.aspx?category=2
      • Publish these URLs:
        • /products/beverages
        • /products/condiments
      • Difficult on IIS6 -> Easy with IIS7
        • Integrated ASP.NET Extensibility Model
    • 12. ASP.NET on IIS 6.0
      • IIS6
        • Monolithic implementation
        • Limited customization
      • ASP.NET
        • ISAPI Extension
        • Only processes ASP.NET requests
    • 13. ASP.NET on IIS 7.0
      • ASP.NET Modes:
        • ISAPI mode (compat)
        • Integrated mode
          • ASP.NET HttpModules plug directly into server
          • HttpModules or Global.asax events can run code on all requests
          • VB and C# code can be easily used to customize and extend the server
    • 14. “ Pretty URLs” using URL Rewriting
      • What does this mean for URL rewriting?
        • We can now rewrite any URL path using VB or C# without having to write a C++ ISAPI Filter
        • The request does not have to be for an ASP.NET page
      • We can even use the free UrlRewriting.net HttpModule for ASP.NET to plug-into IIS7
        • http://www.urlrewriting.net
        • No code changes were needed for IIS7!
      <rewriter> <rewrite url=“/products/(.+)” to=“/catalogue.aspx?category=$1”/> </rewriter>
    • 15. URL Rewriting using IIS7 + UrlRewriter.net Create a SiteMap using ASP.NET Create Menu Navigation UI
    • 16. Pretty HTML using CSS Adapters
      • ASP.NET 2.0 introduced Control Adapter API
        • Enables developers to override rendering of controls
        • Does not change the control’s API
      • CSS Adapter Toolkit
        • Free download from http://www.asp.net/
        • Includes CSS style control adapters for 5 controls:
          • Menu
          • TreeView
          • DataList
          • FormView
          • DetailsView
        • Ships with both VB and C# control adapter source
    • 17. Adding CSS Control Adapters
    • 18. What is ASP.NET AJAX
      • Rich library for building AJAX-enabled apps
        • Integrates seamlessly with ASP.NET 2.0
        • Enables an easy way to AJAX enable apps without having to write much code
      • Delivers ubiquitous reach and easy deployment
        • Will support IE, FireFox, Safari browser clients
        • No client install required
      • Beta 2 Build Now Available
        • Download from http://ajax.asp.net
      • Goal to ship ASP.NET AJAX V1.0 soon
        • Fully PSS supported product
        • Zero cost (totally free)
    • 19.  
    • 20. Adding ASP.NET AJAX
    • 21.
      • while supplies last
    • 22. Lunch Intermission
      • Still to Come in Part 2:
        • Richer AJAX UI using the AJAX Control Toolkit
        • Adding Login management using Membership system
        • Adding Role Management security authorization
        • Managing Login and Roles using the IIS 7.0 Admin Tools
        • Output Caching with SQL Cache Invalidation
        • Building personalized portal UI using Web Parts
        • How to pinpoint runtime errors using IIS7 Health Monitoring
        • Sneak Peak: Building a site using BLINQ and LINQ
      • Site to Download Slides + Samples:
        • http://blogs.msdn.com/mattgi
    • 23. Fill out a session evaluation on CommNet and Win a Creative MP3 audio/video player!
    • 24. © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

    ×