SlideShare a Scribd company logo
 
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
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
Application we will build from scratch
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
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
Download Slides + Samples http://blogs.msdn.com/mattgi
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
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
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/
“ 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
ASP.NET on IIS 6.0 IIS6  Monolithic implementation Limited customization ASP.NET ISAPI Extension Only processes ASP.NET requests
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
“ 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>
URL Rewriting using IIS7 + UrlRewriter.net Create a SiteMap using ASP.NET Create Menu Navigation UI
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
Adding CSS Control Adapters
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)
 
Adding ASP.NET AJAX
while supplies last
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
Fill out a session evaluation on CommNet and   Win a Creative MP3 audio/video player!
© 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.

More Related Content

PPT
Microsoft Tech Ed 2006 #2
PPTX
P H P Framework
PDF
Introduction to azure web applications for office and share point developers
PPTX
Mule integration with linkedin
PPTX
Cross-Platform Apps/Games with Azure
PPTX
Introduction to web pi and web matrix
PPTX
Integration with microsoft share point
PPTX
SP2010 Developer Tools
Microsoft Tech Ed 2006 #2
P H P Framework
Introduction to azure web applications for office and share point developers
Mule integration with linkedin
Cross-Platform Apps/Games with Azure
Introduction to web pi and web matrix
Integration with microsoft share point
SP2010 Developer Tools

What's hot (20)

PPTX
Multiplatform
PPTX
Access SharePoint Remotely
PPTX
Integration of linked in using mule esb
PPTX
What's New for SP2010 Devs
PDF
Vaadin NYC Meetup
PPTX
What's new in vs 2010 sp1 for web developers
PDF
Vaadin codemotion 2014
PPTX
Mule ESB integration with Stripe
PPTX
Mule Integration with Dropbox
PPTX
Microsoft azure integration
PPTX
ASP.NET Core 2.1: The Future of Web Apps
PPTX
Integration with sales force
PPTX
introduction and configuration of IIS (in addition with printer)
PDF
PPTX
WordCamp GR 2012 Web Apps for the Masses
PPTX
Mule esb stripe
PPTX
IIS for Developers
PPTX
Integrate facebook using mule esb
PDF
Vaadin 7 by Joonas Lehtinen
PPTX
Capture the Cloud with Azure
Multiplatform
Access SharePoint Remotely
Integration of linked in using mule esb
What's New for SP2010 Devs
Vaadin NYC Meetup
What's new in vs 2010 sp1 for web developers
Vaadin codemotion 2014
Mule ESB integration with Stripe
Mule Integration with Dropbox
Microsoft azure integration
ASP.NET Core 2.1: The Future of Web Apps
Integration with sales force
introduction and configuration of IIS (in addition with printer)
WordCamp GR 2012 Web Apps for the Masses
Mule esb stripe
IIS for Developers
Integrate facebook using mule esb
Vaadin 7 by Joonas Lehtinen
Capture the Cloud with Azure
Ad

Viewers also liked (6)

PDF
Apache - Mod-Rewrite
PPT
Iis it-slideshares.blogspot.com
PPTX
TO ADD NEW URL REWRITE RULE IN WORDPRESS
PDF
URL Design with Lasso
PPT
IIS 7: The Administrator’s Guide
PPT
Request routing in CDN
Apache - Mod-Rewrite
Iis it-slideshares.blogspot.com
TO ADD NEW URL REWRITE RULE IN WORDPRESS
URL Design with Lasso
IIS 7: The Administrator’s Guide
Request routing in CDN
Ad

Similar to Microsoft Tech Ed 2006 #1 (20)

PPTX
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
PPT
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
DOCX
IIS 7.0 for Apache Administrators
PPT
ASP.NET AJAX with Visual Studio 2008
PPT
New Features Of Microsoft Visual Studio 2008 And .Net Framework 3.5 To Comsof...
PPTX
Aspnet architecture
PPSX
Web development concepts using microsoft technologies
PPT
Road Show Asp Net
PPT
ASP.NET OVERVIEW
PPTX
ASP.NET Presentation
DOCX
Asp interview Question and Answer
PPTX
Usability AJAX and other ASP.NET Features
PPSX
01 asp.net session01
PPT
Rutgers - Active Server Pages
PPT
IIS 6.0 and asp.net
PPTX
Web deploy
PPT
IBM WebSphere Portal 6.1 Preview - What's New
PPS
01 asp.net session01
PPTX
SharePoint Web part programming
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
IIS 7.0 for Apache Administrators
ASP.NET AJAX with Visual Studio 2008
New Features Of Microsoft Visual Studio 2008 And .Net Framework 3.5 To Comsof...
Aspnet architecture
Web development concepts using microsoft technologies
Road Show Asp Net
ASP.NET OVERVIEW
ASP.NET Presentation
Asp interview Question and Answer
Usability AJAX and other ASP.NET Features
01 asp.net session01
Rutgers - Active Server Pages
IIS 6.0 and asp.net
Web deploy
IBM WebSphere Portal 6.1 Preview - What's New
01 asp.net session01
SharePoint Web part programming

Recently uploaded (20)

PDF
Chapter 5_Foreign Exchange Market in .pdf
DOCX
Business Management - unit 1 and 2
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PDF
Dr. Enrique Segura Ense Group - A Self-Made Entrepreneur And Executive
PDF
WRN_Investor_Presentation_August 2025.pdf
PDF
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
PPTX
Belch_12e_PPT_Ch18_Accessible_university.pptx
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PDF
Deliverable file - Regulatory guideline analysis.pdf
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PDF
Roadmap Map-digital Banking feature MB,IB,AB
PDF
Reconciliation AND MEMORANDUM RECONCILATION
PPTX
HR Introduction Slide (1).pptx on hr intro
PDF
IFRS Notes in your pocket for study all the time
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PPTX
Lecture (1)-Introduction.pptx business communication
PPT
Chapter four Project-Preparation material
PDF
Nidhal Samdaie CV - International Business Consultant
PDF
Unit 1 Cost Accounting - Cost sheet
PDF
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
Chapter 5_Foreign Exchange Market in .pdf
Business Management - unit 1 and 2
340036916-American-Literature-Literary-Period-Overview.ppt
Dr. Enrique Segura Ense Group - A Self-Made Entrepreneur And Executive
WRN_Investor_Presentation_August 2025.pdf
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
Belch_12e_PPT_Ch18_Accessible_university.pptx
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Deliverable file - Regulatory guideline analysis.pdf
unit 1 COST ACCOUNTING AND COST SHEET
Roadmap Map-digital Banking feature MB,IB,AB
Reconciliation AND MEMORANDUM RECONCILATION
HR Introduction Slide (1).pptx on hr intro
IFRS Notes in your pocket for study all the time
Ôn tập tiếng anh trong kinh doanh nâng cao
Lecture (1)-Introduction.pptx business communication
Chapter four Project-Preparation material
Nidhal Samdaie CV - International Business Consultant
Unit 1 Cost Accounting - Cost sheet
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise

Microsoft Tech Ed 2006 #1

  • 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.  
  • 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.