ES15  Saad Ladki Program Manager Microsoft Corporation       How do I…      Saad Ladki Program Manager Microsoft Corporation.

Download Report

Transcript ES15  Saad Ladki Program Manager Microsoft Corporation       How do I…      Saad Ladki Program Manager Microsoft Corporation.

ES15
 Saad Ladki
Program Manager
Microsoft Corporation






How do I…




 Saad Ladki
Program Manager
Microsoft Corporation




 Saad Ladki
Program Manager
Microsoft Corporation
Control and
instruct
Web Deployment
Engine
Understand
how to
actually get
Have
set of
the
joba done
common
interfaces
Manifest
Package
Web Deployment Engine
Manifest
Provider
IISApp
Provider
GetMetadata()
Package
Provider
ContentPath
Provider
SQL Server
Provider
Site Content
SQL Server Database
Add()
Modify()
Delete()
ApplicationHost.config
Creating a package…
using Microsoft.Web.Deployment;
string packageFile = @"c:\mysite.zip";
using(DeploymentObject siteObject =
DeploymentManager.CreateObject(
DeploymentProvider.IisApp, “My Site”))
{
siteObject.SyncToPackage(packageFile,syncOptions);
}
Installing a package…
using Microsoft.Web.Deployment;
string packageFile = @"c:\mysite.zip";
using (DeploymentObject package =
DeploymentManager.CreateObject(
DeploymentProvider.Package, packageFile))
{
package.SyncToAuto(syncOptions);
}
 Saad Ladki
Program Manager
Microsoft Corporation

Takeshi Eto
VP Business Development

Aristotle de la Cruz
Developer



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

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
 Saad Ladki
Program Manager
Microsoft Corporation
Scenarios





Components
Web Management
Service
Internet
Developer
1. Deployment request is sent to the IIS 7.0 server.
2. Web Management Service forwards the request to the
Web Deployment Agent.
3. Web Deployment Agent validates user credentials
against the Deployment Authorization Store.
Web
Management
Agent
Web
Deployment
Agent
Authorization
Store
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>
<runAs identityType="SpecificUser"
userName="configuser"
password="[enc]" />
</rule>
</authorization>
</delegation>







IIS Settings
Web Content
Databases
MS Build
Team Build
 Saad Ladki
Program Manager
Microsoft Corporation










http://labs.discountasp.net

http://www.iis.net
www.microsoftpdc.com
© 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.