lightup sharepoint with silverlight

Post on 14-Jan-2015

1.279 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

LightUp SharePoint with Silverlight by Tan Choon Ngee

TRANSCRIPT

Light Up SharePoint …… with Silverlight!

Light Up SharePoint

Choon Ngee, TanRegional DirectoraZaaS Pte Ltdchoon@azaas.com

2

− Microsoft Gold Certified Partner with Web Development and Software Development Competencies

− Microsoft Silverlight Expert Partner

− Windows Azure Inner Circle Partner

− Technical Director is in Microsoft Regional Director Program and only about 170 world wide.

− Nominated for Microsoft ISV for the Year 2010.

3

Singapore

Hong Kong

Taipei

Shanghai

Beijing

Guangzhou Shenzhen

− Headquartered in Singapore.

− Subsidiaries in the China, Hong Kong, Taiwan

− Over 300 customers regionally

− Over 150 Sharepoint customers

4

Topics

1. Why Use Silverlight With SharePoint?2. DEMO: Silverlight Dashboard3. The New Kid: SharePoint Online4. Deploying Silverlight Applications to

SharePoint

5

SharePoint …

6

… is a great platform!

− Sharepoint is very successful and a great platform− From the largest Fortune 500 companies to small and

medium businesses – all save time and money with Sharepoint.

− SP offers great features and functionality out of the box.

7

But What About The User Experience?

− The SharePoint UX can be challenging ...... because it is based on a web user experience metaphor.

− A web user experience is not as smooth and rich as a native desktop application environment.

− Even though SharePoint is very well integrated with the desktop and Office applications, the UX is still a tradeoff between the broad reach of a web application and the richness and UX feature set of a desktop client.

8

Broad Reach“Lowest common denominator“

Better UXTradeoff between reach and rich

Best UXRich client experience

9

Is this a Problem?

− SharePoint users are generally OK with this tradeoff ...... but there is certainly room for improvement!

− Silverlight can enrich the SharePoint experience ...... and excite and delight your SharePoint users!

− The need for rich, elegant and interactiveSharePoint line of business applications is already high.

And this need will grow in the future!

10

DemoSilverlight business dashboard

11

Silverlight Pivot Viewer

12

SingHealth

13

Multi-Touch Silverlight Application

“We are privileged to have aZaaS as our partner in developing our www.flu-card.com portal”

Mr Foo KW, Vice President, HDD Solutions, Trek 2000 International Ltd

14

Silverlight in Sharepoint

15

The New Kid: SharePoint Online

− SharePoint in the Cloud – hosted by Microsoft− Low-cost, from $5,25 per user/month− Today: MOSS 2007 (without admin access)

− Portals, Team Sites, Collaboration Workspaces− SharePoint Web Services− Customization with SharePoint Designer

− Office 365 (Beta): SharePoint 2010 (without admin access)− Sandboxed solutions− VS 2010 Developer tooling− Data access through client object model, REST, WCF

On-Premise vs. Online

On PremiseSharePoint Online -

StandardSharePoint Online -

Dedicated

Self-hosted in your data centerDedicated hardwareCentral admin accessPartial and full trust customizationAuthenticated via ADAvailable to companies of any size

Hosted in MSFT data centerMulti-tenant/shared hardwareAdmin outsourced to MSFTPartial trust customizationAuthenticated via certs and formsAvailable for companies of any size

Hosted in MSFT data centerDedicated HardwareAdmin outsourced to MSFTPartial and full trust customization*Authenticated via NTLMDesigned for 5000+ seats

17

Deploying Silverlight to SharePoint

− Need to install the XAP file somewhere− Document library? LAYOUTS folder? Hive?

− Need to display the XAP somehow− Insert the Silverlight HTML into the page− Can do this with the Content Editor web part− Can also write a custom SharePoint web part

− Much easier in SharePoint 2010!− Built-in Silverlight web part can host XAP− New client object model allows access outside of

SharePoint− Silverlight can be automatically deployed as part of

a .wsp

21

Accessing SharePoint data

− Simple RSS access to lists− REST and WCF access to lists (new in 2010)− Call SharePoint web services API (lists.asmx)− Pass data from hosting HTML page to an

embedded SL application with initParams− Call a custom (external) web service− Download resources directly

22

Sharepoint Online Integration

Sharepoint Online / On-Premise

23

SharePoint 2010 and Silverlight

− Much improved developer features!− Silverlight Web Part built in.− Sharepoint Client Object Model for Silverlight:

− Microsoft.Sharepoint.Client.Silverlight− Microsoft.Sharepoint.Client.Silverlight.Runtime

− Can access information in a SharePoint instance from anywhere outside of SharePoint!

24

SharePoint 2010 and Silverlight public void LoadSPDocs(string countryId) { ClientContext ctx = newClientContext(ApplicationContext.Current.Url); List lib = ctx.Web.Lists.GetByTitle("Product Documents"); CamlQuery cq = new CamlQuery(); cq.ViewXml = String.Format(@"<View><Query><Where><Contains><FieldRef Name='FileLeafRef'/>

<Value Type='Text'>{0}</Value></Contains></Where></Query></View>",countryId); items = lib.GetItems(cq); ctx.Load(lib); ctx.Load(items); ctx.ExecuteQueryAsync(OnSuccess, OnFailure); }

private void OnSuccess(object sender, ClientRequestSucceededEventArgs e) { Dispatcher.BeginInvoke(BindListBox); }

private void OnFailure(object sender, ClientRequestFailedEventArgs e) { }

25

Summary

− Silverlight and SharePoint are “made for each other” and work together very well.

− Use Silverlight in a web part to enrich the stock SharePoint experience to excite and delight your users.

− Use Silverlight to pull together multiple data sources and SharePoint data to create mashups.

− SharePoint 2010 comes with many additional features for developers building Silverlight applications.

26

Resources

− Red Silverlight Dashboard:http://silverlightdashboard.dev.mandogroup.com/

− Demo source code:http://koestiestorage.blob.core.windows.net/downloads/DemoDashboardFINAL.zip

− Tutorial Sharepoint/SL integration:http://koestiestorage.blob.core.windows.net/downloads/SPSSLTutorial.zip

− BPOS – 30 Day Sharepoint Online trial:http://www.microsoft.com/online/trial-bpos.mspx

− Office 365 Beta:http://office365.microsoft.com/en-US/sharepoint-online.aspx

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Visual Studio, the Visual Studio logo, and [list other trademarks referenced] are trademarks of the Microsoft group of companies.

 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.

Choon Ngee, TanRegional DirectoraZaaS Pte Ltdchoon@azaas.com

top related