Nikhil Kothari Software Architect, Microsoft Corporation WEB317.

Slides:



Advertisements
Similar presentations
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Developing Rich Web Applications with Silverlight Mike Ormond Developer & Platform Group Microsoft Ltd
Building Your First Great Silverlight 2 Application Guy Burstein Microsoft Israel
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
Daniel Moth Microsoft
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
Developing on the Windows Live Platform Mike Ormond Developer & Platform Group Microsoft Ltd
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
travel Suru Windows 7 Release NET 4.0 / Surface 2.0 Release Multi-Touch Controls Multi-Touch API Surface Multi-Touch Controls & API Surface.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Jamie Cool Program Manager Microsoft Corporation.
Building RIA for Desktop, Web and Mobile using Silverlight and WPF Giorgio Sardo UX Consultant, Microsoft UK blogs.msdn.com/Giorgio.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Overview of Silverlight Mike Taulty Developer & Platform Group Microsoft Ltd
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.

customer.
Silverlight 2 Andrew Pardoe Program Manager CLR Execution Engine
Quick overview of ASP.NET Ajax Ajax deep-dive Cover some key real-world problems Discuss solutions, patterns, opportunities Lots of demos And more of.
Mike Taulty Developer & Platform Group Microsoft Ltd
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Eben de Wit Developer Advisor Microsoft
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

1 Beyond Silverlight with WPF Clients ( WPF : Windows Presentation Foundation ) Mike Taulty Developer & Platform Group Microsoft Ltd
Dynamic Languages Initiative Silverlight ASP.NET Web Services Summary.
Name Title Microsoft Corporation
Daniel Moth Microsoft
Office 365 Development July 2014.
DoRon Motter Development Lead Microsoft Corporation
Reaching more customers with accessible Metro style apps using HTML5
Using JavaScript to Build HTML5 Applications
Building Modern Web Apps with ASP.NET MVC 6
HTML5 Platform from Web to Apps
MIX 09 11/23/2018 6:07 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
SharePoint & jQuery: Better Together
Title of Presentation 12/2/2018 3:48 PM
Catching up on Rich Clients (round 2)
Using Windows Runtime and SDK to build Metro style apps
Overview of Silverlight 2
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech Ed North America /1/ :36 AM Required Slide
OPEN DATA FOR THE OPEN WEB
Using Windows Runtime and SDK to build Metro style apps
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
Silverlight Debugging
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Silverlight 2 Mike Taulty Developer & Platform Group Microsoft Ltd
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Leveraging existing code in Metro style apps
Шитманов Дархан Қаражанұлы Тарих пәнінің
The complete developer's guide to the SkyDrive API
Title of Presentation 5/24/2019 1:26 PM
Presentation transcript:

Nikhil Kothari Software Architect, Microsoft Corporation WEB317

Quick overview of Silverlight Using Silverlight from ASP.NET applications and server controls Close look at interop between Silverlight and HTML/Script Using Silverlight and.NET capabilities in Ajax scenarios

Cross-platform, cross-browser plugin Silverlight 1.0 Theme: media and rich graphics RC available today XAML and Javascript-based programming model Silverlight 1.1 Theme: Rich Internet Applications Alpha available, RTM summer ‘08.NET-based programming model Full CLR and subset of.NET framework

Presentation XAML subset Shapes, brushes, animation, text Video (wmv) and audio (wma, mp3) Script programming model.NET Framework BCL, Networking, XML, JSON, Data Dynamic Languages WPF Subset HTML and script interop Tooling Visual Studio Expression Other XAML capable tools Silverlight Browser Plugin.NET Framework CLR Execution Engine BCLBCLDLRDLRNetNetDataData WPF Subset HTML/ScriptHTML/Script PresentationPresentation Presentation Engine MediaMedia Graphic s XAMLXAML Scriptable API InputInputTextText

Using XAML, Javascript and Managed code

<embed type=“application/x-silverlight” source=“App.xaml” … /> ….NET Assembly (App.dll) public class MyApp : Canvas { … }.NET Assembly (App.dll) public class MyApp : Canvas { … } XAML Source (App.xaml) XAML Source (App.xaml) Script Helper(App.js) function createApp() { Silverlight.createObject( ‘App.xaml’, …); Silverlight.createObject( ‘App.xaml’, …);} Script Helper(App.js) function createApp() { Silverlight.createObject( ‘App.xaml’, …); Silverlight.createObject( ‘App.xaml’, …);} HTML Page (App.htm) createApp(); createApp(); HTML Page (App.htm) createApp(); createApp(); Script Bootstrapper (Silverlight.js from SDK) Silverlight.createObject(…) { … } Script Bootstrapper (Silverlight.js from SDK) Silverlight.createObject(…) { … } References Invokes helper method

Silverlight plugin within the context of HTML content Both visual and non-visual scenarios Media capabilities Embedding video, audio content Vector graphics and animation Data visualization.NET Framework features Isolated storage, local file access, … Offline storage, async or customizable multi-file upload, etc.

Media is the key Silverlight 1.0 feature ASP.NET provides a media server control to easily embed video Usable without learning XAML or script Flexibility for designer: XAML-based skinning Power to developer: data-binding, client events Demonstrates initial patterns for Silverlight-based server controls Example: chart and other data-bound controls

Customizing and programming against the media control

Silverlight integrates with the HTML page Not just an isolated island of XAML Initialization parameters Pass list of static name/value pairs into control (initParams) Available as WebApplication.Current.StartupArguments Scripting Bridge Creating scriptable APIs in managed code HTML Bridge Managed access to HTML DOM

Allows creating scriptable APIs in managed code Start using Silverlight incrementally within existing Ajax application Scenarios Enables passing data between script and managed code Enables exposing CLR and.NET framework functionality to script Key Concepts Annotate properties, methods, events and types with [Scriptable] Register objects with WebApplication.Current.RegisterScriptableObject Use from script via slControl.content.

Provides access to browser and script objects Get/set properties, handle events Scenarios Enables Silverlight apps to integrate with HTML page (deep linking, history etc.) Enables managed programming against HTML DOM Key Concepts System.Windows.Browser.HtmlPage HtmlDocument, HtmlElement, HtmlTimer HtmlObject, ScriptableObject HtmlObjectHtmlObject ScriptableObjectScriptableObject HtmlPage.WindowHtmlPage.Window HtmlDocumentHtmlDocumentHtmlElementHtmlElement

Offline Storage Read/write data to an application data store Based on.NET isolated storage APIs and functionality IsolatedStorageFile.GetUserStoreForApplication App can partition space into multiple files and directories Currently fixed at 1MB limit; will be configurable, and apps will also be able to prompt the user for increased quota Open File Dialog Allows prompting the user to select files and make available for reading Application is provided file name, and can open a readable stream Networking BrowserHttpWebRequest System.Net programming model on top of XMLHttp Automatically inherits cookies, session, authentication state

Managed chess engine used by Ajax application

Simple data visualization and interaction

Simple text editor with “draft-mode”

Async Multi-file Upload API

XAML Controls Higher-level APIs for storage Dynamic isolated storage quota, prompting the user Cross-domain networking Background and async execution support Richer interop with HTML and script

Community site and starting point for docs, samples, forums, etc. Related Talks Silverlight talks: DEV310 and DEV311 Blogs

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

This session shows how to enhance your ASP.NET and Ajax applications with Silverlight. It demonstrates how you can easily incorporate media experiences using the familiar server-control paradigm and customize it using XAML. Next it demonstrates using XAML vector graphics and animation for data visualization. The session then covers using managed code and.NET framework capabilities such as offline storage, and local file I/O in a manner than naturally fits into your Ajax applications to go beyond key limitations of the browser, while retaining your application’s cross-browser and cross-platform reach.

Using an event to invoke arbitrary methods Until we have true method support Mark the event as scriptable Create a custom event args type that is scriptable Script can subscribe an event handler Do this during the onLoad handler of the Silverlight control itself When managed code raises the event, the scripting bridge will invoke the script handler