5. CodeInformation TechnologyObjectives
Deployment Solutions
• Implementation of packaged code in
development environment
• Modification of deployment options and
parameters
• Retraction of deployed solutions
• Elimination of repetitive manual processes
which decrease productivity
• Single-click build/package/deploy process
integrated into VS IDE
11. Visual Studio Integration
Information Technology Solutions
• Single unified interface for code build,
package and deployment process
• Auto-discovery of mapped assets
• Visual package explorer
• Edit-in-place configuration files
(manifest.xml)
• Extensible framework which can be
modified to suit various requirements
12. VS2010 Deployment Process
Information Technology Solutions
Create
Features Artifacts
Build
Pre-Build Actions Post-Build Actions
Package
Manifest Directives Cabinet (WSP)
Deploy
Deployment Tasks Deployment Actions Conflict Resolution
13. Create
Information Technology Solutions
• SP Project Items
(SPI’s) provide pre-
configured artifacts
for common
SharePoint projects
• Automatic generation
of Features,
Manifests, .webpart
and supporting files
• Additional SPI’s via
CKS:DEV
14. BuildInformation Technology Solutions
• Projects expose
SharePoint-specific
properties
• Selectable
deployment to BIN or
GAC
• Scripts and STSADM
may continue to be
used with pre- and
post-build commands
15. Package
Information Technology Solutions
• Packaging occurs after
the build process and
before the deployment
Build
process
• Dependent upon auto-
generated configuration
files Package
• All projects in solution
will be packaged but
only those marked as
“start up” will be
deployed Deploy
16. Package Elements Solutions
Information Technology
• Manifest
– Auto-generated
– Merge and overwrite
options
• Directives
– No DDF file required
• Cabinet
– WSP constructed from
project assets
– Use Packaging
Explorer to determine
contents of package
17. Deploy
Information Technology Solutions
• New set of
extendable
deployment
interfaces
• Deployment
Configurations
• Deployment Steps
• Conflict Resolution
• SharePoint
Commands
18. DeploymentTechnology Solutions
Information Configurations
• Deployment configurations are comprised of a set of
deployment steps and related actions
• Pre and post-deployment commands may be attached
to any deployment configuration
• Two deployment configurations ship OOTB:
– Default
– No activation
• Custom configurations can be created using any
combination of steps
• Only one active configuration per project
19. Deployment Steps Solutions
Information Technology
• Drag-and-drop
association with
Deployment
Configuration
• Specifies order of
execution for both
deployment and
retraction
• Each step comprised
of one or more tasks
20. Conflict Resolution Solutions
Information Technology
• Built-in conflict resolution for default SPI’s
– Automatic
– Prompt
– None
• Customizable detection and resolution via
SharePoint Project Item Extensions
• Removes artifacts previously installed and
activated
– Delete list, remove web part from page and
gallery, disassociate workflow, etc.
24. SharePoint Commands
Information Technology Solutions
• Execute SharePoint-
specific commands
in a 64-bit process
• Provide full access
to SharePoint
Object Model from
deployment context