26
New SharePoint development features using Visual Studio “11” Corey Roth (@coreyroth) Applications Architect Infusion

New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Embed Size (px)

DESCRIPTION

Slides from my talk at the San Antonio SharePoint Users Group about new SharePoint development features using Visual Studio "11".

Citation preview

Page 1: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

New SharePoint development features using Visual Studio “11”Corey Roth (@coreyroth)Applications ArchitectInfusion

Page 2: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

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: [email protected] Twitter: @coreyroth Blog: www.dotnetmafia.com

Page 3: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

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

Page 4: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Visual Studio “11”

What’s new?

Page 5: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

It’s gray with a splash of Metro…

What’s new?

Page 6: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Visual Studio “11” History Developer Preview released last September Beta released 2/29/2012 Final release date: Don’t ask

Page 7: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

for SharePoint developers?

Visual Studio “11”

What’s new…

Page 8: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Streamlined SharePoint Project Templates Unnecessary project templates removed

Page 9: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

SharePoint Project Items A few new SPIs

Silverlight Web Part Site Column

Farm solution only indicated

Page 10: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

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

Page 11: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

New Project + Visual Web Part

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Page 12: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

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

Page 13: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Silverlight Web Part

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Page 14: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Site Columns New SPI No designer

Page 15: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Content Type “Designer” New designer for

editing content types Pulls list of site

columns from current site

No advanced features

Page 16: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

List “Designer” Similar to Content Type

“Designer” Can pick site columns Can edit some

properties No designer for editing

views

Page 17: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

“Designers”

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Page 18: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Other new features Improved Support for Sandboxed Solutions

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

Page 19: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Solution Publishing Publish SharePoint

solutions to: File System Remote Servers SharePoint Online

Page 20: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Solution Publishing

Corey Roth (@coreyroth)Applications ArchitectInfusion

demo

Page 21: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Visual Studio “11”Can I use it now?

Page 22: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

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!

Page 23: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Get the bits

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

Page 24: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Resources

MSDN: What’s New for SharePoint Development in Visual Studio 11http://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

Page 25: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

Visual Studio “11”

Corey Roth (@coreyroth)Applications ArchitectInfusion

questions?

Page 26: New SharePoint development features using Visual Studio 11 - San Antonio SharePoint Users Group 2012

© 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.