windows application ecosystem
Post on 22-Feb-2016
39 Views
Preview:
DESCRIPTION
TRANSCRIPT
Windows Application EcosystemCrystal HoyerProgram ManagerIIS Team
Microsoft Confidential Information
Preview of features that will be announced at MIX09Please do not blog, take pictures or video of session
AgendaWindows Web Application EcosystemWeb Application GalleryWeb Platform Installer V2Control Panel Integration
OverviewGetting Started ( includes Code Walkthrough)
Goals of the Web Application GalleryMake it easy to find great Web applications!Provide a social hub for community feedbackEnable simple, streamlined installation
Web Application Gallery isA community web site
Allows developers to submit applicationsAllows users to comment and rate applications
InfrastructureCaptures users feedbackCommunicates app information through an a feed
Policy Constraints for application submission
The Web Application Gallery Schematic
Application Database
App MetadataATOM Feed
Web Platform Installer(WebPI)
App Package
XML Manifest
Control Panel
Web Deploy InstallApp
Microsoft Web Platform Installer (WebPI V2)
Simplifies discovery…Extensible product list for Microsoft Web stack, including new IIS extensionsThree 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 componentsLogging for diagnosticsAutomatic handling of reboots
Simplifies updates…XML-based manifest for easy updates of product listAutomatic upgrade of the Installer itself
Install the Microsoft Web Platform
ArchitectureProduct XMLWeb PI UbiquityCommunity App demo
WebPI Version 2 : Engaging the Community
Microsoft Confidential
DevelopersApplication CommunitiesShared HostersDedicated HostersControl Panel Vendors
Application Ecosystem
Great Community Apps
Rich Supply of Hosting
Solutions
Ubiquitous Deployme
nt
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 applicationsThrough any app gallery-enabled Control PanelVia App Developer Web siteThrough the Microsoft Web App GalleryInside Web Platform InstallerInside IIS Manager
Gallery Enabled Control PanelFeed provides list of applications
WebDeploy API provides services to
Get parameters app needs for installInject user parametersInstall application
<visualize your control panel here>
IIS ManagerEnables full Web PI experience inside IIS ManagerEnables developers and administrators to discover and install apps in context of managing IISAllows for local and remote deployment of applications for dedicated and shared hosting
Windows Web Application GalleryMicrosoft.com pages dedicated to your app
Can include text, images and video demoEnables social interactions: rating and comments
Search, sort, and browse app categoriesOne-click launches Web PI install for your app
Web Platform InstallerSimple, unified install experience for Microsoft Web Platform and Windows Application GalleryInstalls IIS, ASP.NET, SQL Server, Visual Web Developer Express, and platform extensionsDriven through ATOM feed, dynamically updated as new releases occur
Windows Server PlatformCode Walkthrough
Get app list Gather parameters from userInstall app
How-to Get Started: Control Panel Vendor / Automator
1. Download the Application Gallery Developer Kit
2. In your applicationa. Subscribe to the App Gallery ATOM feedb. Present user app list through your UIc. Retrieve Application installation packaged. 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 itWeb Deploy APIs for installing appsBest Practices for running apps on WindowsSample C# and PHP code for working with the gallery feed
Step 2: Subscribe to the App List
List delivered as an Atom formatted XML fileRetrieved from http://go.microsoft.com/?linkid=9647960Applications are listed as entries with a type of application:
<feed>
</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>
Step 3: Ask user to select AppEach application is listed with metadata which you may want to show to the user
Step 4: Download ArchiveLocation identified in the Atom FeedArchive is in a ZIP format but there is no need to unzip it
Step 5: Get user parametersUse WebDeploy APIs to retrieve information about parameters from the packageGenerate 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 ApplicationsUse WebDeploy APIs to install the applicationThe 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 isGenerate a start URL from the website information you used for the install coupled with the StartPage data from the Atom feed for the applicationThis 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 UIThrough Microsoft Web Platform Installer
Easy to incorporate the Web Gallery into your UI
Call to ActionDownload the App Gallery Control Panel Developer Kit http://go.microsoft.com/?linkid=9647783 Add Gallery Discovery and Installation to your Control PanelEnjoy happy customers installing community applications with ease!
Questions?
top related