1 / 36

IIS Express for Web Developers

DEV349. IIS Express for Web Developers . Wade A. Hilmo Principal Development Lead Microsoft Corporation. Objectives and Takeaways. Session Objectives: Provide an overview of IIS Express Demonstrate several IIS Express capabilities Discuss the future of IIS Express Key Takeaways:

teagan
Download Presentation

IIS Express for Web Developers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DEV349 IIS Express for Web Developers Wade A. Hilmo Principal Development Lead Microsoft Corporation

  2. Objectives and Takeaways • Session Objectives: • Provide an overview of IIS Express • Demonstrate several IIS Express capabilities • Discuss the future of IIS Express • Key Takeaways: • IIS Express provides developers with access to the Microsoft Web Platform where they might not have had access in the past • Enables the use of important features that are available only on new servers like Windows 2008 R2 and Windows Server 2012

  3. Agenda • IIS Express Overview • The Past, Present, and Future • IIS Express Architecture • Process Model Differences • Different Modes • IIS Express Tips & Tricks • IIS 8 Sneak Peak

  4. IIS Express Overview: The Past

  5. ASP.NET Development Server (“Cassini”)

  6. Internet Information Services (IIS)

  7. Hosted Web Core (HWC) on IIS 7.0+

  8. IIS Express Overview: The Present IIS 7.5 Express delivers best of both worlds

  9. IIS Express Overview: The Present IIS 7.5 Express delivers best of both worlds

  10. IIS Express 7.5 Support * Can be used with earlier versions of Visual Studio, but built-in integration is not available

  11. IIS Express Overview: The Present IIS Express allows you to pick the right tools for your development needs and environment Too Small Just Right Too Big But it’s not a replacement for IIS!

  12. IIS 7.5 Express Features

  13. IIS 8.0 Express Overview: The Future * WebSocket support is not available in IIS 8.0 Express Beta

  14. IIS Express 8.0 Support * Can be used with earlier versions of Visual Studio, but built-in integration is not available

  15. demo IIS 8 Express Tour Web Platform InstallerFiles & Directories

  16. IIS 7 & IIS 8 Architecture Worker Process (W3WP.EXE) Service Host (SVCHost.EXE) Worker Process (W3WP.EXE) Machine-globalapphost.config Windows Process Activation Service (WAS) World Wide Web Service (W3SVC) HTTP.SYS Kernel-Mode Listener

  17. IIS Express Architecture IISEXPRESS.EXE Per-User apphost.config HTTP.SYS Kernel-Mode Listener

  18. Differences Between IIS Express and IIS

  19. Personal Web Server Mode • By default one applicationHost.config file is generated per user unless one is specified: • Sites are persistent, similar to IIS • Template located at: %ProgramFiles%\IIS Express\config\templates\PersonalWebServer\applicationHost.config • Syntax:iisexpress.exe [/config:config-file] [/site:site-name] [/systray:true|false] [/siteid:site-id] [/userhome:user-home] • ApplicationHost.config file is kept in %UserProfile%\Documents\IISExpress\config

  20. Application Server Mode • Configuration is transient • Temporary configuration file generated when IIS Express starts • Template located at: %ProgramFiles%\IIS Express\AppServer\applicationHost.config • Syntax:iisexpress.exe /path:app-path[/port:port-number] [/clr:clr-version][/systray:true|false] • ApplicationHost.configfile is created in user’s %TEMP%\iisexpress folder

  21. Managing IIS Express in Visual Studio 2010 • Visual Studio 2010 SP1 and later have built-in IIS Express integration

  22. Managing IIS Express in Visual Studio 11 • Visual Studio 11 uses IIS Express by default(This option can also be enabled in VS 2010)

  23. Managing IIS Express in the System Tray • Provides simple list of running websites in IIS Express • Allows you to stop your active IIS Express websites

  24. demo IIS 8 Express & Visual Studio Creating a web project

  25. IIS Express Tips & Tricks 1 of 2 • When in doubt, you can always rename the applicationHost.config file in your profile • IIS Express will create a new one for you from a template • Configuring IIS Express • AppCmd • Exporting Syntax from IIS Configuration Editor • Visual Studio (or Notepad )

  26. IIS Express Tips & Tricks 2 of 2 • Do not modify the ApplicationHost.config template files • Only modify your per-user files • Use IISExpressAdminCmd.exe for easy hostname bindings • See Scott Hanselman’s excellent Working with SSL at Development Time is easier with IISExpress blog for more information: • http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx

  27. demo IIS 8 Express & Visual Studio Debugging a 64 bit Native IIS Module

  28. Sneak Preview of IIS 8 • IIS 8 Ships with Windows Server 2012 • Lots of new features: • See our other IIS breakout sessions for detailed information about these features

  29. Summary • In this session you: • Obtained overview of the past, present, and future of IIS Express • Learned several IIS Express capabilities • Studied the IIS Express Architecture • Discovered the different IIS Express modes • Took a quick look at the future of IIS

  30. Related Content WSV331 - What's New with IIS 8: Open Web Platform for Cloud WSV332 - What's New with IIS 8: Performance, Scalability, and Security DEV349 - Internet Information Services (IIS) Express for Web Developers

  31. IIS.NET: Home for the IIS Community! In-depth technical articles and samples Connect with other IIS experts through blogs http://learn.iis.net http://blogs.iis.net Free advice and assistance in forums Download center with IIS solutions • http://forums.iis.net http://www.iis.net/download

  32. Resources Learning TechNet • Connect. Share. Discuss. • Microsoft Certification & Training Resources http://europe.msteched.com www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn

  33. Evaluations Submit your evals online http://europe.msteched.com/sessions

  34. Q & A Questions? Robert McMurray Program Manager Microsoft Corporation

  35. © 2012 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