SlideShare uma empresa Scribd logo
1 de 18
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”

Mais conteúdo relacionado

Mais procurados

Component based Progress Programming
Component based Progress ProgrammingComponent based Progress Programming
Component based Progress ProgrammingValentin Duricu
 
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 10Jiri Danihelka
 
HTML5 : Web to the next level
HTML5 : Web to the next levelHTML5 : Web to the next level
HTML5 : Web to the next levelMohamed 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 patternAspenware
 
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 timeEinar Ingebrigtsen
 
English Casual 2012/05/10
English Casual 2012/05/10English Casual 2012/05/10
English Casual 2012/05/10Ryosuke IWANAGA
 
新版阿尔法城背后的前端MVC实践
新版阿尔法城背后的前端MVC实践新版阿尔法城背后的前端MVC实践
新版阿尔法城背后的前端MVC实践Dexter Yang
 
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_phpJeanho Chu
 
An Introduction To Silverlight
An Introduction To SilverlightAn Introduction To Silverlight
An Introduction To SilverlightGergely Orosz
 
An overview of JavaScript
An overview of JavaScriptAn overview of JavaScript
An overview of JavaScriptPoluru S
 
[Mas 500] Web Basics
[Mas 500] Web Basics[Mas 500] Web Basics
[Mas 500] Web Basicsrahulbot
 
Comparisons of web languages
Comparisons of web languagesComparisons of web languages
Comparisons of web languagesEvelyn 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.0Microsoft Mobile Developer
 

Mais procurados (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
 

Destaque

Silverlight Input Handling
Silverlight Input HandlingSilverlight Input Handling
Silverlight Input Handlingiedotnetug
 
Ria services updating data
Ria services updating dataRia services updating data
Ria services updating dataiedotnetug
 
Silverlight week5
Silverlight week5Silverlight week5
Silverlight week5iedotnetug
 
Silverlight week2
Silverlight week2Silverlight week2
Silverlight week2iedotnetug
 
IEDOTNETUG Silverlight Class Week 6
IEDOTNETUG Silverlight Class Week 6IEDOTNETUG Silverlight Class Week 6
IEDOTNETUG Silverlight Class Week 6iedotnetug
 
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
 
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 CarsLinkedIn
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 

Destaque (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
 

Semelhante a Learn Silverlight 4 Development with this Comprehensive Course

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 2009Jason Ragsdale
 
Isomorphic web application
Isomorphic web applicationIsomorphic web application
Isomorphic web applicationOliver N
 
silverlight1.pptx
silverlight1.pptxsilverlight1.pptx
silverlight1.pptxAltafSMT
 
Introduction to Microsoft Silverlight
Introduction to Microsoft SilverlightIntroduction to Microsoft Silverlight
Introduction to Microsoft SilverlightGlen Gordon
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlightparallelminder
 
AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NETYaniv Uriel
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1drudolph11
 
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 2Microsoft 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 devicesWesley Hales
 
Presentation wpf
Presentation wpfPresentation wpf
Presentation wpfdanishrafiq
 
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 CTPukdpe
 
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 AllFrank La Vigne
 
Web Development Technologies
Web Development TechnologiesWeb Development Technologies
Web Development TechnologiesVignesh Prajapati
 
DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5DevTeach Ottawa - Silverlight5 and HTML5
DevTeach Ottawa - Silverlight5 and HTML5Fré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 PhoneGapAmar 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
 

Semelhante a Learn Silverlight 4 Development with this Comprehensive Course (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
 

Último

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Learn Silverlight 4 Development with this Comprehensive Course

  • 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”

Notas do Editor

  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