![Page 1: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/1.jpg)
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 11/28/2012
Visual Studio 2012PAUL J. SWIDER, REALACTIVITY
![Page 2: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/2.jpg)
![Page 3: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/3.jpg)
Objectives• Understand new requirements and
compatibility
• Understand changes for SharePoint developers
![Page 4: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/4.jpg)
Agenda• Upgrade and Compatibility• New Features• Site Columns, Lists and Content Types• Visual Web Parts• Remote Development and Deployment• Profile and Testing
![Page 5: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/5.jpg)
UPGRADE AND COMPATIBILITY
![Page 6: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/6.jpg)
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
![Page 7: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/7.jpg)
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)
![Page 8: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/8.jpg)
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
![Page 9: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/9.jpg)
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
![Page 10: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/10.jpg)
SHAREPOINT SUPPORT
![Page 11: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/11.jpg)
New SharePoint Specific Features• Create Lists and Content Types by Using New
Designers
![Page 12: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/12.jpg)
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
![Page 13: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/13.jpg)
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
![Page 14: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/14.jpg)
FOR SHAREPOINT 2013
![Page 15: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/15.jpg)
SharePoint 13 and Office 13• Two new project types• SharePoint Node• Office Node
• Client Web Part• Remote Event Receiver • UI Custom Action
![Page 16: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/16.jpg)
• Determine Environment• Farm Solutions• Apps for SharePoint
• Farm Solutions• SharePoint 2013• Visual Studio 2012• Install Visual Studio Tools for Office• Not much new here
Setup Environment for SharePoint 2013
![Page 17: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/17.jpg)
• 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
Create Office 365 Developer Site
![Page 18: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/18.jpg)
• Develop apps for Office and SharePoint without having to install Visual Studio 2012
• Browser-based authoring tool • Napa vs. Visual Studio
Napa Office 365 Development Tools
![Page 19: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/19.jpg)
Create apps for SharePoint 2013 Using OAuth
• 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
![Page 20: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/20.jpg)
Windows Azure Workflows in apps for SharePoint
• Model and automate business processes by creating Windows Azure workflows• Create custom activities for Windows Azure workflows
![Page 21: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/21.jpg)
REMOTE DEVELOPMENT
![Page 22: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/22.jpg)
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 that's running SharePoint.• You currently can't 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
![Page 23: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/23.jpg)
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
![Page 24: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/24.jpg)
• Deploy package files to the SharePoint server on your development computer for testing and debugging
• Publish a sandboxed SharePoint solution to a remote server.
Deploying and Publishing Packages
![Page 25: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/25.jpg)
Deploy and Build Options
To upgrade successfully, a package must have a unique name
![Page 26: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/26.jpg)
Deploy and Publish
demo
![Page 27: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/27.jpg)
PROFILING SHAREPOINT
![Page 28: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/28.jpg)
Profiling
Profiling - The process of observing and recording the performance behavior of your application as it runs.
• Bottlenecks• Inefficient code• Memory allocation issues
![Page 29: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/29.jpg)
Profiling MethodsMethod Description
Sampling 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 memoryCollects detailed information about .NET memory allocation and garbage collection.
Tier interactionCollects information about synchronous ADO.NET function calls to a SQLServer database.
![Page 30: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/30.jpg)
Profile and Testing
demo
![Page 31: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/31.jpg)
sponsors
![Page 32: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/32.jpg)
![Page 33: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/33.jpg)
DEMO TITLE
![Page 34: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/34.jpg)
questions?
PLEASE ENTER YOUR BLOG URL
PLEASE ENTER YOUR TWITTER HANDLE
![Page 35: New SharePoint Features in Visual Studio 2012!](https://reader033.vdocument.in/reader033/viewer/2022061123/5471ee9ab4af9fb90a8b4d13/html5/thumbnails/35.jpg)
thank you.
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 11/28/2012