290 likes | 412 Views
Windows Application Ecosystem. Crystal Hoyer. Program Manager IIS Team. Microsoft Confidential Information. Preview of features that will be announced at MIX09 Please do not blog, take pictures or video of session. Agenda. Windows Web Application Ecosystem Web Application Gallery
E N D
Windows Application Ecosystem Crystal Hoyer Program Manager IIS Team
Microsoft Confidential Information Preview of features that will be announced at MIX09 Please do not blog, take pictures or video of session
Agenda • Windows Web Application Ecosystem • Web Application Gallery • Web Platform Installer V2 • Control Panel Integration • Overview • Getting Started ( includes Code Walkthrough)
Goals of the Web Application Gallery • Make it easy to find great Web applications! • Provide a social hub for community feedback • Enable simple, streamlined installation
Web Application Gallery is • A community web site • Allows developers to submit applications • Allows users to comment and rate applications • Infrastructure • Captures users feedback • Communicates app information through an a feed • Policy • Constraints for application submission
The Web Application Gallery Schematic Application Database Control Panel Install App Web Deploy App Metadata ATOM Feed App Package Web Platform Installer (WebPI) XML Manifest
Microsoft Web Platform Installer (WebPI V2) Simplifies discovery… • Extensible product list for Microsoft Web stack, including new IIS extensions • Three options (“Complete”, “ASP.NET”, and “Custom”) • Key QFE and other servicing updates for the MS Web Platform Simplifies installation… • Single install for all MS Web platform components • Logging for diagnostics • Automatic handling of reboots Simplifies updates… • XML-based manifest for easy updates of product list • Automatic upgrade of the Installer itself
Install the Microsoft Web Platform Architecture Product XML Web PI Ubiquity Community App demo
Microsoft Confidential WebPI Version 2 : Engaging the Community • Developers • Application Communities • Shared Hosters • Dedicated Hosters • Control Panel Vendors
Application Ecosystem Community supplies the apps, Microsoft will make them instantly available to thousands of hosing providers and millions of Windows customers
Application Installation Experience • Five ways to discover and install applications • Through any app gallery-enabled Control Panel • Via App Developer Web site • Through the Microsoft Web App Gallery • Inside Web Platform Installer • Inside IIS Manager
Gallery Enabled Control Panel • Feed provides list of applications • WebDeploy API provides services to • Get parameters app needs for install • Inject user parameters • Install application <visualize your control panel here>
IIS Manager • Enables full Web PI experience inside IIS Manager • Enables developers and administrators to discover and install apps in context of managing IIS • Allows for local and remote deployment of applications for dedicated and shared hosting
Windows Web Application Gallery • Microsoft.com pages dedicated to your app • Can include text, images and video demo • Enables social interactions: rating and comments • Search, sort, and browse app categories • One-click launches Web PI install for your app
Web Platform Installer • Simple, unified install experience for Microsoft Web Platform and Windows Application Gallery • Installs IIS, ASP.NET, SQL Server, Visual Web Developer Express, and platform extensions • Driven through ATOM feed, dynamically updated as new releases occur
Windows Server PlatformCode Walkthrough Get app list Gather parameters from user Install app
How-to Get Started: Control Panel Vendor / Automator • Download the Application Gallery Developer Kit • In your application • Subscribe to the App Gallery ATOM feed • Present user app list through your UI • Retrieve Application installation package • Use Web Deploy APIs to install user selected app
Step 1: Download App Gallery Installation Kit Includes everything you need to get started: • Documentation of the Atom feed, and how to subscribe to it • Web Deploy APIs for installing apps • Best Practices for running apps on Windows • Sample C# and PHP code for working with the gallery feed
Step 2: Subscribe to the App List • List delivered as an Atom formatted XML file • Retrieved from http://go.microsoft.com/?linkid=9647960 • Applications are listed as entries with a type of application: <feed> <entry type=“application”> <id>506</id> <title>Drupal</title> <version>6.9</version> <updated>01-20-2009</updated> <description>Drupal is an open source content management platform. Equipped with a powerful blend of features, Drupal supports a variety of websites ranging from personal weblogs to large community-driven websites.</description> <link><![CDATA[http://go.microsoft.com/fwlink/?linkid=134578]]></link> … </entry> </feed>
Step 3: Ask user to select App • Each application is listed with metadata which you may want to show to the user
Step 4: Download Archive • Location identified in the Atom Feed • Archive is in a ZIP format but there is no need to unzip it
Step 5: Get user parameters • Use WebDeploy APIs to retrieve information about parameters from the package • Generate a form to collect the needed information from the user >msdeploy –verb:getParameters –source:Package=“archive.zip” <parameter name="DBUserName" description="Database UserName for the Application to connect to the database"> <parameterEntry type="TextFilePosition" scope=“application\\settings.php" match="92;20;8" /> <parameterEntry type="TextFilePosition" scope="install.sql" match="8;39;10" /> </parameter> …
Step 6: Install Applications • Use WebDeploy APIs to install the application • The IIS Web Site needs to exist prior to the installation >msdeploy –verb:sync –source:Package=“application.zip” ^ -dest:auto ^ -setParam:name=DBUserName,value=“databaseuser” ^ …
Step 7: Tell the user where the App is • Generate a start URL from the website information you used for the install coupled with the StartPage data from the Atom feed for the application • This should point to the administration page for the site
Web Application Gallery & Platform • Easy for users to find popular applications • Easy for users to install popular apps • Through your automation and UI • Through Microsoft Web Platform Installer • Easy to incorporate the Web Gallery into your UI
Call to Action • Download the App Gallery Control Panel Developer Kithttp://go.microsoft.com/?linkid=9647783 • Add Gallery Discovery and Installation to your Control Panel • Enjoy happy customers installing community applications with ease!