SlideShare a Scribd company logo
Wake up!
SharePoint for ASP.Net Developers(It’s gonna be ok, really)
Who are you?
Me:LiquidHub Solution ArchitectSharePoint ArchitectDeveloperFatherVirginia Tech HokieGamerWorld Famous Jungle Cruise Skipper (ret.)
SharePoint for the ASP.Net DeveloperWhat’s different?What’s the same?What tools do I need?10 things every SharePoint developer should knowHow to get your code rejected by your SharePoint Architect(s)Resources
What’s different?You get a lot of functionality for freeAuthentication/AuthorizationPage TemplatingWorkflow hosting/reportingData storageYou get a LOT of functionality for free
Federated Search
Excel Data Services
Business Connectivity Services
Single Sign-On
Etc.LOTMetadata management
Access Services
Scalable Service Hosting
Visio Workflow integration
Etc.What’s different?Website StructureWeb Application -> Site Collection -> S.C. Root Web -> SubwebsDeploymentCode -> Assembly -> Feature (usually) -> Package (.WSP)Fea⋅ture /ˈfitʃər/ -nounA functional unit of SharePoint functionality, scoped at a Farm, Web Application, Site Collection, or Web levelPackagesFirst added to the server farmThen, deployed to individual web applications (or globally)
What’s the same?SharePoint is an ASP.Net appWeb.configHTTPHandlers/HTTPModulesAuthenticationMaster PagesWeb Parts == Composite Server ControlsInherit from System.Web.UI.WebControls.WebParts.WebPartPostbacks/Event Lifecycle Model
What tools do I need?Virtual Machine w/ Visual Studio, SQL Server, Active Directory, IIS, and MS Office running a server OS (64-bitfor SP 2010)Microsoft Office SharePoint Server 2007 SDKBDC definition editorWorkflow samples and lots moreMicrosoft SharePoint 2010 SDKDocumentationCode samplesSharePoint Visual Studio add-insWindows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2 (VSeWSS)WSPBuilder (for VS 2008/SP 2007 or VS/SP 2010)
Visual Studio 2010 Tools for SharePoint Development (SP 2010 Only)Add-Ins: SharePoint vs. Visual StudioSharePoint 2007SharePoint 2010VS 2008VS 2010
Things every developer should know
10 Things Every SharePoint Developer Should KnowWhenever possible, avoid creating custom Site Definitions
10 Things Every SharePoint Developer Should KnowSolution packages are NOT side-by-side, versioned deployments
10 Things Every SharePoint Developer Should KnowWeb.config changes should be made in code, not by handSPWebConfigModification10 Things Every SharePoint Developer Should KnowSharePoint Designer can be the enemy of performance
10 Things Every SharePoint Developer Should KnowOut of the box master & layout pages should never be modified
10 Things Every SharePoint Developer Should KnowJavaScript and Publishing Content Pages do not play well togetherOK (In a Content Editor Web Part):<script type="javascript">…</script>Not OK (CEWP or page content):<a href="#" onclick="javascript: …">link</a>List data is always stripped of JavaScript
10 Things Every SharePoint Developer Should KnowYes, you can have ASP.Net “yellow screen of death” callstacks on errorsIn your web.config file:Set mode to “off” in the customErrors elementSet debug to “true” in the compilation elementSet CallStack to “true” in the SafeMode elementIn code!SPWebConfigModification10 Things Every SharePoint Developer Should KnowThere is a right and very wrong way to iterate through a SharePoint listOK:SPListItemsCollection items = myList.Items;for (int i = 0; i < items.Count; i++){	  // loop}Not OK:foreach (SPListItem item in myList.Items){  // loop}
10 Things Every SharePoint Developer Should KnowMany of the out-of-box web part classes are inheritable (but not all)
10 Things Every SharePoint Developer Should KnowThe rules for proper disposal of SharePoint objects isn’t cut & dry – but there is help.SPDisposeCheck
How to get your code rejected by your SharePoint Architecture GroupDon’t dispose of your SPSite and SPWeb (and related) objects properlyThe SPDisposeCheck utility is invaluable for thisUse SPSecurity.RunWithElevatedPrivileges when unnecessary or just plain badlyLog errors to whatever’s handy at the timeMake changes to the web.config file without consideration for others

More Related Content

PPTX
Custom Applications - What, When, and Why
PPTX
SharePoint 2010 - InfoPath, Workflow
PPTX
Localizing SharePoint: Adding Multi-language Support to Your Site
PPTX
SharePoint Development 101
PPTX
Do's and don'ts for Office 365 development
PPTX
Chris O'Brien - Introduction to the SharePoint Framework for developers
PPT
My cool new Slideshow!
PPTX
SharePoint PowerShell for the Admin and Developer - A Venn Diagram Experience
Custom Applications - What, When, and Why
SharePoint 2010 - InfoPath, Workflow
Localizing SharePoint: Adding Multi-language Support to Your Site
SharePoint Development 101
Do's and don'ts for Office 365 development
Chris O'Brien - Introduction to the SharePoint Framework for developers
My cool new Slideshow!
SharePoint PowerShell for the Admin and Developer - A Venn Diagram Experience

What's hot (19)

PPTX
SharePoint Framework 101 (SPFx)
PPTX
Office Add-in development
PDF
SPCA2013 - It’s Me, and Here’s My ProofIdentity & Authentication in SharePoin...
PPTX
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
PPTX
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
PPTX
Developing Office Add-Ins
PPTX
Chris OBrien - Weaving Enterprise Solutions into Office Products
PPTX
Alfresco Digital Business Platform Builder Experience
PDF
SPUnite17 SPFx Extensions
PDF
Chapter 1 (asp.net over view)
PPTX
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
PDF
SPUnite17 Introduction to the Office Dev PnP Core Libraries
PDF
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
PPTX
Application Lifecycle Management for Office 365 development
PDF
SPUnite17 Timer Jobs Event Handlers
PDF
Getting started with content deployment in SharePoint 2013 SPFestDC 2015
PPTX
Office 365 Connectors
PDF
O365Con18 - Security and Compliance - Liz Sundet
PDF
Naked and afraid Offline Mobile
SharePoint Framework 101 (SPFx)
Office Add-in development
SPCA2013 - It’s Me, and Here’s My ProofIdentity & Authentication in SharePoin...
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Developing Office Add-Ins
Chris OBrien - Weaving Enterprise Solutions into Office Products
Alfresco Digital Business Platform Builder Experience
SPUnite17 SPFx Extensions
Chapter 1 (asp.net over view)
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
SPUnite17 Introduction to the Office Dev PnP Core Libraries
SPUnite17 Migrating your Customizations from On-prem to SharePoint Online
Application Lifecycle Management for Office 365 development
SPUnite17 Timer Jobs Event Handlers
Getting started with content deployment in SharePoint 2013 SPFestDC 2015
Office 365 Connectors
O365Con18 - Security and Compliance - Liz Sundet
Naked and afraid Offline Mobile
Ad

Similar to SharePoint for ASP.Net Developers (20)

PPTX
SharePoint 2010 Application Development
PPT
Best Practices Configuring And Developing Share Point Solutions
PPTX
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
PPTX
SharePoint 2010 developer overview (in Visual Studio 2010)
PPTX
SharePoint 2010: What's New For Developers
PPTX
Intro to SharePoint for Developers
PPTX
Sps Boston The Share Point Beast
PPTX
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
PPTX
SharePoint 2010 Application Development Overview
PPTX
SPSDenver - Wrapping Your Head Around the SharePoint Beast
PPT
4 tools, sandboxed solutionds, web part development
PPTX
SP2010 Developer Tools
PPTX
Share point development 101
PPTX
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
PPTX
SharePoint Design & Development
PPTX
SharePoint 2010 Developer 101
PPT
SharePoint Developer Education Day Palo Alto
PPS
SharePoint 2007 Presentation
PPTX
Introduction to SharePoint Developer
PPTX
Getting Started with SharePoint Development
SharePoint 2010 Application Development
Best Practices Configuring And Developing Share Point Solutions
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
SharePoint 2010 developer overview (in Visual Studio 2010)
SharePoint 2010: What's New For Developers
Intro to SharePoint for Developers
Sps Boston The Share Point Beast
SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Hous...
SharePoint 2010 Application Development Overview
SPSDenver - Wrapping Your Head Around the SharePoint Beast
4 tools, sandboxed solutionds, web part development
SP2010 Developer Tools
Share point development 101
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint Design & Development
SharePoint 2010 Developer 101
SharePoint Developer Education Day Palo Alto
SharePoint 2007 Presentation
Introduction to SharePoint Developer
Getting Started with SharePoint Development
Ad

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
KodekX | Application Modernization Development
PDF
Approach and Philosophy of On baking technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
CIFDAQ's Market Insight: SEC Turns Pro Crypto
NewMind AI Weekly Chronicles - August'25 Week I
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KodekX | Application Modernization Development
Approach and Philosophy of On baking technology
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
Modernizing your data center with Dell and AMD
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation_ Review paper, used for researhc scholars

SharePoint for ASP.Net Developers