48
Microsoft Certification Exam Coaching Session: 70- 541 Application Development

Microsoft Certification Exam Coaching Session: 70-541 Application Development

Embed Size (px)

Citation preview

Page 1: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Microsoft CertificationExam Coaching Session: 70-541

Application Development

Page 2: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Deploying WSS and Custom ComponentsCreating Site and Feature ComponentsCreating Metadata and Workflow ComponentsDeveloping Using the .NET FrameworkManipulating Site Content using the APIManipulating Site Configuration Using the APIYour Next Steps

Agenda

Page 3: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Shannon Bray

Sr. Solutions ArchitectMCT, MCPD (e), MCITP, MCSD, …Qortex, LLCDenver, CO.

www.shannonbray.comwww.wssclassroom.com

Page 4: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Deploying WSS and Custom Components

Page 5: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Deploying Custom Componets

Bin FolderGAC (Global Assembly Cache)CAS (Code Access Security)12\template\xml12\template\controltemplates12\template\features

Page 6: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Components

Page 7: Microsoft Certification Exam Coaching Session: 70-541 Application Development

IIS Web Root Folders

~/_controlstemplate/YourFolder/YourControl.ascx

Page 8: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Creating Site and Feature Components

Page 9: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Features

Feature.xmlElements.xmlAttributesSTSADM

Page 10: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Features Folder

Page 11: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Master Pages

~masterurl/default.master~masterurl/custom.master

<Module Name="CustomMasterPage" List="116" Url="_catalogs/masterpage" RootWebOnly="FALSE">       <File Url="businesscustom.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" />  </Module>

Page 12: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Master Pages

Page 13: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Site Definitions

12\TEMPLATE\SiteTemplatesOnet.xmlWebTemp*.xmlRootWebOnlySubWebOnly

Page 14: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Site Definitions

Page 15: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Creating Metadata and Workflow Components

Page 16: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Workflow

Workflow OverviewSharePoint DesignerVisual StudioPackagingDistributing Your WorkflowWorkflow Definition Schema

Page 17: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Structure

<Elements Element (Workflow)> <Workflow Element (Elements)> <Categories Element (Workflow)> <AssociationData Element (Workflow)> <MetaData Element (Workflow)> <InitiationType Element (Workflow)> <Modification_GUID_Name Element (Workflow)> <StatusPageUrl Element (Workflow)> <ExtendedStatusColumnValues Element (Workflow)> <StatusColumnValue Element (Workflow)>

Page 18: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Developing Using the .NET Framework

Page 19: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Web Parts

Web PartsWeb Part ZonesSystem.Web.UI.WebControls.WebParts.WebPartWebPartPages.WebPartWebPartPages.ToolPartSafeControlCommunicating Between WebParts

Page 20: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Web Parts

Page 21: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPFeatureReceiver

FeatureActivatedFeatureDeactivatingFeatureInstalled FeatureUninstalling

Page 22: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Feature Receiver

Page 23: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPJobDefinition

DisplayNameFarmLastRunTimeScheduleStatus

Schedule.NextExecution(Date.Now())

Page 24: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

SPJobDefinition

Page 25: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Manipulating Site Content using the API

Page 26: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Lists

Site.Lists[“MyList”]SPList.GetItems()RecurrenceDataIncludeRootFolderSendToLocationNameSendToLocationURL

Page 27: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Lists

Listitems.Delete()Listitems.GetDataTable()SPQueryUpdate vs. SystemUpdate

Page 28: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Lists and List Items

Page 29: Microsoft Certification Exam Coaching Session: 70-541 Application Development

CAML Query

<where><and><eq> varaible1, value1 </eq><eq> variable2, value2 </eq></and>

</where>

select * from listwhere variable1 = value1 and variable2 = value2

Page 30: Microsoft Certification Exam Coaching Session: 70-541 Application Development

CAML Query With Value

<Where> <And>

<Eq> <FieldRef Name=“ID" /> <Value Type="Integer">1</Value>

</Eq> </And> </Where> <OrderBy>

<FieldRef Name="Title" /> <FieldRef Name="ID" />

</OrderBy>

Page 31: Microsoft Certification Exam Coaching Session: 70-541 Application Development

RecurrenceData

Page 32: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Recurrence Data

Page 33: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPFile

ItemLengthNameTitleUrlCheckOutStatusFile.CheckOut()

Page 34: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPAlert Class

SPAlertSPAlertCollection

Page 35: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPField

DefaultValueDescriptionFromBaseTypeGroupHiddenNoCrawlScopeShowIn…

Page 36: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Site Column

Web.Fields.Add(columnName, SPFieldType, required);

Page 37: Microsoft Certification Exam Coaching Session: 70-541 Application Development

DEMO

Adding a Site Column

Page 38: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPItemEventReceiver

ItemAddedItemAddingItemUpdatedItemUpdating

On ‘ing’ events you can set Cancel = true;

Page 39: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Manipulating Site Configuration Using the API

Page 40: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Custom Field Type

FieldType DefinitionField ClassValidationGetValidatedString()

Page 41: Microsoft Certification Exam Coaching Session: 70-541 Application Development

XML Files

Onet.xmlSchema.xmlFeature.xmlFldtypes.xmlElements.xml

Page 42: Microsoft Certification Exam Coaching Session: 70-541 Application Development

SPSecurity

Provides static security management properties and methods

RunWithElevatedPrivileges SetApplicationCrendentialKey

Page 43: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Your Next Steps

Page 44: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Your next steps

Set a Date

Register for exam at

Prometric:

http://www.prometric.com/Microsoft/default.htm

Save your learning plan

Learning Plan for Developing Microsoft Windows

SharePoint Services 3.0 Applications

(Exam 70-541) http://learning.microsoft.com/manager/LearningPlanV2.aspx?resourceId=%7b430d4210-e729-11dc-95ff-0800200c9a66%7d&clang=en-US&cats=%7bd4e8e42c-3d5a-4a6e-915d-d99556a49bd7%7d

Register for Career Assist

When you register:

Second Shot$35 e-learning

collection

http://www.microsoft.com/learning/mcp/offers/secondshot

Page 45: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Collection 5385: Developing Solutions with Microsoft Windows SharePoint Services 3.0 and Visual Studio 2005Collection 5392: Developing and Extending Microsoft Windows SharePoint Services 3.0 with Visual Studio 2005

Blog: www.shannonbray.comWebsite: www.wssclassroom.com

More Information

Page 46: Microsoft Certification Exam Coaching Session: 70-541 Application Development

Questions & Answers

Page 47: Microsoft Certification Exam Coaching Session: 70-541 Application Development
Page 48: Microsoft Certification Exam Coaching Session: 70-541 Application Development

© 2009 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.