SlideShare a Scribd company logo
Microsoft .Net Framework 3.x
Agenda Introduction to .Net 3.0 (along with 3.5) What's new in .Net 3.0 – A developer perspective Introduction to XAML The WPF, WCF, WF and Cardspace Silverlight Demos / Hands on Questions and Answers
.Net 3.0:  Net combines the power of the .NET Framework 2.0 with new technologies for building applications that have visually compelling user experiences, seamless communication across technology boundaries, and the ability to support a wide range of business processes. NET Framework 3.0 is a superset of the .NET Framework, designed to expose the new functionality in Windows Vista® to the developer through managed classes. Overview to .Net 3.0 Windows Vista (Longhorn) is tightly integrated with .net 3.0 framework. The Look and feel of Vista is enhanced using the WPF.
What's new in .Net 3.0 – A developer perspective  Programming model for Windows   .NET Framework 3.0 consists of these basic components: .NET Framework 2.0 Microsoft® Windows® Presentation Foundation (formerly Avalon) Microsoft® Windows® Communication Foundation (formerly Indigo) Microsoft® Windows® Workflow Foundation Windows CardSpace® (formerly code named "Infocard")
XAML One great benefit of XAML is that it helps to separate design and development, which actually helps to improve collaboration and efficiency between designers and software developers. As the XAML markup for an application's UI remains separate from the remainder of application logic, a designer's exact layout can be saved in XAML and combined with the application without affecting the development process. Easily toolable, declarative markup Code and content are separate Can be rendered in the browser / standalone application XPS – XML Paper Specification. Microsoft has integrated XPS-based technologies into the 2007 Microsoft Office system and the Microsoft Windows Vista operating system, but XPS itself is platform independent, openly published, and available royalty-free.
XAML <Button Width=&quot;100&quot;> OK <Button.Background> LightBlue </Button.Background> </Button> XAML Button b1 = new Button(); b1.Content = &quot;OK&quot;; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; C# Dim b1 As New Button b1.Content = &quot;OK&quot; b1.Background = New _   SolidColorBrush(Colors.LightBlue) b1.Width = 100 VB.NET
Extensible Application Markup Language Introduction to XAML Microsoft Tools for Designers & Developers Declarative Programming through XAML Third Party Tools (e.g. Aurora by Mobiform, ZAM 3D by Electric Rain) Designers design With XAML designers & developers can streamline their collaboration Developers add business   logic
Silverlight Silverlight is a new cross-browser, cross-platform implementation of the .NET Framework for building and delivering the next generation of media experiences and rich interactive applications (RIA) for the Web. Silverlight unifies the capabilities of the server, the Web, and the desktop, of managed code and dynamic languages, of declarative and traditional programming, and the power of Windows Presentation Foundation (WPF). Silverlight enables following features: It is a cross-browser, cross-platform technology. It runs in all popular Web browsers, including Microsoft Internet Explorer,  Flock,  Mozilla Firefox, Apple Safari, and Opera, and on Microsoft Windows and Apple Mac OS X. It provides a consistent experience no matter where it runs. It is supported by a very small download that installs in seconds. It streams video and audio. It scales video quality to everything from mobile devices to desktop browser s . It includes compelling graphics that users can manipulate—drag, turn, zoom—directly in the browser.  It reads data and updates the display, but it doesn't interrupt the user by refreshing the whole page.
Compelling Cross-Platform User Experiences Immersive media experiences & RIA Seamless, fast installation for end users Consistent experiences on Mac / Windows  Flexible programming model with collaborative tools Integration with Web technologies Based on the .NET Framework Role specific tools for designers / developers   Efficient, lower cost delivery, and more capable media HD to Mobile w/ SMPTE VC-1 Broad media ecosystem Tools for live and on-demand publishing
 
Highly productive development framework Multi-language support Latest developer innovations (e.g. LINQ) AJAX integration Great tools  Visual Studio Expression Studio Cross-platform & cross-browser plugin Works with Safari, Firefox and Internet Explorer  Mac OS X and Windows Any web server Fast, easy install process
2D Graphics Standard shapes, masking and clipping Transformations: skew, rotate, scale, translate, matrix Animation Basics Animations change properties over time Support linear, discrete and spline animation Animatable property types: Double, Color, Point Animations and graphics are defined using XAML Media Features Video: WMV V7, V8, V9, VC-1 Audio: WMA V7, V8, V9 (standard), MP3 Multiple options for deploying media HTTP progressive download Integration with Windows Media Server Extensive WMV ecosystem
Silverlight JavaScript Silverlight XAML elements are scriptable via the browser script engine (JavaScript) Scriptable objects are obtained via findName Scriptable objects (elements) can be controlled via properties and methods Models JavaScript and HTML DOM interaction findName is equivalent to document.getElementById() Supports tree walking via children collection Position set using &quot;Canvas.Top&quot; and &quot;Canvas.Left&quot; Size can be scaled or set via Height/Width
Silverlight How Silverlight offers features: WPF and XAML . Silverlight includes Windows Presentation Foundation (WPF) technology, which greatly extends the elements in the browser for creating UI. WPF lets you create graphics, animation, media, and other rich client features, extending browser-based UI beyond what is available with HTML alone. Extensible Application Markup Language (XAML) provides a declarative  m arkup syntax for creating WPF elements. Extensions to JavaScript . Silverlight provides extensions to the universal browser scripting language that provide powerful control over the browser UI, including the ability to work with WPF elements. Cross-browser, cross-platform support . Silverlight runs the same on all popular browsers (on any platform). You can design and develop your application without having to worry about which browser or platform your users have. Integration with existing applications . Silverlight integrates seamlessly with existing JavaScript and ASP.NET AJAX code to complement functionality  already created. Access to the .NET Framework programming model and to associated tools . Silverlight-based applications  may be created  using dynamic languages such as Managed JScript and IronPython as well as languages such as C# and Visual Basic.  D evelopment tools such as Visual Studio  can be leveraged  to create Silverlight-based applications.
Silverlight LINQ . Silverlight includes language-integrated query (LINQ), which enables data access using intuitive native syntax and strongly typed objects in .NET Framework languages. S erver-based resources in ASP.NET  can be created to  use the AJAX capabilities of ASP.NET to interact with server-based resources without interrupting the user.
Silverlight XAML Browser Host Integrated Networking Stack DOM Integration Installer JavaScript Engine Presentation Core .NET for Silverlight Inputs Keyboard Mouse Ink Media WMV / VC1 WMA MP3 Controls Layout Editing UI Core 2D Vectors Animation Text Images Transforms DRM Media Dynamic Languages Ruby Python BCL Generics Collections Web Services REST RSS SOAP POX JSON Data LINQ LINQ-to-XML WPF for Silverlight Extensible Controls Common Language Runtime ASP.NET AJAX Libs <asp:xaml> <asp:media> Server Silverlight 1.0 Silverlight 1.1 Legend
Silverlight
Creating a custom control Derive from System.Windows.Controls.Control Define the look of the control in XAML Call  InitializeFromXaml(xaml)  to build the initial content Store the return value to manipulate children Accessing a custom control from XAML Namespace declaration locates the control Use it like a regular control xmlns:local=&quot;clr-namespace:SilverlightApp;assembly=ClientBin/AppBinary.dll <local:myCustomControl PropertyX=&quot;10&quot; FooEvent=&quot;OnFooEvent&quot; />
Browser based headers/cookies passed with request Restricted to same domain access in the Alpha Cross-domain coming Make the HTTP Request Process the response Uri dataLocation =  new  Uri(&quot; http://localhost/trafficdata.xml &quot;); BrowserHttpWebRequest request =  new  BrowserHttpWebRequest(dataLocation); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); StreamReader responseReader =  new   StreamReader(response.GetResponseStream()); string  RawResponse = responseReader.ReadToEnd();
Core XML reading & writing capabilities in the alpha RAD XLINQ support coming Initialize the reader Find a node and read its value XmlReader xr = XmlReader.Create( new  StringReader(RawResponse)); xr.ReadToFollowing(&quot; Item &quot;); string  playerNodeText = xr.Value; string  playerNameAttribute = xr.GetAttribute(&quot; Name &quot;);
Visual Studio-based Proxy Generator enables strongly typed access ASP.NET JSON services supported in the Alpha WCF and SOAP will be supported in future releases Server-based web service Call the Web Service from the client [WebMethod] public  List<Transaction> GetTransactionList() {  ... } proxy =  new  BankProxy(); transactionList =  proxy.GetTransactionList ().ToList();
HTML access available in new namespace  Static HtmlPage class provides entry point  Hookup events, call methods, or access properties using  System.Windows.Browser; HtmlPage.Navigate(&quot; http://www.microsoft.com &quot;); String  server = HtmlPage.DocumentUri.Host; HtmlElement myButton = HtmlPage.Document.GetElementByID(&quot; myButtonID &quot;); myButton.AttachEvent(&quot; onclick &quot;,  new EventHandler( this .myButtonClicked)); private   void   myButtonClicked( object  sender, EventArgs e)  { ... }
Mark a property, method or event as [Scriptable] Register a scriptable object Access the managed object from script [Scriptable] public   void   Search( string   Name) { ... } WebApplication.Current.RegisterScriptableObject (&quot; EntryPoint &quot;,  this ); var  control = document.getElementById(&quot; SilverlightControl &quot;); control.Content.EntryPoint.Search(input.value);
Silverlight Silverlight RIA – Light up my web Silverlight and ASP .NET , AJAX
References http://msdn2.microsoft.com/en-us/netframework/default.aspx http://www.gotdotnet.com/ Community Site:  http://silverlight.net   Main Product Site:  http://www.microsoft.com/silverlight   MSDN Center:  http://msdn.microsoft.com/silverlight   Online Forums:  http://silverlight.net/forums Online SDK:  http://msdn2.microsoft.com/bb188266.aspx   Silverlight Blogs Tim Sneath:  http://blogs.msdn.com/tims   Laurence Moroney:  http://blogs.msdn.com/webnext   Adam Kinney:  http:// adamkinney.com Jesse Liberty:  http:// silverlight.net/blogs/jesseliberty / Tim Heuer:  http:// timheuer.com Dave Campbell:  http:// www.wynapse.com / Email: subodh.pushpak@globallogic.com
Questions and Answers

More Related Content

PPT
Dot Net Training Wcf Dot Net35
Subodh Pushpak
 
PPT
Web services, WCF services and Multi Threading with Windows Forms
Peter Gfader
 
PPTX
1. WCF Services - Exam 70-487
Bat Programmer
 
PPT
WCF
Duy Do Phan
 
PDF
Windows Communication Foundation (WCF)
Peter R. Egli
 
PPTX
WCF (Windows Communication Foundation)
ipower softwares
 
PPTX
Windows Communication Foundation (WCF) Service
Sj Lim
 
PPT
WCF
Vishwa Mohan
 
Dot Net Training Wcf Dot Net35
Subodh Pushpak
 
Web services, WCF services and Multi Threading with Windows Forms
Peter Gfader
 
1. WCF Services - Exam 70-487
Bat Programmer
 
Windows Communication Foundation (WCF)
Peter R. Egli
 
WCF (Windows Communication Foundation)
ipower softwares
 
Windows Communication Foundation (WCF) Service
Sj Lim
 

What's hot (19)

DOC
WCF tutorial
Abhi Arya
 
PDF
Wcf development
Binu Bhasuran
 
PDF
Bn1001 demo ppt advance dot net
conline training
 
PPTX
WCF Fundamentals
Safaa Farouk
 
PPTX
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio
 
PPT
Interoperability and Windows Communication Foundation (WCF) Overview
Jorgen Thelin
 
PPTX
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
Dave Bost
 
PPTX
Windows Communication Foundation (WCF)
Betclic Everest Group Tech Team
 
PDF
Chapter 6-Remoting
Hoàng Hải Nguyễn
 
PPTX
Windows Communication Foundation (WCF) Best Practices
Orbit One - We create coherence
 
PPTX
10 Tricks and Tips for WCF
Barry Dorrans
 
PPT
As Pdotnet
balujalabs
 
PPT
WCF And ASMX Web Services
Manny Siddiqui MCS, MBA, PMP
 
PPT
Wcf architecture overview
Arbind Tiwari
 
PPTX
WCF Introduction
Mohamed Zakarya Abdelgawad
 
DOCX
Online advertising management system
Yesu Raj
 
PPTX
Introduction to WCF
ybbest
 
PDF
Building RESTful Services with WCF 4.0
Saltmarch Media
 
WCF tutorial
Abhi Arya
 
Wcf development
Binu Bhasuran
 
Bn1001 demo ppt advance dot net
conline training
 
WCF Fundamentals
Safaa Farouk
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio
 
Interoperability and Windows Communication Foundation (WCF) Overview
Jorgen Thelin
 
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
Dave Bost
 
Windows Communication Foundation (WCF)
Betclic Everest Group Tech Team
 
Chapter 6-Remoting
Hoàng Hải Nguyễn
 
Windows Communication Foundation (WCF) Best Practices
Orbit One - We create coherence
 
10 Tricks and Tips for WCF
Barry Dorrans
 
As Pdotnet
balujalabs
 
WCF And ASMX Web Services
Manny Siddiqui MCS, MBA, PMP
 
Wcf architecture overview
Arbind Tiwari
 
WCF Introduction
Mohamed Zakarya Abdelgawad
 
Online advertising management system
Yesu Raj
 
Introduction to WCF
ybbest
 
Building RESTful Services with WCF 4.0
Saltmarch Media
 
Ad

Similar to Silverlight Training (20)

PPT
Dot Net Training Dot Net35
Subodh Pushpak
 
PPS
It's Time for Silverlight @iRajLal
Raj Lal
 
PPT
Silverlight 2
Dave Bost
 
PDF
Silverlight - What Is It And How Can We Use It
Venketash (Pat) Ramadass
 
PDF
WDN08 Silverlight
wsmith67
 
PPTX
Parallel minds silverlight
parallelminder
 
PPTX
Introduction to Microsoft Silverlight
Glen Gordon
 
PDF
Silverlight abhinav - slideshare
abhinav4133
 
PPTX
Introduction to Silverlight 3 @ Epicenter.ie
Stuart Manning
 
PPT
Silver Light for every one by Subodh
Subodh Pushpak
 
PDF
Silverlight Document Search Engine
Mustata Bogdan
 
PPT
Silverlight Briefing Deck
llangit
 
PPTX
XAML: One Language to Rule Them All
Frank La Vigne
 
PPT
Silverlight 2 with Visual Studio 2008 and Expression Blend
Caleb Jenkins
 
PPTX
Silverlight
Ankita Goyal
 
PPTX
Building Rich Internet Applications Using Microsoft Silverlight 2, Part 2
goodfriday
 
PPTX
Building RIA Apps with Silverlight
Aniruddha Chakrabarti
 
PPTX
Silverlight
vishakpb
 
PPT
Silverlight Development & The Model-View-ViewModel Pattern
Derek Novavi
 
PPTX
Silverlight 4 Briefing
David Chou
 
Dot Net Training Dot Net35
Subodh Pushpak
 
It's Time for Silverlight @iRajLal
Raj Lal
 
Silverlight 2
Dave Bost
 
Silverlight - What Is It And How Can We Use It
Venketash (Pat) Ramadass
 
WDN08 Silverlight
wsmith67
 
Parallel minds silverlight
parallelminder
 
Introduction to Microsoft Silverlight
Glen Gordon
 
Silverlight abhinav - slideshare
abhinav4133
 
Introduction to Silverlight 3 @ Epicenter.ie
Stuart Manning
 
Silver Light for every one by Subodh
Subodh Pushpak
 
Silverlight Document Search Engine
Mustata Bogdan
 
Silverlight Briefing Deck
llangit
 
XAML: One Language to Rule Them All
Frank La Vigne
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Caleb Jenkins
 
Silverlight
Ankita Goyal
 
Building Rich Internet Applications Using Microsoft Silverlight 2, Part 2
goodfriday
 
Building RIA Apps with Silverlight
Aniruddha Chakrabarti
 
Silverlight
vishakpb
 
Silverlight Development & The Model-View-ViewModel Pattern
Derek Novavi
 
Silverlight 4 Briefing
David Chou
 
Ad

More from Subodh Pushpak (18)

PPTX
Azure data platform & structured storage
Subodh Pushpak
 
PPTX
Xamarin day10 - Advance concepts - Native Binding, service calling
Subodh Pushpak
 
PPTX
Xamarin day9 - Advance Xamarin Forms
Subodh Pushpak
 
PPTX
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Subodh Pushpak
 
PPTX
Xamarin day7
Subodh Pushpak
 
PPTX
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Subodh Pushpak
 
PPTX
Xamarin day5 - iOS Advance Concepts
Subodh Pushpak
 
PPTX
Xamarin day4 - iOS concepts
Subodh Pushpak
 
PPTX
Xamarin day3 - Android Fragments
Subodh Pushpak
 
PPTX
Xamarin day2 - Android with Xamarin
Subodh Pushpak
 
PPTX
Xamarin day1
Subodh Pushpak
 
PPTX
New features in .NET 4.5, C# and VS2012
Subodh Pushpak
 
PPTX
Windows Azure with ASP .Net MVC3
Subodh Pushpak
 
PPTX
Windows Azure with Windows Phone 7
Subodh Pushpak
 
PPTX
Windows Phone 7- From idea to making money
Subodh Pushpak
 
PPTX
WebMatrix2
Subodh Pushpak
 
PPTX
WebMatrix
Subodh Pushpak
 
PPTX
Windows phone7 subodh
Subodh Pushpak
 
Azure data platform & structured storage
Subodh Pushpak
 
Xamarin day10 - Advance concepts - Native Binding, service calling
Subodh Pushpak
 
Xamarin day9 - Advance Xamarin Forms
Subodh Pushpak
 
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Subodh Pushpak
 
Xamarin day7
Subodh Pushpak
 
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Subodh Pushpak
 
Xamarin day5 - iOS Advance Concepts
Subodh Pushpak
 
Xamarin day4 - iOS concepts
Subodh Pushpak
 
Xamarin day3 - Android Fragments
Subodh Pushpak
 
Xamarin day2 - Android with Xamarin
Subodh Pushpak
 
Xamarin day1
Subodh Pushpak
 
New features in .NET 4.5, C# and VS2012
Subodh Pushpak
 
Windows Azure with ASP .Net MVC3
Subodh Pushpak
 
Windows Azure with Windows Phone 7
Subodh Pushpak
 
Windows Phone 7- From idea to making money
Subodh Pushpak
 
WebMatrix2
Subodh Pushpak
 
WebMatrix
Subodh Pushpak
 
Windows phone7 subodh
Subodh Pushpak
 

Recently uploaded (20)

PPTX
Business Plan Presentation: Vision, Strategy, Services, Growth Goals & Future...
neelsoni2108
 
PDF
Infrastructure and geopolitics.AM.ENG.docx.pdf
Andrea Mennillo
 
PDF
New Royals Distribution Plan Presentation
ksherwin
 
PDF
Gregory Felber - An Accomplished Underwater Marine Biologist
Gregory Felber
 
PDF
Followers to Fees - Social media for Speakers
Corey Perlman, Social Media Speaker and Consultant
 
PDF
Keppel Ltd. 1H 2025 Results Presentation Slides
KeppelCorporation
 
PPTX
The Ultimate Guide to Customer Journey Mapping
RUPAL AGARWAL
 
PPTX
Financial Management for business management .pptx
Hasibullah Ahmadi
 
PPTX
Appreciations - July 25.pptxdddddddddddss
anushavnayak
 
PDF
Using Innovative Solar Manufacturing to Drive India's Renewable Energy Revolu...
Insolation Energy
 
PDF
bain-temasek-sea-green-economy-2022-report-investing-behind-the-new-realities...
YudiSaputra43
 
PDF
William Trowell - A Construction Project Manager
William Trowell
 
PDF
Equinox Gold - Corporate Presentation.pdf
Equinox Gold Corp.
 
PDF
Alan Stalcup - Principal Of GVA Real Estate Investments
Alan Stalcup
 
PPTX
Brain Based Enterprises - Harmonising Man, Woman and Machine
Peter Cook
 
PDF
2025 07 29 The Future, Backwards Agile 2025.pdf
Daniel Walsh
 
PDF
Danielle Oliveira New Jersey - A Seasoned Lieutenant
Danielle Oliveira New Jersey
 
PDF
Bihar Idea festival - Pitch deck-your story.pdf
roharamuk
 
PDF
Withum Webinar - OBBBA: Tax Insights for Food and Consumer Brands
Withum
 
PDF
askOdin - An Introduction to AI-Powered Investment Judgment
YekSoon LOK
 
Business Plan Presentation: Vision, Strategy, Services, Growth Goals & Future...
neelsoni2108
 
Infrastructure and geopolitics.AM.ENG.docx.pdf
Andrea Mennillo
 
New Royals Distribution Plan Presentation
ksherwin
 
Gregory Felber - An Accomplished Underwater Marine Biologist
Gregory Felber
 
Followers to Fees - Social media for Speakers
Corey Perlman, Social Media Speaker and Consultant
 
Keppel Ltd. 1H 2025 Results Presentation Slides
KeppelCorporation
 
The Ultimate Guide to Customer Journey Mapping
RUPAL AGARWAL
 
Financial Management for business management .pptx
Hasibullah Ahmadi
 
Appreciations - July 25.pptxdddddddddddss
anushavnayak
 
Using Innovative Solar Manufacturing to Drive India's Renewable Energy Revolu...
Insolation Energy
 
bain-temasek-sea-green-economy-2022-report-investing-behind-the-new-realities...
YudiSaputra43
 
William Trowell - A Construction Project Manager
William Trowell
 
Equinox Gold - Corporate Presentation.pdf
Equinox Gold Corp.
 
Alan Stalcup - Principal Of GVA Real Estate Investments
Alan Stalcup
 
Brain Based Enterprises - Harmonising Man, Woman and Machine
Peter Cook
 
2025 07 29 The Future, Backwards Agile 2025.pdf
Daniel Walsh
 
Danielle Oliveira New Jersey - A Seasoned Lieutenant
Danielle Oliveira New Jersey
 
Bihar Idea festival - Pitch deck-your story.pdf
roharamuk
 
Withum Webinar - OBBBA: Tax Insights for Food and Consumer Brands
Withum
 
askOdin - An Introduction to AI-Powered Investment Judgment
YekSoon LOK
 

Silverlight Training

  • 2. Agenda Introduction to .Net 3.0 (along with 3.5) What's new in .Net 3.0 – A developer perspective Introduction to XAML The WPF, WCF, WF and Cardspace Silverlight Demos / Hands on Questions and Answers
  • 3. .Net 3.0: Net combines the power of the .NET Framework 2.0 with new technologies for building applications that have visually compelling user experiences, seamless communication across technology boundaries, and the ability to support a wide range of business processes. NET Framework 3.0 is a superset of the .NET Framework, designed to expose the new functionality in Windows Vista® to the developer through managed classes. Overview to .Net 3.0 Windows Vista (Longhorn) is tightly integrated with .net 3.0 framework. The Look and feel of Vista is enhanced using the WPF.
  • 4. What's new in .Net 3.0 – A developer perspective Programming model for Windows .NET Framework 3.0 consists of these basic components: .NET Framework 2.0 Microsoft® Windows® Presentation Foundation (formerly Avalon) Microsoft® Windows® Communication Foundation (formerly Indigo) Microsoft® Windows® Workflow Foundation Windows CardSpace® (formerly code named &quot;Infocard&quot;)
  • 5. XAML One great benefit of XAML is that it helps to separate design and development, which actually helps to improve collaboration and efficiency between designers and software developers. As the XAML markup for an application's UI remains separate from the remainder of application logic, a designer's exact layout can be saved in XAML and combined with the application without affecting the development process. Easily toolable, declarative markup Code and content are separate Can be rendered in the browser / standalone application XPS – XML Paper Specification. Microsoft has integrated XPS-based technologies into the 2007 Microsoft Office system and the Microsoft Windows Vista operating system, but XPS itself is platform independent, openly published, and available royalty-free.
  • 6. XAML <Button Width=&quot;100&quot;> OK <Button.Background> LightBlue </Button.Background> </Button> XAML Button b1 = new Button(); b1.Content = &quot;OK&quot;; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; C# Dim b1 As New Button b1.Content = &quot;OK&quot; b1.Background = New _ SolidColorBrush(Colors.LightBlue) b1.Width = 100 VB.NET
  • 7. Extensible Application Markup Language Introduction to XAML Microsoft Tools for Designers & Developers Declarative Programming through XAML Third Party Tools (e.g. Aurora by Mobiform, ZAM 3D by Electric Rain) Designers design With XAML designers & developers can streamline their collaboration Developers add business logic
  • 8. Silverlight Silverlight is a new cross-browser, cross-platform implementation of the .NET Framework for building and delivering the next generation of media experiences and rich interactive applications (RIA) for the Web. Silverlight unifies the capabilities of the server, the Web, and the desktop, of managed code and dynamic languages, of declarative and traditional programming, and the power of Windows Presentation Foundation (WPF). Silverlight enables following features: It is a cross-browser, cross-platform technology. It runs in all popular Web browsers, including Microsoft Internet Explorer, Flock, Mozilla Firefox, Apple Safari, and Opera, and on Microsoft Windows and Apple Mac OS X. It provides a consistent experience no matter where it runs. It is supported by a very small download that installs in seconds. It streams video and audio. It scales video quality to everything from mobile devices to desktop browser s . It includes compelling graphics that users can manipulate—drag, turn, zoom—directly in the browser. It reads data and updates the display, but it doesn't interrupt the user by refreshing the whole page.
  • 9. Compelling Cross-Platform User Experiences Immersive media experiences & RIA Seamless, fast installation for end users Consistent experiences on Mac / Windows Flexible programming model with collaborative tools Integration with Web technologies Based on the .NET Framework Role specific tools for designers / developers Efficient, lower cost delivery, and more capable media HD to Mobile w/ SMPTE VC-1 Broad media ecosystem Tools for live and on-demand publishing
  • 10.  
  • 11. Highly productive development framework Multi-language support Latest developer innovations (e.g. LINQ) AJAX integration Great tools Visual Studio Expression Studio Cross-platform & cross-browser plugin Works with Safari, Firefox and Internet Explorer Mac OS X and Windows Any web server Fast, easy install process
  • 12. 2D Graphics Standard shapes, masking and clipping Transformations: skew, rotate, scale, translate, matrix Animation Basics Animations change properties over time Support linear, discrete and spline animation Animatable property types: Double, Color, Point Animations and graphics are defined using XAML Media Features Video: WMV V7, V8, V9, VC-1 Audio: WMA V7, V8, V9 (standard), MP3 Multiple options for deploying media HTTP progressive download Integration with Windows Media Server Extensive WMV ecosystem
  • 13. Silverlight JavaScript Silverlight XAML elements are scriptable via the browser script engine (JavaScript) Scriptable objects are obtained via findName Scriptable objects (elements) can be controlled via properties and methods Models JavaScript and HTML DOM interaction findName is equivalent to document.getElementById() Supports tree walking via children collection Position set using &quot;Canvas.Top&quot; and &quot;Canvas.Left&quot; Size can be scaled or set via Height/Width
  • 14. Silverlight How Silverlight offers features: WPF and XAML . Silverlight includes Windows Presentation Foundation (WPF) technology, which greatly extends the elements in the browser for creating UI. WPF lets you create graphics, animation, media, and other rich client features, extending browser-based UI beyond what is available with HTML alone. Extensible Application Markup Language (XAML) provides a declarative m arkup syntax for creating WPF elements. Extensions to JavaScript . Silverlight provides extensions to the universal browser scripting language that provide powerful control over the browser UI, including the ability to work with WPF elements. Cross-browser, cross-platform support . Silverlight runs the same on all popular browsers (on any platform). You can design and develop your application without having to worry about which browser or platform your users have. Integration with existing applications . Silverlight integrates seamlessly with existing JavaScript and ASP.NET AJAX code to complement functionality already created. Access to the .NET Framework programming model and to associated tools . Silverlight-based applications may be created using dynamic languages such as Managed JScript and IronPython as well as languages such as C# and Visual Basic. D evelopment tools such as Visual Studio can be leveraged to create Silverlight-based applications.
  • 15. Silverlight LINQ . Silverlight includes language-integrated query (LINQ), which enables data access using intuitive native syntax and strongly typed objects in .NET Framework languages. S erver-based resources in ASP.NET can be created to use the AJAX capabilities of ASP.NET to interact with server-based resources without interrupting the user.
  • 16. Silverlight XAML Browser Host Integrated Networking Stack DOM Integration Installer JavaScript Engine Presentation Core .NET for Silverlight Inputs Keyboard Mouse Ink Media WMV / VC1 WMA MP3 Controls Layout Editing UI Core 2D Vectors Animation Text Images Transforms DRM Media Dynamic Languages Ruby Python BCL Generics Collections Web Services REST RSS SOAP POX JSON Data LINQ LINQ-to-XML WPF for Silverlight Extensible Controls Common Language Runtime ASP.NET AJAX Libs <asp:xaml> <asp:media> Server Silverlight 1.0 Silverlight 1.1 Legend
  • 18. Creating a custom control Derive from System.Windows.Controls.Control Define the look of the control in XAML Call InitializeFromXaml(xaml) to build the initial content Store the return value to manipulate children Accessing a custom control from XAML Namespace declaration locates the control Use it like a regular control xmlns:local=&quot;clr-namespace:SilverlightApp;assembly=ClientBin/AppBinary.dll <local:myCustomControl PropertyX=&quot;10&quot; FooEvent=&quot;OnFooEvent&quot; />
  • 19. Browser based headers/cookies passed with request Restricted to same domain access in the Alpha Cross-domain coming Make the HTTP Request Process the response Uri dataLocation = new Uri(&quot; http://localhost/trafficdata.xml &quot;); BrowserHttpWebRequest request = new BrowserHttpWebRequest(dataLocation); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); StreamReader responseReader = new StreamReader(response.GetResponseStream()); string RawResponse = responseReader.ReadToEnd();
  • 20. Core XML reading & writing capabilities in the alpha RAD XLINQ support coming Initialize the reader Find a node and read its value XmlReader xr = XmlReader.Create( new StringReader(RawResponse)); xr.ReadToFollowing(&quot; Item &quot;); string playerNodeText = xr.Value; string playerNameAttribute = xr.GetAttribute(&quot; Name &quot;);
  • 21. Visual Studio-based Proxy Generator enables strongly typed access ASP.NET JSON services supported in the Alpha WCF and SOAP will be supported in future releases Server-based web service Call the Web Service from the client [WebMethod] public List<Transaction> GetTransactionList() { ... } proxy = new BankProxy(); transactionList = proxy.GetTransactionList ().ToList();
  • 22. HTML access available in new namespace Static HtmlPage class provides entry point Hookup events, call methods, or access properties using System.Windows.Browser; HtmlPage.Navigate(&quot; http://www.microsoft.com &quot;); String server = HtmlPage.DocumentUri.Host; HtmlElement myButton = HtmlPage.Document.GetElementByID(&quot; myButtonID &quot;); myButton.AttachEvent(&quot; onclick &quot;, new EventHandler( this .myButtonClicked)); private void myButtonClicked( object sender, EventArgs e) { ... }
  • 23. Mark a property, method or event as [Scriptable] Register a scriptable object Access the managed object from script [Scriptable] public void Search( string Name) { ... } WebApplication.Current.RegisterScriptableObject (&quot; EntryPoint &quot;, this ); var control = document.getElementById(&quot; SilverlightControl &quot;); control.Content.EntryPoint.Search(input.value);
  • 24. Silverlight Silverlight RIA – Light up my web Silverlight and ASP .NET , AJAX
  • 25. References http://msdn2.microsoft.com/en-us/netframework/default.aspx http://www.gotdotnet.com/ Community Site: http://silverlight.net Main Product Site: http://www.microsoft.com/silverlight MSDN Center: http://msdn.microsoft.com/silverlight Online Forums: http://silverlight.net/forums Online SDK: http://msdn2.microsoft.com/bb188266.aspx Silverlight Blogs Tim Sneath: http://blogs.msdn.com/tims Laurence Moroney: http://blogs.msdn.com/webnext Adam Kinney: http:// adamkinney.com Jesse Liberty: http:// silverlight.net/blogs/jesseliberty / Tim Heuer: http:// timheuer.com Dave Campbell: http:// www.wynapse.com / Email: [email protected]