Jeremy thake introducing alm to share point development implementations (apr2010)

  • View
    2.470

  • Download
    0

Embed Size (px)

DESCRIPTION

An introduction to SharePoint 2010 Development with ALM. Demonstrates Static Code Analysis with SPDisposeCheck, check-in policies and TFS 2010 Build automation.

Transcript

  • 1.Introducing SharePoint 2010 Development to ALM
    #ALM07
    Jeremy Thake
    wss.made4the.net
    jthake@made4the.net
    @jthake MCTS MCT - vTSP

2. JeremyThake
Microsoft Virtual Technology Specialist
SharePoint Consultant
Microsoft Certified Trainer (MCT)
Facilitator of Perth SharePoint User Group
3. Agenda
Challenges of SharePoint 2007 Development
Enhancements
Environment, Platform, Toolset
Demos
Code Analysis, Build Server
4. Keep your hand up if
Youve developed on SharePoint
You used source control
You used a build server
You ran SPDisposeCheck
You have grey hair
5. Challenges of SharePoint 2007 dev
Environment setup
Platform learning curve
Toolset support
Team development
Versioned releases
6. ENHANCEMENTS
7. Visual Studio 2010
8. DEVELOPMENT ENVIRONMENT
9. Development Environment
Windows 7/Vista SP1 support
Must be 64-bit
Requires min 4Gb RAM for Foundation
SharePoint 2010 must be installed locally
Wizard installs and configures most things
10. PLATFORM ENHANCEMENTS
11. Business Connectivity Services (BCS)
Office Apps
Client Runtime
Offline Operations
Cache
Design Tools
SharePoint
Visual Studio 2010
Enterprise
Search
Development
Platform
Business Intelligence
Enterprise content mgmt
Collaboration social
ECT Store
Runtime
Security
Solution Packaging
Out of the box UI
SharePoint Designer 2010
Web 2.0
DB
WCF
Web Service
.NET LOB
12. Overview of Data Technologies
REST APIs
Strongly-typed lists
ClientOM
Weakly-typed lists
Client-side
Data Platform
Farm
Site
List Data
External Lists
ServerOM
Server-side
Weakly-typed lists
LINQ
New in 2010
Improved
Strongly-typed lists
13. Solutions
Sandboxed solutions (think cloud)
Developer dashboard
Support for feature versioning
14. List Improvements
Scalability and Performance
Relationships
Validation
Lookup to multiple columns
List Index Auto creation
List Query Throttling
XSLT views
15. TOOL ENHANCEMENTS
16. SharePoint Tools Continuum
Professional developer
Business Analyst/Process Designer
Designer/IW/Power User
Import
Create lists & libs
Design Web Pages
Web part hook-up
Views & forms
Declarative Workflows
Custom Web Parts
Code Workflows
Event Receivers
List Definitions
Application Pages
Design skeleton workflow processes
View workflow visualizations
Design data-backed business diagrams
WSP Package
Export
17. VS2010 improvements
Source control support
F5 debugging
Visual Web Part Designer
Server Explorer
Package Designer
Feature Designer
Extendible
18. F5 Debugging
DEMO
19. CODE ANALYSIS SPDisposecheck
DEMO
20. Its not perfect
Backwards compatibility
.net 4.0 support
64-bit support in VS2010
Unit testing
Web testing
Accessibility
21. BUILD SERVER
DEEP DIVE
22. Build Process
23. Build Process
24. Natalie (Excelle),0273316688
Natalie (Excelle),0273316688
Dev PC
Team Foundation Server
Fix Bugs
(repeat as necessary)
Check In
Development
F5 Deploy
Smoke Testing
Nightly build
-OR-
Continuous
Integration
Staging
Build Server
Team Build
Check in WSP
Build
SP2010 DLLs
Bugs
Unit Testing
Warm-blooded
user testing
WSP
WSP
Install and Activate [script]
Automated testing
25. Configuring a build
DEMO
26. 27. TFS 2010 64-bit Issue
TFS 2010 RC (and RTM) has a bug
Code Analysis isnt installed
Magic steps on SharePointDevWiki.com
Thanks to:
Duane Kanz,Ravs Kaur, Tom Marsh from Microsoft
28. QUESTIONS
DEMO
29. SharePoint 2010http://sharepoint.microsoft.com/
SharePoint Developer Centrehttp://msdn.microsoft.com/en-us/office/aa905503.aspx
FREE conference videos & slideshttp://msdn.microsoft.com/en-us/sharepoint/ff405669.aspxhttp://www.microsoft.com/downloads/details.aspx?FamilyID=f8cb362c-75ad-4cb9-9fbc-3abcdf6afeaf&displaylang=en
SharePoint Patterns & Practices Group (SPG)http://www.microsoft.com/spg
SPDevWikiWeb Casthttp://sharepointdevwiki.com/x/A4BlAQ
SharePoint ALM White Paperhttp://www.repliweb.com/
SPDisposeCheckStatichttp://spdisposecheckstatic.codeplex.com/
Resources
30. #ALM07