Silverlight Development in SharePoint 2010

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

Ronnie Saurenmann Job title: Cant live without Silverlight Microsoft Switzerland 4 Overview.
Microsoft SharePoint 2010 technology for Developers
Silverlight is a cross-browser, cross-platform plug-in* * An auxiliary program that works with a software package to enhance its capability. For example,
Silverlight Presenter: Kevin Grossnicklaus February 25 th, 2010.
Web Server Programming
WPF vs Silverlight Stuart Haas. WPF  Windows Presentation Foundation  Included in Vista, Server 2008 and XP service pack 2  Deployed in desktop and.
1 Introduction to Silverlight 1.1 Mark Smith
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.
All sections to appear here Nuchit Atjanawat (nano) Blog: Team Leader Microsoft MVP | CODE IT Columnist | GF Community.
The Microsoft’s solution for building cross-platform Rich Internet Applications.
Getting data into Silverlight on SharePoint Neil Iversen
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
Michael S. Scherotter Microsoft Corporation
Part 2 (Mike) Control Templating Custom Controls Custom Layout OpenFileDialog HTML Integration Deep Zoom Local Storage Q&A Part 1 (Joe) Overview Getting.
Powerful, modern desktops enable next generation applications Hardware acceleration brings real-time lighting, texturing and rendering Visual.
MVC New release IE8 Beta 1 Deep Zoom (sea dragon) Silver light 2.0 Beta 1 Expression Blend 2.5 Preview Instant Messaging API Enhancements to Virtual Earth.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
Introduction to Silverlight By Alan Cobb 2008-Jan-10 Sacramento, CA
Introduction to Silverlight. Slide 2 What is Silverlight? It’s part of a Microsoft Web platform called Rich Internet Applications (RIA) There is a service.
Intro to Silverlight Kevin Grossnicklaus. Introductions Kevin Grossnicklaus – SSE - ( ) Chief Architect Software.
A Jumpstart to WPF by Kevin Grossnicklaus ArchitectNow.
Ken Casada Developer Evangelist Microsoft Switzerland WebMatrix: Your Web Made.
Silverlight Hitesh Trivedi Computer Science B.Tech A-Sec J.I.E.T.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
Ronnie Saurenmann Principal Architect Microsoft Switzerland blogs.msdn.com/swiss_dpe_team.
Understand what kind of applications Windows Presentation Foundation can deliver See how Visual Studio 2008 & Microsoft Expression Blend work together.
Building RIA for Desktop, Web and Mobile using Silverlight and WPF Giorgio Sardo UX Consultant, Microsoft UK blogs.msdn.com/Giorgio.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
Introducing Microsoft Rich Internet Applications Technologies Microsoft Belgium and Luxembourg
Sascha P. Corti Microsoft
Overview of Silverlight Mike Taulty Developer & Platform Group Microsoft Ltd
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
Silverlight 2 Andrew Pardoe Program Manager CLR Execution Engine
Michael Hofer Senior Consultant Microsoft Corporation.
Silverlight for Web Hosting Companies Michael S. Scherotter Microsoft Corporation
Building Excellent Internet & Intranet Solutions Dave Remmer Architect Advisor Microsoft Canada
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
Ronnie Saurenmann Principal Architect Microsoft Switzerland Silverlight 5 Advanced.
Chris J.T. Auld – Director, Intergen
Web Browsing *TAKE NOTES*. Millions of people browse the Web every day for research, shopping, job duties and entertainment. Installing a web browser.
Web Development in Microsoft Visual Studio 2013 / 2015.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Microsoft Silverlight An Introduction. Silverlight is a cross-browser, cross-platform plug-in* * An auxiliary program that works with a software package.
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
Windows Communication Foundation and Web Services
Introducing the Microsoft® .NET Framework
Integrating SharePoint 2010 with Office 2010
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Introduction to ArcGIS API for Microsoft Silverlight
WPF vs Silverlight.
Windows Communication Foundation and Web Services
Introduction to Silverlight
Microsoft Silverlight
.NET and .NET Core 7. XAML Pan Wuming 2017.
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Tech Ed North America /30/2018 4:43 AM Required Slide
Catching up on Rich Clients (round 2)
Overview of Silverlight 2
ASP.NET Module Subtitle.
Maxim Lukiyanov Program Manager Microsoft Corporation
Silverlight 2 Mike Taulty Developer & Platform Group Microsoft Ltd
Choosing between Silverlight and AJAX
Dot Net Application PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
WCF Data Services and Silverlight
Windows Forms in Visual Studio 2005: An in-depth look at key features
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Silverlight Development in SharePoint 2010 In this session Neil will demonstrate how Silverlight has become an integral part of the SharePoint 2010 experience. Then he will walk through current and future Silverlight Development techniques using Visual Studio, Expression Blend, Web Services and the new Client Object Model.

About the Speaker Company: Gig Werks Neil Barkhina is an MCAD Certified professional with nearly 7 years of experience working with .NET technologies. He specializes in web development and SharePoint technologies and has worked on numerous projects including Leading Development on a SharePoint Intranet site for the largest real estate firm in New York. He has also worked in the video games industry doing 3D Game Development and Mobile Phone Applications.

About Silverlight Browser plug-in client Supports Windows, Mac, Linux IE, Firefox, Safari Supports rich media scenarios (video) Subset of .net, subset of WPF 100+ Controls OOB Mobile Future: Windows Phone 7 Third Party Moonlight project under development for GNU/Linux

Silverlight 1 Rich Media Scenarios (Videos) Programming involved writing XAML and javascript “codebehind”

Silverlight 2 Version 2.0 released October 2008 Write applications using managed code and .NET languages (C#, VB .NET) Rich UI such as animation, vector graphics and audio-video playback Deep Zoom

Silverlight 3 New controls: datagrid, treeview AAC audio decoding, H.264 video, 1080p streaming Perspective 3D Bitmap API Out-of-Browser

Silverlight 4 Web cam and Mic support Printing Right mouse click support RichTextBox control Hosted Browser Support (html in silverlight) Multi-touch Support for Chrome Browser Deploy applications to “set-top boxes”

Vs. Flash Pros: Cons: Flash is not a development environment Easy transition for existing .NET developers Easy transition for existing Flash developers, uses many of the same concepts: key frames, animations, gradients, transformations Able to use Visual Studio Future: Full hardware 3D support Cons: Market penetration still lagging, but gettings stronger. Currently at 60% of internet devices!!

Development Methodology Separation of Design and Code Designers can work independently using the Expression Suite XAML data can be indexed by search engines

Development Methodology XAML Serialization of .net objects Represents visual UI, separate from implementation Designable in Expression Blend xaml code <Border CornerRadius="2"> <Border.Background> <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> <GradientStop Color="#FFFFFF" Offset="0"/> <GradientStop Color="#D1D1D1" Offset="1"/> </LinearGradient> </Border.Background> </Border> border.CornerRadius = new CornerRadius(2); LinearGradientBrush lgb = new LinearGradientBrush(); lgb.StartPoint = new Point(0.5, 0); lgb.EndPoint = new Point(0.5, 1); GradientStop gs = new GradientStop(); gs.Color = Color.FromArgb(0,255,255,255); gs.Offset = 0; lgb.GradientStops.Add(gs); gs = new GradientStop(); gs.Color = Color.FromArgb(0, 209, 209, 209); gs.Offset = 1; lgb.Background = lgb; =

Themeable Controls

Microsoft Expression Blend is the main tool for XAML layout Expression Design can be used for creating graphical assets. Like Photoshop

Key Points Silverlight uses a subset of the .NET framework. Similar to WPF, XAML syntax, not as many controls Can’t mix DLLs between .NET and silverlight Runs in a isolated security sandbox Can effect the DOM All shapes defined as vectors, no loss of quality for scaling, transformations

Limitations Network calls must be made to the TLD from which it originated (same exact port) Can make cross domain calls with a crossdomain.xml file Can do sockets programming with a predefined set of ports 4502-4532 All Server side calls must be made to a WCF or Web Service All Server side calls must be invoked asynchronously Subset of .net types Missing: XmlDocument, ADO.NET Data, ArrayList No DataTables, but you can use LINQ!

Why Silverlight and SharePoint? Presentation Silverlight Client Integration Security SharePoint Logic Layer App Model Data Layer

Development Prerequisites Visual Studio 2008 SP1 Silverlight 3 tools for Visual Studio Blend 3 System.Web.Silverlight DLL in GAC ASP .NET AJAX

Set up new project Use new visual studio template for creating Silverlight projects Design surface is read only (in Visual Studio 2008) Use Blend for Layout

SharePoint 2007 Integration (old) You must have the xap MIME type registered, works in IIS 7 out of the box Can also use zip/xap trick All communication with server must be done using web services layer I recommend web services instead of WCF Watch out for HTTP/HTTPS

SharePoint 2007 Integration (old) Embed “Install Silverlight” image in solution Use random string to prevent caching Use the System.Web.Silverlight control to ease management of Silverlight TAG (requires ScriptManager on page) Pass initial parameters using InitParams Set up width/height and maxframerate

Current Development Visual Studio 2010 integrated designer surface and toolbox support Blend 4 beta Visual Studio 2010 RC for Windows Phone development You can manually upload XAP file to a simple document library Build directly into the Clientbin folder of SharePoint Write an application to upload XAP to SharePoint

Hosting Silverlight in SharePoint 2010 Script/markup on page Silverlight ASP.NET control Parts Out-of-box Silverlight Web Part Custom Web Part Full-page (web part host page)

Talking to SharePoint Web Services Client Object Model REST More coverage Client Object Model Site, nav, security services Very flexible REST Easiest to use For fixed list schema Rendering Data to Page Web Services Advanced Operations SharePoint Server Operations Client OM Advanced List Operations Site Operations Security REST Working with list data, fixed schema

REST Read/update/delete of list data Object-oriented, ATOM-based means Standards-based, consistent with other data sources Details: In VS, Add Service Reference http://yourserver/yoursite/_vti_bin/listdata.svc

Client Object Model Based on SharePoint server-side OM Also for JavaScript and Managed Code Two main concepts: To read data from objects, you must ask for it Reads and writes are sent in a asynchronous batch Call backs must invoke the UI thread All namespaces don’t have “SP” at the front Details: <SharePointRoot>\14\TEMPLATE\LAYOUTS\clientbin\ Asynchronous Load model

SOAP Web Services Fixed functions exposed in the product, or build your own More MOSS, WSS functionality covered Not all services representable in SL WCF Client Details: See SDK for list of web services Of course, also in 2007!