New SharePoint Features in Visual Studio 2012!

2,994 views

Published on

Speaker: Paul J. Swider

The Visual Studio team has provided SharePoint developers with new templates and project items in the latest release of Visual Studio. Now developers have new templates and tools to enhance the developer experience within SharePoint 2010 and SharePoint 2013. In this session learn about compatibility, upgrading source code and what’s new with SharePoint development and Visual Studio 2012.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,994
On SlideShare
0
From Embeds
0
Number of Embeds
62
Actions
Shares
0
Downloads
28
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Build a simple pivot table to interact withAttach a pivot table to Adventure Works CubeUse Internet Sales as measure, Sales Territory on the Columns, and Date.Calendar on the rowAdd a pivot chart on a second sheetName the chartPublish to SharePointView in Web Page and explore optionsExplain security options SSS vs None and how unattended service worksShow Excel Services configurationExplore REST optionsBrowse to a chart in a web part and see the image displayed in the browserhttp://moss.contoso.com/_vti_bin/ExcelRest.aspx/sites/Demo07/Shared%20Documents/Internet%20Sales.xlsx/Model/Charts('Chart%201')Add the link to a page in the site to show relationshipsChange the data and refresh the page to see the changesExpand/collapse an item in the pivot chart
  • Build a simple pivot table to interact withAttach a pivot table to Adventure Works CubeUse Internet Sales as measure, Sales Territory on the Columns, and Date.Calendar on the rowAdd a pivot chart on a second sheetName the chartPublish to SharePointView in Web Page and explore optionsExplain security options SSS vs None and how unattended service worksShow Excel Services configurationExplore REST optionsBrowse to a chart in a web part and see the image displayed in the browserhttp://moss.contoso.com/_vti_bin/ExcelRest.aspx/sites/Demo07/Shared%20Documents/Internet%20Sales.xlsx/Model/Charts('Chart%201')Add the link to a page in the site to show relationshipsChange the data and refresh the page to see the changesExpand/collapse an item in the pivot chart
  • New SharePoint Features in Visual Studio 2012!

    1. 1. Visual Studio 2012PAUL J. SWIDER, REALACTIVITYSHAREPOINT AND PROJECT CONFERENCE ADRIATICSZAGREB, 11/28/2012
    2. 2. Objectives• Understand new requirements and compatibility• Understand changes for SharePoint developers
    3. 3. Agenda• Upgrade and Compatibility• New Features• Site Columns, Lists and Content Types• Visual Web Parts• Remote Development and Deployment• Profile and Testing
    4. 4. UPGRADE AND COMPATIBILITY
    5. 5. Compatibility with Previous Releases• NET 4.5 is an in-place update of .NET 4 • Still using 3.5 for SharePoint 2010 • SharePoint 2013 is now based on this .NET runtime version v4.0.30319• You can install and use Visual Studio 2012 alongside Visual Studio 2010• Visual Studio Team Foundation Server 2012 requires 64-bit versions of server
    6. 6. Supported Upgrade Paths • Upgrade from .NET 4.5 Developer Preview to Beta • Upgrade from .NET 4.5 Beta to Release (RTM) • Upgrade from Visual Studio 11 Beta & .NET 4.5 Beta to Release Candidate • Upgrade from Visual Studio 2012 Release Candidate to Release (RTM) (same edition only - e.g., Professional RC to Professional RTM) • Upgrade from .NET 4.5 Release Candidate to Release (RTM)
    7. 7. Not Supported Upgrade Paths• Upgrade from Visual Studio 11 Developer Preview to Beta• Upgrade from Visual Studio 11 Beta to Release (RTM)• Upgrade from Visual Studio 2012 Release Candidate to Release (RTM)• Mismatched editions - e.g., Ultimate RC to Professional RTM
    8. 8. SharePoint Projects and SPI Assets• SharePoint Assets in Visual Studio (work items, source files, tests and test results, builds, SharePoint Projects and SPI’s) will be carried forward when following supported upgrade paths.• Backup and test projects first
    9. 9. SHAREPOINT SUPPORT
    10. 10. New SharePoint Specific Features• Create Lists and Content Types by Using New Designers
    11. 11. New SharePoint Specific Features• Create Site Columns• Create Silverlight Web Parts• Publish SharePoint Solutions to Remote SharePoint Servers• Test SharePoint Performance by Using Profiling Tools
    12. 12. New SharePoint Specific Features(Continued)• Create Sandboxed Visual Web Parts• Improved Support for Sandboxed Solutions.• Support for JavaScript Debugging and IntelliSense for JavaScript• Test Your Code by Using Microsoft Fakes Framework
    13. 13. FOR SHAREPOINT 2013
    14. 14. SharePoint 13 and Office 13• Two new project types • SharePoint Node • Office Node• Client Web Part• Remote Event Receiver• UI Custom Action
    15. 15. Setup Environment for SharePoint 2013• Determine Environment • Farm Solutions • Apps for SharePoint• Farm Solutions • SharePoint 2013 • Visual Studio 2012 • Install Visual Studio Tools for Office • Not much new here
    16. 16. Create Office 365 Developer Site• SharePoint Online developer site, customized for creating and testing apps • Preconfigured for Apps• "Napa" Office 365 Development Tools, to create your first apps right within the browser• Office Professional Plus 2013 Preview• Exchange Online 2013 server
    17. 17. Napa Office 365 Development Tools• Develop apps for Office and SharePoint without having to install Visual Studio 2012• Browser-based authoring tool• Napa vs. Visual Studio
    18. 18. Create apps for SharePoint 2013 UsingOAuth• Development of cloud-hosted apps for SharePoint• Automatically generate values for the client ID and the client secret • Automatically generated for you when you’re debugging an app
    19. 19. Windows Azure Workflows in apps forSharePoint• Model and automate business processes by creating Windows Azure workflows• Create custom activities for Windows Azure workflows
    20. 20. REMOTE DEVELOPMENT
    21. 21. Remotely Develop SharePoint Solutions• A server operating system and a version of SharePoint 2013 on server.• Developers must have Full Control permissions on the subsite of the server thats running SharePoint. • You currently cant debug remote event receivers or app event receivers in Visual Studio• Each developer’s system must also have the following components installed on it. • Windows 7 • Visual Studio 2012 • SharePoint development tools in Visual Studio 2012
    22. 22. Accessing the Remote Server• After you install the required components, you can access the remotely• Specify the server name in the What SharePoint site do you want to use for debugging your App.• Specify the server name in the Site Url property of an app for SharePoint project.• When you run your app for SharePoint project, you are prompted to log on to the remote server
    23. 23. Deploying and Publishing Packages• Deploy package files to the SharePoint server on your development computer for testing and debugging• Publish a sandboxed SharePoint solution to a remote server.
    24. 24. Deploy and Build OptionsTo upgrade successfully,a package must have aunique name
    25. 25. PROFILING SHAREPOINT
    26. 26. Profiling Profiling - The process of observing and recording the performance behavior of your application as it runs. • Bottlenecks • Inefficient code • Memory allocation issues
    27. 27. Profiling MethodsMethod DescriptionSampling Collects statistical data about the work performed by an application.Instrumentation Collects detailed timing information about each function call.Concurrency Collects detailed information about multi-threaded applications..NET memory Collects detailed information about .NET memory allocation and garbage collection.Tier interaction Collects information about synchronous ADO.NET function calls to a SQLServer database.
    28. 28. sponsors
    29. 29. DEMO TITLE
    30. 30. questions?PLEASE ENTER YOUR BLOG URLPLEASE ENTER YOUR TWITTERHANDLE
    31. 31. thank you.SHAREPOINT AND PROJECT CONFERENCE ADRIATICSZAGREB, 11/28/2012

    ×