1 / 26

Deploying Web Applications With IIS 7.0 And The Web Deployment Tool

ES15. Deploying Web Applications With IIS 7.0 And The Web Deployment Tool .  Saad Ladki Program Manager Microsoft Corporation. Agenda. Challenges Deploying Web Applications Web Deployment Tool Overview Under the Hood Shared Hosting Server-Side Infrastructure Peak into the Future.

eliza
Download Presentation

Deploying Web Applications With IIS 7.0 And The Web Deployment Tool

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. ES15 Deploying Web Applications With IIS 7.0 And The Web Deployment Tool  Saad Ladki Program Manager Microsoft Corporation

  2. Agenda • Challenges Deploying Web Applications • Web Deployment Tool Overview • Under the Hood • Shared Hosting • Server-Side Infrastructure • Peak into the Future

  3. Challenges Deploying Web Applications How do I… • Package my application for others to easily install it? • Seamlessly deploy a database alongside my web application? • Transform configuration between development and production? • Backup instances of my application?

  4. demo Installing a Web Application using IIS Manager  Saad Ladki Program Manager Microsoft Corporation

  5. Web Deployment Tool Overview • Deploy applications seamlessly from IIS Manager, VS10 and PowerShell • Synchronize Web servers, sites or applications • Package a web application • Built on top of a powerful, flexible framework with a provider-based model

  6. demo Packaging a Web Application using IIS Manager  Saad Ladki Program Manager Microsoft Corporation

  7. Under The Hood Understand how to actually get the job done Control and instruct Web Deployment Engine IISAPP PROVIDER PROVIDER SQL DB PROVIDER CONTENT PROVIDER Have a set of common interfaces PROVIDER GetMetadata() GetChildObjects() Add() Modify() Delete()

  8. Under The Hood Package Manifest Web Deployment Engine Manifest Provider Package Provider IISApp Provider ContentPath Provider SQL Server Provider Add() GetMetadata() Modify() Delete() ApplicationHost.config SQL Server Database Site Content

  9. Web Deployment API Creating a package… • using Microsoft.Web.Deployment; • string packageFile = @"c:\mysite.zip"; • using(DeploymentObjectsiteObject = • DeploymentManager.CreateObject( • DeploymentProvider.IisApp, “My Site”)) • { • siteObject.SyncToPackage(packageFile,syncOptions); • }

  10. Web Deployment API Installing a package… • using Microsoft.Web.Deployment; • string packageFile = @"c:\mysite.zip"; • using (DeploymentObject package = • DeploymentManager.CreateObject( DeploymentProvider.Package, packageFile)) • { • package.SyncToAuto(syncOptions); • }

  11. demo Web Deployment API  Saad Ladki Program Manager Microsoft Corporation

  12. partner DiscountASP.NET Takeshi Eto VP Business Development Aristotle de la Cruz Developer

  13. DiscountASP.NET • Microsoft Windows shared hosting provider, specializing in ASP.net and SQL hosting • Early adopter of new Microsoft Technologies • Focus on Innovation • Windows 2008 Hosting • IIS 7.0 Manager UI Extensions • URL Rewrite, DBManager • DiscountASP.NET IIS 7.0 Manager UI Extensions • web.config backup/restore tool • New FTP Management Tools • FTP Stop/Start, FTP IP whitelist/IP blacklist

  14. DiscountASP.NET Free Web Deployment Tool Sandbox Account Open Beta - Limited Availability - First 2000 50 mb disk space + 50 mb SQL 2008 database Use the Web Deployment Tool to create and deploy packages No FTP Program End Date: March 2009 http://labs.discountasp.net

  15. demo Deploying a Web Application to DiscountASP.NET  Saad Ladki Program Manager Microsoft Corporation

  16. Server-Side InfrastructureScenarios • Developers can: • Deploy applications to the server without needing administrative access • Administrators can: • Create granular rules to control what could be deployed to the server • Delegate tasks to non-administrators

  17. Server-Side InfrastructureComponents IIS7 Web Management Service Internet Web Management Agent Web Deployment Agent Deployment request is sent to the IIS 7.0 server. Web Management Service forwards the request to the Web Deployment Agent. Web Deployment Agent validates user credentials against the Deployment Authorization Store. Authorization Store Developer

  18. Server Authorization Allowing a non-admin to install a package • <delegation> • <authorization allowAdministrators="true" > • <rule providers="CreateApp" • actions="*" • path="{userScope}" • pathType=“PathPrefix"> • <permissions> • <user name="pdcuser" accessType="Allow" /> • </permissions> • <runAsidentityType="SpecificUser" • userName="configuser" • password="[enc]" /> • </rule> • </authorization> • </delegation>

  19. Visual Studio 10 Integration • Maintain different web.config settings between dev and production environments • One-click web packaging and deployment • IIS Settings • Web Content • Databases • Support for MS Build and Team Build environments • Built-in extensibility that allows future providers to plug-in

  20. demo Creating a Web Application using Visual Studio 10  Saad Ladki Program Manager Microsoft Corporation

  21. Future of Web Deployment • Web Farm Framework • Seamless deployment to on-premises and cloud-hosted servers • Integration with the Web Platform Installer • Provider Extensibility • Integration with other Microsoft products • Open Source Community Application Packaging

  22. Summary • The Web Deployment Tool is the seamless way to package, install and share web applications • It is integrated in the IIS Manager and VS10 • It is easy to use the Web Deployment Framework in your build environments • You can try it today at http://labs.discountasp.net • You can download IIS extensions athttp://www.iis.net

  23. Evals & Recordings Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

  24. Q&A Please use the microphones provided

  25. © 2008 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