SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Microsoft .Net Framework 3.x
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],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  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XAML ,[object Object],[object Object],[object Object],[object Object],[object Object]
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 ,[object Object],[object Object],[object Object],Designers design ,[object Object],Developers add business   logic
Silverlight ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Silverlight JavaScript ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Silverlight ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Silverlight ,[object Object],[object Object]
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
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],xmlns:local=&quot;clr-namespace:SilverlightApp;assembly=ClientBin/AppBinary.dll <local:myCustomControl PropertyX=&quot;10&quot; FooEvent=&quot;OnFooEvent&quot; />
[object Object],[object Object],[object Object],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();
[object Object],[object Object],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;);
[object Object],[object Object],[object Object],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 ,[object Object],[object Object]
References ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions and Answers

Weitere ähnliche Inhalte

Was ist angesagt?

Interoperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) OverviewInteroperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) Overview
Jorgen Thelin
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
Yesu Raj
 

Was ist angesagt? (19)

WCF tutorial
WCF tutorialWCF tutorial
WCF tutorial
 
Wcf development
Wcf developmentWcf development
Wcf development
 
Bn1001 demo ppt advance dot net
Bn1001 demo ppt advance dot netBn1001 demo ppt advance dot net
Bn1001 demo ppt advance dot net
 
WCF Fundamentals
WCF Fundamentals WCF Fundamentals
WCF Fundamentals
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
 
Interoperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) OverviewInteroperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) Overview
 
Wcf
WcfWcf
Wcf
 
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for DevelopersMSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
 
Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)
 
Chapter 6-Remoting
Chapter 6-RemotingChapter 6-Remoting
Chapter 6-Remoting
 
Windows Communication Foundation (WCF) Best Practices
Windows Communication Foundation (WCF) Best PracticesWindows Communication Foundation (WCF) Best Practices
Windows Communication Foundation (WCF) Best Practices
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCF
 
As Pdotnet
As PdotnetAs Pdotnet
As Pdotnet
 
WCF And ASMX Web Services
WCF And ASMX Web ServicesWCF And ASMX Web Services
WCF And ASMX Web Services
 
Wcf architecture overview
Wcf architecture overviewWcf architecture overview
Wcf architecture overview
 
WCF Introduction
WCF IntroductionWCF Introduction
WCF Introduction
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCF
 
Building RESTful Services with WCF 4.0
Building RESTful Services with WCF 4.0Building RESTful Services with WCF 4.0
Building RESTful Services with WCF 4.0
 

Ähnlich wie Silverlight Training

Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
Subodh Pushpak
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
ravinxg
 
Introduction to silverlight
Introduction to silverlightIntroduction to silverlight
Introduction to silverlight
msarangam
 
Introduction to silverlight control 4
Introduction to silverlight control 4Introduction to silverlight control 4
Introduction to silverlight control 4
msarangam
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
gasbillet
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
gasbillet
 

Ähnlich wie Silverlight Training (20)

Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
 
Silverlight
SilverlightSilverlight
Silverlight
 
Adobe® Flex™
Adobe® Flex™Adobe® Flex™
Adobe® Flex™
 
What is Adobe Flex ?
What is Adobe Flex  ?What is Adobe Flex  ?
What is Adobe Flex ?
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlight
 
Tech Lunch 9 25 2008
Tech Lunch 9 25 2008Tech Lunch 9 25 2008
Tech Lunch 9 25 2008
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
 
Flex RIA
Flex RIAFlex RIA
Flex RIA
 
Developing RIAs... 10 reasons to use Adobe Flex
Developing RIAs... 10 reasons to use Adobe FlexDeveloping RIAs... 10 reasons to use Adobe Flex
Developing RIAs... 10 reasons to use Adobe Flex
 
Introduction to silverlight
Introduction to silverlightIntroduction to silverlight
Introduction to silverlight
 
Introduction to silverlight control 4
Introduction to silverlight control 4Introduction to silverlight control 4
Introduction to silverlight control 4
 
Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - Zaloni
 
Building RIA Apps with Silverlight
Building RIA Apps with SilverlightBuilding RIA Apps with Silverlight
Building RIA Apps with Silverlight
 
Silver Light for every one by Subodh
Silver Light for every one by SubodhSilver Light for every one by Subodh
Silver Light for every one by Subodh
 
It's Time for Silverlight @iRajLal
It's Time for Silverlight @iRajLalIt's Time for Silverlight @iRajLal
It's Time for Silverlight @iRajLal
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
 
S1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 finalS1lverl1ght 25.11.10 final
S1lverl1ght 25.11.10 final
 
Silverlight Briefing Deck
Silverlight  Briefing  DeckSilverlight  Briefing  Deck
Silverlight Briefing Deck
 
Introduction to silver light
Introduction to silver lightIntroduction to silver light
Introduction to silver light
 
Silverlight 3.0
Silverlight 3.0Silverlight 3.0
Silverlight 3.0
 

Mehr von Subodh Pushpak

Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3 Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3
Subodh Pushpak
 
Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7
Subodh Pushpak
 
Windows Phone 7- From idea to making money
Windows Phone 7- From idea to making moneyWindows Phone 7- From idea to making money
Windows Phone 7- From idea to making money
Subodh Pushpak
 

Mehr von Subodh Pushpak (18)

Azure data platform & structured storage
Azure data platform & structured storageAzure data platform & structured storage
Azure data platform & structured storage
 
Xamarin day10 - Advance concepts - Native Binding, service calling
Xamarin day10 - Advance concepts - Native Binding, service callingXamarin day10 - Advance concepts - Native Binding, service calling
Xamarin day10 - Advance concepts - Native Binding, service calling
 
Xamarin day9 - Advance Xamarin Forms
Xamarin day9 - Advance Xamarin FormsXamarin day9 - Advance Xamarin Forms
Xamarin day9 - Advance Xamarin Forms
 
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, WindowsXamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
Xamarin day8 - Xamarin forms. Common code / controls on iOS, Android, Windows
 
Xamarin day7
Xamarin day7Xamarin day7
Xamarin day7
 
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRTXamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
Xamarin day6 - Using SQlite on iOS, Android, Widows Phone, WinRT
 
Xamarin day5 - iOS Advance Concepts
Xamarin day5 - iOS Advance ConceptsXamarin day5 - iOS Advance Concepts
Xamarin day5 - iOS Advance Concepts
 
Xamarin day4 - iOS concepts
Xamarin day4 - iOS conceptsXamarin day4 - iOS concepts
Xamarin day4 - iOS concepts
 
Xamarin day3 - Android Fragments
Xamarin day3 - Android FragmentsXamarin day3 - Android Fragments
Xamarin day3 - Android Fragments
 
Xamarin day2 - Android with Xamarin
Xamarin day2 - Android with XamarinXamarin day2 - Android with Xamarin
Xamarin day2 - Android with Xamarin
 
Xamarin day1
Xamarin day1Xamarin day1
Xamarin day1
 
New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012New features in .NET 4.5, C# and VS2012
New features in .NET 4.5, C# and VS2012
 
Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3 Windows Azure with ASP .Net MVC3
Windows Azure with ASP .Net MVC3
 
Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7Windows Azure with Windows Phone 7
Windows Azure with Windows Phone 7
 
Windows Phone 7- From idea to making money
Windows Phone 7- From idea to making moneyWindows Phone 7- From idea to making money
Windows Phone 7- From idea to making money
 
WebMatrix2
WebMatrix2WebMatrix2
WebMatrix2
 
WebMatrix
WebMatrixWebMatrix
WebMatrix
 
Windows phone7 subodh
Windows phone7 subodhWindows phone7 subodh
Windows phone7 subodh
 

Kürzlich hochgeladen

Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
Nauman Safdar
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 

Kürzlich hochgeladen (20)

Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
 
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service AvailableBerhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
 
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
 
Kalyan Call Girl 98350*37198 Call Girls in Escort service book now
Kalyan Call Girl 98350*37198 Call Girls in Escort service book nowKalyan Call Girl 98350*37198 Call Girls in Escort service book now
Kalyan Call Girl 98350*37198 Call Girls in Escort service book now
 
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur DubaiUAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service AvailableNashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 

Silverlight Training

  • 2.
  • 3.
  • 4.
  • 5.
  • 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.
  • 8.
  • 9.
  • 10.  
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 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.
  • 19.
  • 20.
  • 21.
  • 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.
  • 25.