Microsoft ® Official Course Designing and Managing Features and Solutions Microsoft SharePoint 2013 SharePoint Practice.

Slides:



Advertisements
Similar presentations
SharePoint Feature and Solution upgrading Bram de Jager | Lead SharePoint Developer | Macaw.
Advertisements

ALM with SharePoint 2010 and Visual Studio 2010 Paul Yuknewicz Lead Program Manager, Visual Studio
Module 4: Deploying and Managing BizTalk Applications
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
Microsoft ® Official Course Interacting with the Search Service Microsoft SharePoint 2013 SharePoint Practice.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Managing Identity and Permissions
Microsoft ® Official Course Developing Optimized Internet Sites Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Publishing and Distributing Apps Microsoft SharePoint 2013 Sriram – SharePoint Practice.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Becky Bertram SharePoint MVP
©2012 Microsoft Corporation. All rights reserved..
Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up.
Microsoft ® Official Course Module 7 Configuring File Access and Printers on Windows ® 8 Clients.
Microsoft Certification Exam Coaching Session: Application Development.
SPC220 Web Template FundamentalsCreating Web Templates Using Web Templates Web Templates and App Webs Wrap Up.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
OFC308 Windows SharePoint Services (version 3) Development: Using Feature and Solution Definitions for Constructing Custom SharePoint Sites Todd C. Bleeker,
SharePoint Development 101: Feature Design By Becky Isserman
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
Microsoft ® Official Course Module 9 Configuring Applications.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
ITE 370. Deployment Deployment is the process used to distribute a finished application (or component) to be installed on other computers.
Implementing Secure Shared File Access
Implementing File and Print Services
Module 8 Configuring and Securing SharePoint Services and Service Applications.
TechEd /22/2017 5:40 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Conditions and Terms of Use
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Upgrading Projects to Visual Studio 2010 Upgrading Projects to SharePoint 2010 Integrating with SharePoint 2010.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
Module 6 Securing Content. Module Overview Administering SharePoint Groups Implementing SharePoint Roles and Role Assignments Securing and Auditing SharePoint.
Module 3 Configuring File Access and Printers on Windows 7 Clients.
Module 7 Planning and Deploying Messaging Compliance.
Module 4 Planning for Group Policy. Module Overview Planning Group Policy Application Planning Group Policy Processing Planning the Management of Group.
Implementing Group Policy
© 2009 Ness Technologies – Proprietary and Confidential Kfir Sasson Understanding Features & Solutions In MOSS 2007.
Microsoft ® Official Course Structuring and Publishing Websites for All Users Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
Module 9 User Profiles and Social Networking. Module Overview Configuring User Profiles Implementing SharePoint 2010 Social Networking Features.
Implementing a Group Policy Infrastructure
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Site Definitions and Features Overview Review of SharePoint 2003 site definitions What’s.
Install a Windows Service Application Windows Development Fundamentals LESSON 3.2.
Microsoft ® Official Course Customizing the Search Experience Microsoft SharePoint 2013 SharePoint Practice.
Microsoft ® Official Course Implementing Enterprise Content Management Microsoft SharePoint 2013 SharePoint Practice.
Module 4: Administering Microsoft Office SharePoint Server 2007.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer.
Application Hosting and Customization Introducing Sandboxed Solutions Executing Code in the Sandbox Sandbox Resource Monitoring.
Windows SharePoint Services Development Part 1: Paul Appleby Application Architect Microsoft Limited.
Windows SharePoint Services v3.0 Martin Parry Developer & Platform Group Microsoft Limited
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager
Microsoft Virtual Academy Chris Oakman | Managing Partner Infrastructure Team | Eastridge Technology Curtis Sawin | Technical Solutions Professional |
Microsoft Installing & Configuring Windows Server Exam Questions Answers Powered By:
A Developer’s Introduction to SharePoint 2013 Apps Ryan McIntyre, MCITP, MCPD National
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Business Connectivity Services in SharePoint 2010 and Office 2010
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft
07 | Workflows Chris Johnson | SharePoint Guru
Vesa Juvonen | Senior Program Manager
Visual Studio 2010 SharePoint Development Tools Overview
Managing Custom Components and Site Life Cycles
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
Presentation transcript:

Microsoft ® Official Course Designing and Managing Features and Solutions Microsoft SharePoint 2013 SharePoint Practice

Module Overview Understanding Features and Solutions Configuring Features and Solutions Working with Sandboxed Solutions

Lesson 1: Understanding Features and Solutions Understanding Features Anatomy of a Feature Understanding Feature Scopes Demonstration: Exploring a Feature Understanding Solutions Anatomy of a Solution Demonstration: Exploring a Solution

Understanding Features What is a Feature? A way of defining and scoping declarative components A mechanism for turning components on and off What can you include in a Feature? Any declarative component How are Features deployed? Manually In a SharePoint solution (farm or sandboxed) In an app for SharePoint

Anatomy of a Feature Feature folder Feature.xml Elements folder Elements1.xml Elements2.xml

Understanding Feature Scopes Farm WebApplication Site Web <Feature Id="..." Title="..." Description="..." Version="..." Scope="Web">...

Demonstration: Exploring a Feature In this demonstration, you will see: How built-in SharePoint Features are structured. How Feature manifest files reference element manifest files. How activation dependencies and feature receivers are configured.

Demonstration: Exploring a Feature

Understanding Solutions What is a solution? A cabinet file with a.wsp solution Farm solutions Sandboxed solutions Solutions in app packages What can you include in a solution? Features Assemblies (sometimes) and files Configuration settings How are solutions deployed? Windows PowerShell (farm solutions) Windows PowerShell or site collection UI (farm and sandboxed solutions) Within an app package

Anatomy of a Solution Solution package (.wsp) Solution manifest (manifest.xml) Features Assemblies

Demonstration: Exploring a Solution In this demonstration, you will: Explore the contents of a solution package. Review a typical solution manifest file.

Demonstration: Exploring a Solution

Lesson 2: Configuring Features and Solutions Planning and Configuring Feature Dependencies Creating Solution Activation Dependencies Demonstration: Using the Visual Studio Designer Managing Feature Upgrades Managing Solution Upgrades Administering Features and Solutions Creating Feature Receivers Discussion: Using Feature Receivers

Planning and Configuring Feature Dependencies Dependency scenarios Grouping (automatic activation) Resource guarantees (manual activation) Dependency rules Same-scope dependencies Cross-scope dependencies Hidden Features Configuring dependencies ActivationDependency element

Creating Solution Activation Dependencies Less common than Feature activation dependencies Solutions typically represent a self-contained solution Features often represent granular functionality Add an ActivationDependency element to the solution manifest file <ActivationDependency SolutionId="..." SolutionName="..." />

Demonstration: Using the Visual Studio Designer In this demonstration, you will see how to use the Visual Studio 2012 Feature Designer to add Feature activation dependencies.

Demonstration: Using the Visual Studio Designer

Managing Feature Upgrades Upgrading a Feature 1. Add new element manifests 2. Add an UpgradeActions element to the Feature manifest 3. Add one or more VersionRange child elements 4. Add actions within each VersionRange element Feature upgrade actions ApplyElementManifests MapFile AddContentTypeField CustomUpgradeAction

Managing Solution Upgrades Approaches to solution upgrades Retract, uninstall, and then reinstall Use the Update-SPSolution cmdlet Retracting a solution is not always possible For example, when a content type in use Updating a solution has some restrictions For example, you cannot add or remove Features Assembly binding redirection

Administering Features and Solutions Administering farm solutions Add the solution to the store Install the solution Retract the solution Remove the solution from the store Administering Features Install the Feature Activate the Feature Deactivate the Feature Uninstall the Feature

Creating Feature Receivers Creating a Feature receiver Inherit from the SPFeatureReceiver base class Override appropriate method for life cycle event Registering a Feature receiver Edit the Feature manifest

Discussion: Using Feature Receivers In what scenarios might you create a Feature receiver? In what scenarios might you add a Feature receiver to an empty Feature?

Lesson 3: Working with Sandboxed Solutions Understanding Sandboxed Solutions Capabilities and Constraints Managing the Sandboxed Solution Life Cycle Creating and Installing Solution Validators Discussion: When Are Sandboxed Solutions Appropriate?

Understanding Sandboxed Solutions Sandboxed solution fundamentals Deployment Scope Code execution Monitoring and throttling Resource points Resource measures Daily limits Per request limits

Capabilities and Constraints Supported operations Limited subset of Microsoft.SharePoint.dll No file system access No network access No elevated permissions Supported components Any declarative component within a Site-scoped or Web-scoped Feature Some programmatic components Full-trust proxies

Managing the Sandboxed Solution Life Cycle Deployment and activation Farm administrators: Windows PowerShell Site collection administrators: SharePoint site UI Versioning and upgrading Solution gallery stores multiple versions Features are upgraded automatically

Creating and Installing Solution Validators Creating solution validators Inherit from SPSolutionValidator Override ValidateSolution Override ValidateAssembly Installing solution validators Deploy validator assembly to the global assembly cache Add the validator to the SolutionValidators collection of the user code service Typically implemented in a Feature receiver class

Discussion: When Are Sandboxed Solutions Appropriate? When would you create a sandboxed solution instead of a farm solution? When would you create a sandboxed solution instead of an app for SharePoint?

Lab: Working With Features and Solutions Exercise 1: Configuring SharePoint Features Exercise 2: Creating Feature Receiver Classes Exercise 3: Creating Features with Dependencies

Lab Scenario Contoso increasingly relies on the assistance of contractors in various business divisions. Each contractor must sign a contract that specifies the terms of engagement and includes a non-disclosure agreement. The management team at Contoso wants a way to centrally manage these agreements. Your requirements analysis shows that you require some custom site columns, a content type, and a custom list template. You will use a Site-scoped Feature to deploy the site columns and the content type. You will create the site columns

Lab Scenario declaratively, and you will use a Feature receiver class to create the content type programmatically. Creating content types programmatically provides more flexibility if you need to update the content type at a later date. You will then create a Web- scoped Feature to provision the list. Because the list relies on the site columns and the content type, the Web-scoped Feature must include a dependency on the Site-scoped Feature.

Module Review and Takeaways