Eric Maurer Copyright Keller Schroder 2008.  Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1  Windows SharePoint Services.

Slides:



Advertisements
Similar presentations
Site Collection, Sites and Sub-sites
Advertisements

Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Developing for SharePoint with Visual Studio Jason Keicher
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Philadelphia Area SharePoint User Group Memory Management in SharePoint 2007 Development Matt Vignau RJB Technical Consulting.
By: Eric Maurer © Keller Schroeder  Rich and interactive user interface  Supports animations and reflection  Data can be refreshed with out doing.
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
Developing Branding Solutions for 2013 Thomas Daly,
Microsoft ® Official Course Working with SharePoint Objects Microsoft SharePoint 2013 SharePoint Practice.
Becky Bertram SharePoint MVP
Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up.
SPC220 Web Template FundamentalsCreating Web Templates Using Web Templates Web Templates and App Webs Wrap Up.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Update your servers to service pack 2. Ensure that the environment is fully functioning. Migrate to 64 bit servers is necessary. REVIEW UPGRADE BEST PRACTICES.
SharePoint Development 101: Feature Design By Becky Isserman
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
SharePoint 2010 and Office 2010 Development Randy Williams Senior Consultant & Trainer Synergy Corporate Technologies.
Web parts for SharePoint. What’s a web part? Application that can be added to a page with a web part zone. Inhierits from web controls Can be developed.
Module 11 : Backup and Restore Jong S. Bok
SharePoint Enterprise Aggregation Caching Feature Product Overview Nimrod Geva Product Group Manager, KWizCom
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
OBJECT REFERENCE. Objective How to work with objects in SharePoint by using classes?
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Workflow Development Overview Architecture Requirements Types of workflows Stages of workflow.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
SharePoint 2010 Search Architecture The Connector Framework Enhancing the Search User Interface Creating Custom Ranking Models.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
New & Improved Events List Relationships and Joins Large List Support Field & List Item Validation.
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
Eric Maurer Copyright Keller Schroder 6/11/2008. Types of Customization Customize pre-installed Microsoft Web Parts i.e. Content Editor Web Part Write.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Event Handlers Overview Classes Simple Event Handler from the SDK Deployment –Object model.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. SharePoint API and Development in ASP.NET Creating “Hello World” application Working with.
Understanding & Securing SharePoint Application Pages Oguz Demirel.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
What’s New in SharePoint 2010 SharePoint 2010 Development Primer New Developer Tools for SharePoint 2010 SharePoint 2010 Integration with PowerShell.
Michael Hofer Senior Consultant Microsoft Corporation.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
© 2009 Ness Technologies – Proprietary and Confidential Kfir Sasson Understanding Features & Solutions In MOSS 2007.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
Microsoft SharePoint Server 2007 Technical Overview Romeo Pruno nonaka.eu.
Module 1: Overview of Microsoft Office SharePoint Server 2007.
Welcome to a MNSPUG Addition! April 8 th, 2009 What You Need to Know About SharePoint Designer (Now That It's Free) Raymond.
Developer Design, build and test customizations Administrator Install and monitor customizations Site Collection Owner Activate and use customizations.
Configuring and Deploying Web Applications Lesson 7.
Module 4: Administering Microsoft Office SharePoint Server 2007.
1111 Creating HTML Programatically Objectives You will be able to Invoke C# code on the server from an ASP.NET page. Write C# code to create HTML.
1 Project 4 Address Lookup. Project 4 Write an ASP.NET app that permits users to retrieve addresses from a potentially large list of addresses. There.
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
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
The Microsoft SharePoint Server Feature and Solution Framework An Overview Michael Mukalian – Technology Manager
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Doug Perkes Senior Consultant Microsoft Corporation.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
PowerShell 101 sharepoint on-premise
Developing Branding Solutions for 2013
Social Media And Global Computing Introduction to Visual Studio
Understanding the Visual IDE
The SharePoint framework
Visual Studio 2010 SharePoint Development Tools Overview
MASTER PAGES.
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
Bijay Kumar Sahoo Office Server & Services MVP (SharePoint)
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Eric Maurer Copyright Keller Schroder 2008

 Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1  Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2  Includes Projects For  Web Parts  List Definition  Site Definitions  Caveats  Must run on a SharePoint server  No visual designer  Be careful when renaming web parts

 Default constructor  Initialize variables and hook up event handlers here  Override Create Child Controls  Add all controls to the web part’s controls  Override Render Contents  This method can be overridden to write content directly to the output.

 SPContext – Current context of the HTTP request  SPSite – Site Collection  SPContext.Current.Site  new SPSite(url)  SPWeb – Site  Spcontext.Current.Web  site.AllWebs[“name”]  SPUser – User Web.CurrentUser

 Do not dispose if using SPContext  This is used internally by SharePoint and it will handle disposing of them when the page is closed  Use dispose if you are using the “new” methods  SPSite site = new Site( you must dispose of the SPSite and SPWeb if used to prevent memory leaks, by using a using statement or a try, catch, finally block.  Also sites or webs created in foreach statements must be disposed. foreach(SPWeb web in site.AllWebs) { //do something here web.Dispose(); }

 Use the Visual Studio Tools to create a Solution file  Use a custom batch file to deploy the web part a feature stsadm.exe -o addsolution -filename webpartpath.wsp stsadm.exe -o deploysolution -immediate -allowGacDeployment -name webpartname.wsp -url -force stsadm.exe -o execadmsvcjobs stsadm.exe -o installfeature -filename webpartname\feature.xml stsadm.exe -o activatefeature –name webpartname -url iisreset