1 / 21

Developing Custom SharePoint applications using VS 2008

Developing Custom SharePoint applications using VS 2008. Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India vedantk@microsoft.com. Agenda. Development Tools Visual Studio 2008 Extensions Project Templates Item Templates Solution Generator

reuben
Download Presentation

Developing Custom SharePoint applications using VS 2008

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing Custom SharePoint applications using VS 2008 Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India vedantk@microsoft.com

  2. Agenda • Development Tools • Visual Studio 2008 Extensions • Project Templates • Item Templates • Solution Generator • Custom Workflow • Deployment

  3. Single Infrastructure For Intranet, Internet, and Extranet Portals Extranet Enterprise Internet Division Team Individual

  4. SharePoint Technology Stack User Interface Windows 2003/2008 Web Application Tier Microsoft Office SharePoint Server 2007 Windows SharePoint Services 3.0 .NET Framework 3.0/3.5 Internet Information Services 6.0/7.0 Windows 2003/2008 Data Tier SQL 2005/2008

  5. Adaptive Development PlatformTools for Any Skill Level Designers & Analysts Professional Developers Power Users

  6. Visual Studio 2008 Extensions • A set of Visual Studio development tools • Makes developing in SharePoint a more streamlined and quicker process. • Note: Does not work with an x64 OS • Use x86 development machine for SharePoint development • When targeting x64 OS, test on x64 • Download from Microsoft Download Center Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2 http://www.microsoft.com/downloads/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-086e32185e68

  7. System Requirements • Operating Systems • Windows Server 2003, or • Windows Server 2008 • Windows SharePoint Services 3.0, or Microsoft Office SharePoint Server 2007 • Visual Studio 2008 • Standard Edition, or • Professional Edition, or • Team System

  8. What's inside VSeWSS v1.2? • Visual Studio 2008 Project Templates • Web Part • Team Site Definition • Blank Site Definition • List Definition • Empty SharePoint Project • Visual Studio 2008 Item Templates (items that can be added into an existing project) Web Part • Custom Field • List Definition (with optional Event Receiver) • Content Type (with optional Event Receiver) • Module • List Instance • List Event Handler • Template

  9. What's inside VSeWSS v1.2? • SharePoint Solution Generator • This stand-alone program generates a Site Definition project from an existing SharePoint site • The program enables developers to use the browser and Microsoft Office SharePoint Designer to customize the content of their sites before creating code by using Visual Studio

  10. DEMO Project Templates

  11. DEMO Creating and Deploying a Web Part

  12. Create Partial trust Web Part • Create a new SharePoint WebPart Project. • Open the AssembyInfo.cs file and into it add the following code: using System.Security; and [assembly: AllowPartiallyTrustedCallers] • Switch to WSP View and open the manifest.xml file • Within the <Assembly> element find the line DeploymentTarget="GlobalAssemblyCache" • Replace it with DeploymentTarget="WebApplication". This causes the assembly to be deployed to the bin directory of the target SharePoint instance

  13. SharePoint Solution Generator 2008 • Stand-alone application which converts a SharePoint site into a Visual Studio site definition project • It can then be compiled into a solution for deployment into a SharePoint farm. • Enables developers to use the browser and SharePoint Designer to customize the content of sites before extending this configured site by creating code in Visual Studio • Unsupported Content • Some site and list templates, such as Wiki Site, Publishing Site, and Portal Site • Lookup fields and custom field types • Some site settings and list settings

  14. DEMO Using the SharePoint Solution Generator 2008

  15. Creating Workflows • Templates available: • SharePoint 2007 Sequential Workflow • SharePoint 2007 State Machine Workflow

  16. DEMO Creating Wrokflows

  17. References • Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2 http://www.microsoft.com/downloads/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-086e32185e68 • Developing SharePoint 2007 Sequential and State Machine Workflows with Visual Studio 2008 http://msdn.microsoft.com/en-us/library/cc936631.aspx

  18. Feedback / QnA • Your Feedback is Important! Please take a few moments to fill out our online feedback form at: << Feedback URL – Ask your organizer for this in advance>> For detailed feedback, use the form at http://www.connectwithlife.co.in/vtd/helpdesk.aspx Or email us at vtd@microsoft.com • Use the Question Manager on LiveMeeting to ask your questions now!

  19. Contact • Email Address vedantk@microsoft.com

More Related