New SharePoint development features using Visual Studio 2012 - SharePoint Saturday Toronto 2012

Preview:

DESCRIPTION

Slides from my talk at SharePoint Saturday Toronto about new SharePoint features in Visual Studio 2012 RC (Visual Studio 11).

Citation preview

New SharePoint development features using Visual Studio 2012Corey Roth (@coreyroth)Applications ArchitectInfusion

Corey RothAbout me

Applications Architect at Infusion Development Two-time Microsoft SharePoint MVP Specializing in ECM and Search Passed all SharePoint 2010 certification exams E-mail: coreyroth@gmail.com Twitter: @coreyroth Blog: www.dotnetmafia.com

Key Takeaways Familiarity with Visual Studio 2012 Understanding of new features What you can use now

Visual Studio 2012

What’s new?

It’s gray with a splash of Metro…

What’s new?

Visual Studio 2012 History Developer Preview released last September Beta released 2/29/2012 Release Candidate released 5/31/2012 Final release date: Don’t know…Don’t ask

for SharePoint developers?

Visual Studio 2012

What’s new…

Streamlined SharePoint Project Templates Unnecessary project templates removed

SharePoint Project Items A few new SPIs

Silverlight Web Part Site Column

Farm solution only indicated

Visual Web Part Completely rewritten

No more Page.LoadControl() Works in the sandbox (no third party tools required) Inherits from WebPart now Designer auto-generates code

New Project + Visual Web Part

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Silverlight Web Part Automates use of OOTB

Silverlight Web Part Associate a new or

existing Silverlight project

Bundles .xap file in solution package

Deploys .xap file to Site Assets library

Works in SharePoint Online

Silverlight Web Part

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Site Columns New SPI No designer

Content Type “Designer” New designer for

editing content types Pulls list of site

columns from current site

No advanced features

List “Designer” Similar to Content Type

“Designer” Can pick site columns Can edit some

properties No designer for editing

views

“Designers”

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Other new features Improved Support for Sandboxed Solutions

Compiler errors when using farm APIs Improved JavaScript debugging and IntelliSense Support for performance profiling tools

Solution Publishing Publish SharePoint

solutions to: File System Remote Servers SharePoint Online

Solution Publishing

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Visual Studio 2012Can I use it now?

VS11 - Can I use it now? Yes * Coexists with Visual Studio 2010 Solution structure unchanged Still compiles to .NET Framework 3.5 Be careful with Visual Web Parts Test! Use source control!

Get the bits

Visual Studio Developer Centerhttp://www.microsoft.com/visualstudio/11/en-us

Resources

MSDN: What’s New for SharePoint Development in Visual Studio 2012http://msdn.microsoft.com/en-us/library/ee290856(v=vs.110).aspx

DotNetMafia.com Hashtag: Visual Studio 11http://www.dotnetmafia.com/tags/Visual+Studio+11/default.aspx Silverlight Web Part Visual Web Part Content Type Editor List Editor Solution Publishing

Visual Studio 2012

Corey Roth (@coreyroth)Applications ArchitectInfusion

questions?

SponsorsEnterprise

Standard

Join us in Las Vegas for SharePoint Conference 2012!

Don’t miss this opportunity to join us in Las Vegas at the Mandalay Bay November 12-15

Give yourself a competitive edge and get the inside scoop about 'SharePoint 15' while learning how to better use SharePoint 2010

Engage with the community

Share insights

Learn about what’s coming next, from the people who built the product

REGISTER NOW! www.sharepointconference.com

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted

to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Recommended