Shawn Wildermuth AgiliTrain Microsoft MVP (C#), MCSD Silverlight in SharePoint WebParts You got peanut butter in my chocolate.

Slides:



Advertisements
Similar presentations
Service Manager for MSPs
Advertisements

SharePoint Saturday– Regis University North Denver Campus
Shawn Wildermuth President, AgiliTrain Microsoft MVP (Data) Truth and Fiction.
What’s New in SharePoint 2013 Great Lakes Software Excellence Conference 2013 Becky Bertram Owner, Savvy Technical Solutions
Thank you for being part of the 5 th Annual Houston Techfest Please turn off or set all devices to vibrate. Thanks to our Diamond sponsors. Houston Techfest.
SharePoint 2013 Catalog Sites Brian Culver ● SharePoint Saturday DFW ● March 7, 2015 Build a SharePoint 2013 Search Driven.
1 1 Silverlight is a web browser plug-in. 2 2 There are two versions September 2007~October 2008 V2 is backwards compatible & where you’d start today.
1 SharePoint 2013 Catalog Sites Brian Culver Build a SharePoint 2013 Search Driven Application.
OFC 317 使用 WinWF 构建 Microsoft Office SharePoint Server 2007 中的工作流应用.
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, Able
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
From Soup-to-Nuts Shawn Wildermuth Author and Speaker Microsoft MVP (C#), MCSD
Office & SharePoint 2010 What's new in Office 2010 for Developers & Microsoft SharePoint 2010 Social Matthew McDermott, MVP Aptillon, Able Blue
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Creating a SharePoint App with Microsoft Access Services
Philadelphia Area SharePoint User Group Using XSLT with Custom Web Parts Rick Wise RJB Technical Consulting
Basic SharePoint 2013 App Development start-up for New Developers
Winter Consolidated Server Deployment Guide for Hosted Messaging and Collaboration version 3.5 Philippe Maurent Principal Consultant Microsoft.
Lightswitch: Visual Studio’s Hidden Secret CRAIG BERNTSON CHIEF SOFTWARE GARDENER MOJO SOFTWARE
Serious Team Foundation Server Customization Benjamin Day Benjamin Day Consulting, Inc Level: Advanced.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Ribbon UI SharePoint Workspace SharePoint Mobile Office Client and Office Web App Integration Standards Support Tagging, Tag Cloud, Ratings Social.
Doing Something Useful with Enterprise Library 3.0 Benjamin Day Level: Intermediate.
Beginning Web Site Development Module 1 – Dynamic Web Site Development Fundamentals of building dynamic Web sites with ASP.NET 2.0 and C# Version.
Creating No-Code Solutions using Access Web Apps (in SharePoint with SQL Azure ) SharePoint Saturday, Columbus, August 2015 Andy Tabisz, WorkSmart Database.
NetTech Solutions Working with Web Elements Lesson 6.
What is SharePoint? Module 1. Module Overview  Defining SharePoint  Understanding How SharePoint is Used  Interacting with SharePoint.
SPSATL 2014 Create Tailored Search Results w/ Display Templates SHAREPOINT SATURDAY ATLANTA – JUNE 21, 2013 MIKE ORYSZAK BLOG: TWITTER:
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Exploring Microsoft Office Word 2007 Chapter 8 Word and the Internet Robert Grauer, Keith.
Contrasting styles of Web UI Development: GWT vs Native JavaScript Roland Schweitzer Weathertop Consulting, LLC Jeremy Malczyk JISAO.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
SharePoint Saturday Sponsors Gold Bronze Creating Knockout User Experiences in SharePoint with JavaScript Making awesome with Knockout, jQuery and SharePoint.
Server Control Tips & Tricks Presented by: Patrick Hynds Microsoft Regional Director CriticalSites CTO MCSD, MCSE+I, MCDBA, MCSA, MCP+Site Builder, MCT.
Automated Deployment Framework Using TFS and Custom PowerShell cmdlets to create an automated deployment framework.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Microsoft ® Visual Studio.NET Presented by Joseph J. Sarna Jr., MCSD JJS Systems, LLC.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
Sofia, Bulgaria | 9-10 October ASP.NET: Developing Portal UI With Web Parts Goksin Bakir Yage Ltd Microsoft Regional Director, MEA Goksin Bakir Yage Ltd.
Michael Hofer Senior Consultant Microsoft Corporation.
DEV14 – Building Business Dashboards: Excel Services, KPIs and Report Centers Darwin Schweitzer Enterprise Technology Strategist
Building an EDRM solution on the Microsoft & Tower Platform Jonny Chambers (Microsoft) & Jason Boswell (Tower Software)
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Web Parts Overview Web parts in SharePoint 2007 “Hello World” web part Typical deployment.
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
11 User Controls Beginning ASP.NET in C# and VB Chapter 8.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
Power BI is Awesome! Steve Wake BI Developer, Chipotle Mexican Grill President, Denver SQL Server User Group.
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Workflow foundation and BizTalk 2006 “making the kids play together” Bill Chesnut BizTalk Server MVP Senior Consultant, Readify
Search can be Your Best Friend You just Need to Know How to Talk to it IW 306 Ágnes Molnár.
Advanced BIML topics Be a W.I.S.E. A.S.S. Me ! Self-employed BI consultant Author Trainer MCT
How to be a SharePoint Developer
Data Persistence In A Web Hosted World
What's new in the world of SharePoint development and deployment
Customizing SharePoint with TypeScript and Knockout
Developing GIS WebParts in SharePoint
Automate Custom Solutions Deployment on Office 365 and Azure
Office 365 Development July 2014.
What is SharePoint and why you should care
SharePoint-Hosted Apps and JavaScript
Customizing SharePoint with TypeScript and Knockout
MIX 09 11/22/2018 9:09 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
SharePoint 2019 Overview and Use SPFx Extensions
2010 Microsoft BI Conference
Silverlight 2 Mike Taulty Developer & Platform Group Microsoft Ltd
Share What You Have Learned EP Session
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
Presentation transcript:

Shawn Wildermuth AgiliTrain Microsoft MVP (C#), MCSD Silverlight in SharePoint WebParts You got peanut butter in my chocolate

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Who Am I? Shawn Wildermuth ▫ ▫ C# MVP, MCSD, MCT, INETA Speaker, Author AgiliTrain ▫ Silverlight for SharePoint – Atlanta, June 2-4, 2009 ▫ Silverlight Tour – Atlanta, July 20-22, 2009 ▫ Advanced Silverlight – Atlanta, August 3-4, 2009

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Agenda Why Silverlight? SharePoint Integration ▫ Linking Projects ▫ Hosting in SharePoint ▫ Using Web Services ▫ Debugging

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 What’s SharePoint? I am not a SharePoint Expert… ▫ …Some of the Techniques Here May Be Hacky… ▫ Goal is to show how it *can* work ▫ So you can apply it to your exceptional SharePoint Skills

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 SharePoint

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Why Silverlight in SharePoint Leave to SharePoint (and Web) What They Do Well ▫ Silverlight for Islands of Content ▫ Where Graphics and Interactivity Helps ▫ Don’t Overuse it

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Using Silverlight in WebPart Project Can Create Silverlight in Same Solution ▫ No Official Linking ▫ Must Do Manually  Post-Build, Shared File, MSBuild ▫ Add XAP to WebPart XML file for Deployment

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Using Silverlight in WebPart Project WebPart.xml ▫ May be better as separate module <File Path="SilverlightTaskViewer.webpart" Url="SilverlightTaskViewer.webpart" Type="GhostableInLibrary" /> <File Path="SilverlightTasksWidget.xap" Url="SilverlightTasksWidget.xap" Type="GhostableInLibrary" />

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 New Silverlight Web Part

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Hosting in SharePoint WebPart Can Create HTML Code ▫ LiteralControl and ObjectTag public class SilverlightTaskViewer : WebPart { protected override void CreateChildControls() { base.CreateChildControls(); string hostTag "; // Put the Object Tag the control collection LiteralControl slObj = new LiteralControl(hostTag); Controls.Add(slObj); }

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Hosting in SharePoint (2) Browser Cache a Problem ▫ SPUtility.MakeBrowserCacheSafeLayoutsUrl()  Can help but must be in a template to work

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Hosting in SharePoint (3) WebPart Can Create HTML Code ▫ Can Use Silverlight control and ScriptManager ▫ But why?

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Showing Silverlight in WebPart

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Using SharePoint Web Services Creating ServiceReferences to SP “Just Works” ▫ /_vti_bin/Lists.asmx ▫ /_vti_bin/Alerts.asmx ▫ Etc.

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Using SharePoint Web Services (2) Data Returned is Typically XML ▫ Must Use Projection to Shape for DataBinding XElement tasks = e.Results; var qry = from i in e.Result.Descendants(rowName) select new Task() { Title = i.Attribute("ows_Title").Value, Priority = i.Attribute("ows_Priority").Value, Status = i.Attribute("ows_Status").Value, }; theList.ItemsSource = qry.ToList();

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Consume a Web Service

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Debug Considerations Pain Points with Debugging the Silverlight Code ▫ Browser Cache Need Invalidated to Debug ▫ “Run with Debugging” Only Works Locally  Remote Debugging Silverlight is not trivial  Attach To Process Works Well ▫ Cross Domain May Be An Issue Too.

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Debugging Silverlight in WebPart

Copyright 2009 Wildermuth Consulting Services, LLC Silverlight in SharePoint WebParts – Atlanta SQL Saturday 2009 Questions? Links: ▫ My Blog (Code is Available Here)  ▫ My  ▫ Silverlight.NET  Shawn Wildermuth AgiliTrain Microsoft MVP (C#), MCSD