MOSS kehitysympäristö – Yksinkertaisesta laajoihin projekteihin Aku Heikkerö, Vesa Juvonen Microsoft Consulting Services (MCS)

Slides:



Advertisements
Similar presentations
SharePoint 2010 Overview Presented by: Oscar Garcia
Advertisements

Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Module 1: Introduction to SQL Server Reporting Services.
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
MS Access.
Thomas Palmié Architect Microsoft Schweiz Implementierung eines mehrsprachigen Intranets basierend auf SharePoint 2010.
Eralp Erat Senior Software Developer MCP,MCAD.NET,MCSD.NET.
WSUS Presented by: Nada Abdullah Ahmed.
Virtual SharePoint Summit 2010 hosted by Rackspace Overcoming Collaboration Challenges with SharePoint Chris Samson Leslie Sistla Virtual SharePoint Summit.
Todd Klindt Solanite Consulting.  WSS MVP since 2006  Speaker, writer, consultant, Aquarius  Personal Blog
28. Januar, Zürich-Oerlikon. Switch/Update to Team Foundation Server 2012 André Hofmann Software Engineer bbv Software Services AG.
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, Able
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Becky Bertram SharePoint MVP
Creating a SharePoint App with Microsoft Access Services
02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.
In-Place Upgrade to TFS 2010 on existing hardware Not deploying new hardware Databases too large to move Scaling-out, not up Not deploying new hardware.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
OnBase Module Deployment
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
SharePoint Portal Server 2003 JAMES WEIMHOLT WEIDER HAO JUAN TURCIOS BILL HUERTA BRANDON BROWN JAMES WEIMHOLT INTRODUCTION OVERVIEW IMPLEMENTATION CASE.
Workflows in SharePoint Brian Russo RJB Technical Consulting July 2009.
Welcome to the Minnesota SharePoint User Group. Introductions / Overview Project Tracking / Management / Collaboration via SharePoint Multiple Audiences.
Welcome to Philly Code Camp Russ Basiura SharePoint Consultant RJB Technical Consulting
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
SHARE POINT 2010 TRINAY TECHNOLOGY SOLUTIONS © Copyright Trinay Technology Solutions, 39 Buckland St, #5321 Manchester, CT
Building Public Facing Websites with SharePoint 2010 Prepared for ILTA’s SharePoint for Legal Symposium June 16 th, 2010 George Durzi Principal Consultant.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Acceleratio Ltd. is a software development company based in Zagreb, Croatia, founded in We create innovative software solutions for SharePoint,
SharePoint 2010 and Office 2010 Development Randy Williams Senior Consultant & Trainer Synergy Corporate Technologies.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
OM. Brad Gall Senior Consultant
TechEd /22/2017 5:40 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Module 13: Maintaining Software by Using Windows Server Update Services.
Office 365 Platform Flexible Tools Understand different provisioning options and their advantages and disadvantages…
Todd Kitta  Covenant Technology Partners  Professional Windows Workflow Foundation.
Functional comparison between Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 October 14 th, 2009, Lexington Microsoft Users.
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Module 4 : Installation Jong S. Bok
Upgrading Projects to Visual Studio 2010 Upgrading Projects to SharePoint 2010 Integrating with SharePoint 2010.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
Office Business Applications Workshop Defining Business Process and Workflows.
MOSS Sovelluskehitysalustana - Miksi web-sovellukset kannattaa tehdä MOSS:n päälle Aku Heikkerö, Vesa Juvonen Microsoft Consulting Services (MCS)
Michael Hofer Senior Consultant Microsoft Corporation.
Separating the Interface from the Engine: Creating Custom Add-in Tasks for SAS Enterprise Guide ® Peter Eberhardt Fernwood Consulting Group Inc.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
MOSS Ongelmienselvitys - Mitä nyt kun se ei toimi? Aku Heikkerö, Vesa Juvonen Microsoft Consulting Services (MCS)
Intro to Datazen.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
Windows SharePoint Services Installation and Configuration.
NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Integrating with and Extending Visual Studio. Objectives.
Eliminate Team Build Headaches with Unit Tests, WiX and Virtualization Benjamin Day
YOUR LOGO Phase 2 International Providing critical business software solutions at affordable prices.
The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager
TRINAY TECHNOLOGY SOLUTIONS
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
How to be a SharePoint Developer
What is SharePoint and why you should care
CE-105 Spring 2007 Engr. Faisal ur Rehman
Introduction to SharePoint 2007
Visual Studio 2010 SharePoint Development Tools Overview
Office 365 Development July 2014.
Microsoft Dynamics.
Mark Quirk Head of Technology Developer & Platform Group
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

MOSS kehitysympäristö – Yksinkertaisesta laajoihin projekteihin Aku Heikkerö, Vesa Juvonen Microsoft Consulting Services (MCS)

Agenda Sovelluskehitysympäristö –Team Foundation Server:n integroiminen osaksi kehitystä Visual Studio sovellusrakenteet ja suositukset Kikkoja ja ohjeita sovelluskehitykseeen

Who are we? Aku Heikkerö –Senior Consultant, Team leader, BPIO Service Line, Enterprise Services, Microsoft Finland –Member of a worldwide SharePoint Ranger team –In Microsoft since Companies before Microsoft – ICL, Fujitsu – Vesa Juvonen –Software Development Consultant, BPIO Service Line, Enterprise Services, Microsoft Finland –In Microsoft since 2006, started IT studies 1996 (graduation took a while). Companies before Microsoft – ICL, Fujitsu, BasWare working as Software Architect, Lead Software Development Engineer etc. – –Blog:

Development environments

Development environment Can be scaled from small to extra large depending on the available resources Use always some source control system to ensure that code is not lost –Draft code should be also included in source control TFS recommended, since it provides much more than just source code

Development environment Windows SharePoint Services only runs on Windows Server 2003 or later –Windows Server 2008 runs only with SP1 You can develop without it, but… You need a copy to deploy/debug Options –Make it your development OS –Run it in a Virtual PC / Virtual server –Have a standalone server at your disposal

Shared resources model Each developer has their own environments –Either in VPC or in individual computers Advantages –Individual environments don’t require that much hardware Disadvantages –You need to have access to database server to be able to develop Database server Source control

Centralized environments Virtualized environments are hosted from centralized server Advantages –Environments are managed from one place – Copy / clone etc. –Does not require much resources on individual computers Disadvantages –You need to have access to server –Requires heavy hardware to centralized server Centralize Server Virtualized MOSS environments Source control

Decentralized environments Each developer has their own environments –Either in VPC or in individual computers Advantages –Supports offline developement –Environments can be reset / cloned / copy easily Disadvantages –Requires more hardware from individual computers Source control

Continues Integration Functionalities are automatically deployed to integration server Advantages –Functionalities are automatically tested –Progress can be followed by other than developers –TFS provides much more than just compiling the code Disadvantages –Requires time and effort to setup – it’s however worth it! Team Foundation Server Development integration server

Ideal Devevelopment VPC Necessary Windows Components – IIS, SMTP, POP3 Service (AD).NET Frameworks: 2.0, 3.0, 3.5 Visual Studio 2005 Team System + Team Explorer (TFS Client) –TFS Client is needed to connect to centralized source repository Office Clients including SharePoint Designer (SP1) Software Development Kits (SDKs) –Microsoft Office SharePoint Server 2007 SDK Microsoft Office SharePoint Server 2007 Enterprise Service Pack 1 for the WSS3.0 and for MOSS 2007 SQL Server 2005 with latest service pack Additional tools to help development process: –Internet Explorer Developer Toolbar –.NET Reflector –Fiddler –U2U CAML Builder –Additional browsers – especially for Internet projects

VPC Minimum of 2 GB memory (4 GB preferred) –If 4 GB, then allocate 2 GB for the virtual machine –If you have 1GB in your computer, don’t even think about hosting MOSS / WSS Fast hard disk –If developer uses laptop, then fast external hard drive is recommended, because disk performance –Also each virtual environment can take easily 10 GB of hard disk space

Different Environments There are multiple different environments on which the developed functionalities have to be deployed –Continues testing important –Multiple deployments for the functionalities Environments –Development integration server –Quality assurance –Production Possible seperate authoring environment Development integration environment as part of the development Quality Assurance (testing) environment Production environment

BUILD AUTOMATION AND MOSS

Customer Perspective Customer just wants it to work!!!!

Build Automation is not … F5

324 1 Development environment 1) Developer with dedicated MOSS  Run it in a Virtual PC 2) Another developer with separate module responsibilities 3) Other project members  Observe project progress 4) Development Server  Ideally automated process to build daily versions based on labelled artefacts in the source control

Automating portal creation Option 1 –Create custom ms build tasks to deploy the code to MOSS portal during the building of the project Option 2 –Compile the code to drop location in the integration server using TFS build engine –Schedule custom application to deploye the solution package (wsp) to portal and recreate the hierarchies

Build Process in one large project Complete build authoring servers –DeleteSite –DeleteWebApp –CreateWebApp –AddZoneUrl –AddHostHeader –iisReset –CreateAppFormsVirtualDirectory –$(CreateKeyFiguresVDir) –Retractsolutions –DeleteSolutions –AddSolutions –DeploySolutions –CreateSite –CreateVariations –AddReusableContent –ConfigureNavigation –Install404ErrorPage –CopyConfigFiles –AddUsers –CopyWebServerExtensions –CopyFormsWebSite –$(DeployKeyFigures) –ModifyOrderableReports –RestartTimerJobs –CreateWeb –$(CreateTestDataTarget) –(Automatic testing) –BackupSite Complete build front end servers –CreateAppFormsVirtualDirectory –Retractsolutions –DeleteSolutions –AddSolutions –DeploySolutions –Install404ErrorPage –CopyConfigFiles –CopyWebServerExtensions –CopyFormsWebSite Upgrade build ValidateParameters UpgradeSolutions Execadmjobs DeactivateFeatures iisReset CopyConfigFiles CopyWebServerExtensions CopyFormsWebSite $(DeployKeyFigures) ModifyOrderableReports;BackupSite

Real Life MCS -.COM case 1.TFS builds the solution (wsp) package including also the necessary assemblies 2.Custom application is scheduled using windows timer to start after solution package has been created Removes the old portal Retracts the old solution Deploy new version Creation of the portal using portal site definition Set default anonymous / user access Configure other settings as part of the process Same tool was also used by the developers during the project to recreate the development portal to VPC’s

Visual studio project model and development process

Development Tools Microsoft SharePoint Designer does not really fall in the category of development tools but provides a design experience for SharePoint that can be leveraged by developers Visual Studio 2005 –Extended with WSS 3.0 Extensions for VS2005 v1.1 –Extended with Windows Workflow Foundation Extensions –Extended with Workflow Starter Kit Visual Studio 2008 –New Visual Studio Tools for Office version –Upcoming WSS 3.0 Extensions for Visual Studio v1.2 will support VS2008 – Expect by June 2008

Development process User interface customizations cannot be exported Due nature of SharePoint, development happen by creating bit’s and pieces –Features, Web Parts, Web Controls, Metadata files, site definitions etc.

Example module plan

Development process Tools and extensions for the SharePoint are useful, but not recommended directly to production usage –Use them to verify the functionalities and transfer the tested functinalities to official project Build up with debug project Test functionalities in individual environments Transfer the code to official project Test with the official deployment

Visual Studio Solution Create solution ready for the project and define the initial settings as first step in the project Structure / template should have seperate places for different kind of functionalities –Web parts –Feature receivers –XML metadata –Aspx files –Etc.

Utilize features and solution packages Encapsulate your customizations to features to automate the deployment from one environment to another

Resources Files Imitate the 12 hive in the resources project –Everybody in project can easily track what goes where 12 hive - C:\program files\common files\microsoft shared\web server extensions\12

Solution structure and usage

Summary There are multiple different models for the development environment –Usage depends on the project / company size and overall recommendations Use predefined solution structures as part of the development models Encapsulate your customizations to features and solutions

More information SharePoint community – SharePoint product team blog – Visual Studio structure used in demos and more guidelines (in future) –