SlideShare a Scribd company logo
Silverlight 4 Course
1. Introduction to Silverlight
2. Layout
3. Input Handling
4. Applications, Resources, Deployment
5. Data Binding, View Model
6. Out of Browser, File Access, Printing
7. WCF RIA Services (4 Weeks )
Introduction to Silverlight
Agenda
1.What is Silverlight ?
2.Evolution of Silverlight
3.Getting Started
4.Silverlight VS WPF
5.Core Controls
6.Anatomy
7.Demo
Silverlight 4
• Cross browser plugin – IE (Active/X), FireFox (NSAPI),
Chrome, Safari (WebKit)
• Cross platform – Windows, MAC (Intel Only) and Linux
using Moonlight (Delayed)
• .Net programming language (C#, Visual Basic, …) and
runtime
• Works with Javascript and HTML DOM
• Not mutually exclusive
• Mobile platform : Windows 7 Phone, Nokia Symbian OS
• RIA : User interaction and Animation
History
• .Net Programming for client server web.
• Javascript to provide client side interactivity.
• Crippled because of Javascript compatibility.
• Microsoft wanted better control just like Java
Applets.
• So came Silverlight. Initially known as WPF/E.
• WPF History : GDI & USER, DirectX, XP’s
GDI+
Silverlight Evolution
• SL 1 : Graphics, hi-def media, script, text
• SL 2 : . Net Framework
• SL 3: OOB, Data binding, Common
Controls, Deployment : LOB
• SL 4 : Printing, COM Automation, Trusted
Apps, Multi touch, Webcam & Mic, Mouse
right click
Getting Started
• Install using Web Installer :
http://www.microsoft.com/web
Installs Web Server, Frameworks and Runtimes,
Database and Tools.
• Install Visual Studio 2010 Express (SL 3)
• http://www.microsoft.com/express/Web
• Install Silverlight Tools (SL 4)
• http://www.silverlight.net/getstarted
Silverlight VS WPF
• Different implementation : Same Basic Technology
• Web vs Desktop
• Subset Vs Superset of .Net Framework
• Mostly the same team works on both.
• Use #ifdef if targeting both.
• WPF features Full Hardware Acc, Drawing Types, Event tunneling.
• Silverlight Features Browser Integration, Video Brush, Deep Zoom
WPFSL
XAML
XML Application Markup Language
o Declarative language to describe UI.
o XML Rules apply. Don’t forget />
o Pronounced like Zammel.
o Expression Blend Tools support it.
o CAML
o BAML
o Can call Javascript function for splash
screen functionality.
XAML
• Element : Corresponds to CLR object
<Button>
<Button.Content>
Cancel
<Button.Content />
<Button>
• Attribute : Corresponds to Properties, events
<Button Content=“Cancel” Click=“fn” />
• Namespaces
xmlns:x=“http:/…..”
…
<Button x:Name=“mybtn” />
XAML
• Type Converter
<Button Background=“Red” />
Here Red gets converted to a SolidColorBrush because
of Type Converter.
• Markup extension {}
<TextBlock text={Binding …. } />
Silverlight project types
• Silverlight Application : stand alone
• Silverlight Navigation : Multiple pages URI Map
• Silverlight Class Library : reuse common code
• Silverlight Business Application : RIA Services
• WCF RIA Services Class
• Unit Test Application : Added to existing SL
Proj
– Demo [Show in Visual Studio]
Core Controls and Events
SL Runtime, SL SDK, SL ToolKit
• Button
• CheckBox
• RadioButton
• TextBox
• Image
• ComboBox
• ListBox
• Clicked
• Checked/Unchecked
• GroupName Property
• TextChanged
• Stretch Property
• Items Property
• SelectionChanged
DEMO
 
• Create Hello World
 
 Enter Name: 
 
Hello World, John
•Create all elements, events from both XAML and CS
•Hook to Javascript function. (No x:class )
•Talk about X:Name X:Class
•Show Document Outline / bread crumb in XAML view.
•Open project in both Blend and VS.
John Greet
Anatomy
• Object tag
• XAP Files in ClientBin
– Zip file
• Host project to host the html page
References
• Silverlight.net
• Channel9.msdn.com
• Silverlight cream
• Quick starts
Class Project
• Create an oval. Fill color Red.
• On Mouse enter change Fill color to Blue
• On Mouse exit change color to Green
• On Mouse click change color to Purple.
Red
Blue
Green
Color: Radio Button
Oval or Rect
Combo Box
Oval or Rect
• As Microsoft says :
– Light up the WEB
• As Obi Wan Kanobi says it :
• “Use the light, Luke”

More Related Content

What's hot

Component based Progress Programming
Component based Progress ProgrammingComponent based Progress Programming
Component based Progress Programming
Valentin Duricu
 
MVVM frameworks
MVVM frameworksMVVM frameworks
MVVM frameworks
Egor Bogatov
 
MVVM Windows UWP apps with Template 10
MVVM Windows UWP apps with Template 10MVVM Windows UWP apps with Template 10
MVVM Windows UWP apps with Template 10
Jiri Danihelka
 
HTML5 : Web to the next level
HTML5 : Web to the next levelHTML5 : Web to the next level
HTML5 : Web to the next level
Mohamed Azouz
 
Building web applications using kendo ui and the mvvm pattern
Building web applications using kendo ui and the mvvm patternBuilding web applications using kendo ui and the mvvm pattern
Building web applications using kendo ui and the mvvm pattern
Aspenware
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
Joe Wilson
 
Sugarcoating your frontend one ViewModel at a time
Sugarcoating your frontend one ViewModel at a timeSugarcoating your frontend one ViewModel at a time
Sugarcoating your frontend one ViewModel at a time
Einar Ingebrigtsen
 
English Casual 2012/05/10
English Casual 2012/05/10English Casual 2012/05/10
English Casual 2012/05/10
Ryosuke IWANAGA
 
新版阿尔法城背后的前端MVC实践
新版阿尔法城背后的前端MVC实践新版阿尔法城背后的前端MVC实践
新版阿尔法城背后的前端MVC实践
Dexter Yang
 
Web 2.0 & Ajax Basics
Web 2.0 & Ajax BasicsWeb 2.0 & Ajax Basics
Web 2.0 & Ajax Basics
Abhishek Nagar
 
Asp.net mvc 4
Asp.net mvc 4Asp.net mvc 4
Asp.net mvc 4
Hrichi Mohamed
 
Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)
Benjamin Howarth
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
Jeanho Chu
 
Sso
SsoSso
ASP .NET MVC - best practices
ASP .NET MVC - best practicesASP .NET MVC - best practices
ASP .NET MVC - best practices
Bohdan Pashkovskyi
 
An Introduction To Silverlight
An Introduction To SilverlightAn Introduction To Silverlight
An Introduction To Silverlight
Gergely Orosz
 
An overview of JavaScript
An overview of JavaScriptAn overview of JavaScript
An overview of JavaScript
Poluru S
 
[Mas 500] Web Basics
[Mas 500] Web Basics[Mas 500] Web Basics
[Mas 500] Web Basics
rahulbot
 
Comparisons of web languages
Comparisons of web languagesComparisons of web languages
Comparisons of web languages
Evelyn Loh
 
Developing Series 40 web apps with Nokia Web Tools 2.0
Developing Series 40 web apps with Nokia Web Tools 2.0Developing Series 40 web apps with Nokia Web Tools 2.0
Developing Series 40 web apps with Nokia Web Tools 2.0
Microsoft Mobile Developer
 

What's hot (20)

Component based Progress Programming
Component based Progress ProgrammingComponent based Progress Programming
Component based Progress Programming
 
MVVM frameworks
MVVM frameworksMVVM frameworks
MVVM frameworks
 
MVVM Windows UWP apps with Template 10
MVVM Windows UWP apps with Template 10MVVM Windows UWP apps with Template 10
MVVM Windows UWP apps with Template 10
 
HTML5 : Web to the next level
HTML5 : Web to the next levelHTML5 : Web to the next level
HTML5 : Web to the next level
 
Building web applications using kendo ui and the mvvm pattern
Building web applications using kendo ui and the mvvm patternBuilding web applications using kendo ui and the mvvm pattern
Building web applications using kendo ui and the mvvm pattern
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
Sugarcoating your frontend one ViewModel at a time
Sugarcoating your frontend one ViewModel at a timeSugarcoating your frontend one ViewModel at a time
Sugarcoating your frontend one ViewModel at a time
 
English Casual 2012/05/10
English Casual 2012/05/10English Casual 2012/05/10
English Casual 2012/05/10
 
新版阿尔法城背后的前端MVC实践
新版阿尔法城背后的前端MVC实践新版阿尔法城背后的前端MVC实践
新版阿尔法城背后的前端MVC实践
 
Web 2.0 & Ajax Basics
Web 2.0 & Ajax BasicsWeb 2.0 & Ajax Basics
Web 2.0 & Ajax Basics
 
Asp.net mvc 4
Asp.net mvc 4Asp.net mvc 4
Asp.net mvc 4
 
Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)Canopy view of single-page applications (SPAs)
Canopy view of single-page applications (SPAs)
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
Sso
SsoSso
Sso
 
ASP .NET MVC - best practices
ASP .NET MVC - best practicesASP .NET MVC - best practices
ASP .NET MVC - best practices
 
An Introduction To Silverlight
An Introduction To SilverlightAn Introduction To Silverlight
An Introduction To Silverlight
 
An overview of JavaScript
An overview of JavaScriptAn overview of JavaScript
An overview of JavaScript
 
[Mas 500] Web Basics
[Mas 500] Web Basics[Mas 500] Web Basics
[Mas 500] Web Basics
 
Comparisons of web languages
Comparisons of web languagesComparisons of web languages
Comparisons of web languages
 
Developing Series 40 web apps with Nokia Web Tools 2.0
Developing Series 40 web apps with Nokia Web Tools 2.0Developing Series 40 web apps with Nokia Web Tools 2.0
Developing Series 40 web apps with Nokia Web Tools 2.0
 

Viewers also liked

Silverlight Input Handling
Silverlight Input HandlingSilverlight Input Handling
Silverlight Input Handling
iedotnetug
 
Ria services updating data
Ria services updating dataRia services updating data
Ria services updating data
iedotnetug
 
Silverlight week5
Silverlight week5Silverlight week5
Silverlight week5
iedotnetug
 
Silverlight week2
Silverlight week2Silverlight week2
Silverlight week2
iedotnetug
 
IEDOTNETUG Silverlight Class Week 6
IEDOTNETUG Silverlight Class Week 6IEDOTNETUG Silverlight Class Week 6
IEDOTNETUG Silverlight Class Week 6
iedotnetug
 
Fiziskās kultūras un sporta loma un vieta latvijā final
Fiziskās kultūras un sporta loma un vieta latvijā finalFiziskās kultūras un sporta loma un vieta latvijā final
Fiziskās kultūras un sporta loma un vieta latvijā finalAivArs Platonovs
 
Gamification
GamificationGamification
Gamification
AivArs Platonovs
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
Luminary Labs
 

Viewers also liked (9)

Silverlight Input Handling
Silverlight Input HandlingSilverlight Input Handling
Silverlight Input Handling
 
Ria services updating data
Ria services updating dataRia services updating data
Ria services updating data
 
Silverlight week5
Silverlight week5Silverlight week5
Silverlight week5
 
Silverlight week2
Silverlight week2Silverlight week2
Silverlight week2
 
IEDOTNETUG Silverlight Class Week 6
IEDOTNETUG Silverlight Class Week 6IEDOTNETUG Silverlight Class Week 6
IEDOTNETUG Silverlight Class Week 6
 
Fiziskās kultūras un sporta loma un vieta latvijā final
Fiziskās kultūras un sporta loma un vieta latvijā finalFiziskās kultūras un sporta loma un vieta latvijā final
Fiziskās kultūras un sporta loma un vieta latvijā final
 
Gamification
GamificationGamification
Gamification
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 

Similar to Inland Empire .NET User's Group Silverlight Class

RIA with Flex & PHP - Tulsa TechFest 2009
RIA with Flex & PHP  - Tulsa TechFest 2009RIA with Flex & PHP  - Tulsa TechFest 2009
RIA with Flex & PHP - Tulsa TechFest 2009
Jason Ragsdale
 
Isomorphic web application
Isomorphic web applicationIsomorphic web application
Isomorphic web application
Oliver N
 
silverlight1.pptx
silverlight1.pptxsilverlight1.pptx
silverlight1.pptx
AltafSMT
 
Introduction to Microsoft Silverlight
Introduction to Microsoft SilverlightIntroduction to Microsoft Silverlight
Introduction to Microsoft Silverlight
Glen Gordon
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlight
parallelminder
 
AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NET
Yaniv Uriel
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1
drudolph11
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2
Microsoft Iceland
 
The Mobile Web - HTML5 on mobile devices
The Mobile Web - HTML5 on mobile devicesThe Mobile Web - HTML5 on mobile devices
The Mobile Web - HTML5 on mobile devices
Wesley Hales
 
Basics of Silverlight 1
Basics of Silverlight 1Basics of Silverlight 1
Basics of Silverlight 1
Meenakshi Kumar
 
Presentation wpf
Presentation wpfPresentation wpf
Presentation wpf
danishrafiq
 
SilverlightDevIntro
SilverlightDevIntroSilverlightDevIntro
SilverlightDevIntro
Pratik Aggarwal
 
Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP
Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTPMike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP
Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP
ukdpe
 
XAML: One Language to Rule Them All
XAML: One Language to Rule Them AllXAML: One Language to Rule Them All
XAML: One Language to Rule Them All
Frank La Vigne
 
Web Development Technologies
Web Development TechnologiesWeb Development Technologies
Web Development Technologies
Vignesh Prajapati
 
DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5
Frédéric Harper
 
Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGap
Amar Mesic
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
Peter Gfader
 
Silverlight
SilverlightSilverlight
Silverlight
Tamer Elshahat
 
Silver Light1.0
Silver Light1.0Silver Light1.0
Silver Light1.0
coolajju143
 

Similar to Inland Empire .NET User's Group Silverlight Class (20)

RIA with Flex & PHP - Tulsa TechFest 2009
RIA with Flex & PHP  - Tulsa TechFest 2009RIA with Flex & PHP  - Tulsa TechFest 2009
RIA with Flex & PHP - Tulsa TechFest 2009
 
Isomorphic web application
Isomorphic web applicationIsomorphic web application
Isomorphic web application
 
silverlight1.pptx
silverlight1.pptxsilverlight1.pptx
silverlight1.pptx
 
Introduction to Microsoft Silverlight
Introduction to Microsoft SilverlightIntroduction to Microsoft Silverlight
Introduction to Microsoft Silverlight
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlight
 
AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NET
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2
 
The Mobile Web - HTML5 on mobile devices
The Mobile Web - HTML5 on mobile devicesThe Mobile Web - HTML5 on mobile devices
The Mobile Web - HTML5 on mobile devices
 
Basics of Silverlight 1
Basics of Silverlight 1Basics of Silverlight 1
Basics of Silverlight 1
 
Presentation wpf
Presentation wpfPresentation wpf
Presentation wpf
 
SilverlightDevIntro
SilverlightDevIntroSilverlightDevIntro
SilverlightDevIntro
 
Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP
Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTPMike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP
Mike Taulty TechDays 2010 Silverlight and Windows Phone 7 CTP
 
XAML: One Language to Rule Them All
XAML: One Language to Rule Them AllXAML: One Language to Rule Them All
XAML: One Language to Rule Them All
 
Web Development Technologies
Web Development TechnologiesWeb Development Technologies
Web Development Technologies
 
DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5
 
Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGap
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
 
Silverlight
SilverlightSilverlight
Silverlight
 
Silver Light1.0
Silver Light1.0Silver Light1.0
Silver Light1.0
 

Recently uploaded

"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 

Recently uploaded (20)

"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 

Inland Empire .NET User's Group Silverlight Class

  • 1. Silverlight 4 Course 1. Introduction to Silverlight 2. Layout 3. Input Handling 4. Applications, Resources, Deployment 5. Data Binding, View Model 6. Out of Browser, File Access, Printing 7. WCF RIA Services (4 Weeks )
  • 2. Introduction to Silverlight Agenda 1.What is Silverlight ? 2.Evolution of Silverlight 3.Getting Started 4.Silverlight VS WPF 5.Core Controls 6.Anatomy 7.Demo
  • 3. Silverlight 4 • Cross browser plugin – IE (Active/X), FireFox (NSAPI), Chrome, Safari (WebKit) • Cross platform – Windows, MAC (Intel Only) and Linux using Moonlight (Delayed) • .Net programming language (C#, Visual Basic, …) and runtime • Works with Javascript and HTML DOM • Not mutually exclusive • Mobile platform : Windows 7 Phone, Nokia Symbian OS • RIA : User interaction and Animation
  • 4. History • .Net Programming for client server web. • Javascript to provide client side interactivity. • Crippled because of Javascript compatibility. • Microsoft wanted better control just like Java Applets. • So came Silverlight. Initially known as WPF/E. • WPF History : GDI & USER, DirectX, XP’s GDI+
  • 5. Silverlight Evolution • SL 1 : Graphics, hi-def media, script, text • SL 2 : . Net Framework • SL 3: OOB, Data binding, Common Controls, Deployment : LOB • SL 4 : Printing, COM Automation, Trusted Apps, Multi touch, Webcam & Mic, Mouse right click
  • 6. Getting Started • Install using Web Installer : http://www.microsoft.com/web Installs Web Server, Frameworks and Runtimes, Database and Tools. • Install Visual Studio 2010 Express (SL 3) • http://www.microsoft.com/express/Web • Install Silverlight Tools (SL 4) • http://www.silverlight.net/getstarted
  • 7. Silverlight VS WPF • Different implementation : Same Basic Technology • Web vs Desktop • Subset Vs Superset of .Net Framework • Mostly the same team works on both. • Use #ifdef if targeting both. • WPF features Full Hardware Acc, Drawing Types, Event tunneling. • Silverlight Features Browser Integration, Video Brush, Deep Zoom WPFSL
  • 8. XAML XML Application Markup Language o Declarative language to describe UI. o XML Rules apply. Don’t forget /> o Pronounced like Zammel. o Expression Blend Tools support it. o CAML o BAML o Can call Javascript function for splash screen functionality.
  • 9. XAML • Element : Corresponds to CLR object <Button> <Button.Content> Cancel <Button.Content /> <Button> • Attribute : Corresponds to Properties, events <Button Content=“Cancel” Click=“fn” /> • Namespaces xmlns:x=“http:/…..” … <Button x:Name=“mybtn” />
  • 10. XAML • Type Converter <Button Background=“Red” /> Here Red gets converted to a SolidColorBrush because of Type Converter. • Markup extension {} <TextBlock text={Binding …. } />
  • 11. Silverlight project types • Silverlight Application : stand alone • Silverlight Navigation : Multiple pages URI Map • Silverlight Class Library : reuse common code • Silverlight Business Application : RIA Services • WCF RIA Services Class • Unit Test Application : Added to existing SL Proj – Demo [Show in Visual Studio]
  • 12. Core Controls and Events SL Runtime, SL SDK, SL ToolKit • Button • CheckBox • RadioButton • TextBox • Image • ComboBox • ListBox • Clicked • Checked/Unchecked • GroupName Property • TextChanged • Stretch Property • Items Property • SelectionChanged
  • 14. Anatomy • Object tag • XAP Files in ClientBin – Zip file • Host project to host the html page
  • 15. References • Silverlight.net • Channel9.msdn.com • Silverlight cream • Quick starts
  • 16. Class Project • Create an oval. Fill color Red. • On Mouse enter change Fill color to Blue • On Mouse exit change color to Green • On Mouse click change color to Purple. Red Blue Green Color: Radio Button Oval or Rect Combo Box Oval or Rect
  • 17. • As Microsoft says : – Light up the WEB • As Obi Wan Kanobi says it :
  • 18. • “Use the light, Luke”

Editor's Notes

  1. 1. Vector graphics Transform Animation HD Video   2. Binary compatible (XAP Files) No need to target separate platforms.   3. Multi language : C#, VB, IronPython, F#.   CLR is same.
  2. 1. Vector graphics Transform Animation HD Video   2. Binary compatible (XAP Files) No need to target separate platforms.   3. Multi language : C#, VB, IronPython, F#.   CLR is same.
  3. Custom Window Chrome Notification Toast
  4. VS 2010 installs Silverlight 3 - but Silverlight 4 is a separate download.
  5. Vector graphics Transform Animation HD Video
  6. Create a Label Enter Name and a text box next to it.   Create a text box below it.   Create a Button &amp;quot;Greet&amp;quot; and when clicked set the text &amp;quot;Hello &amp;lt;username&amp;gt;&amp;quot;
  7. Vector graphics Transform Animation HD Video