SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
1.Difference between Custom Control and User Control in Silverlight

      S.No   Custom Control                      User Control

      1      A loosely coupled control w.r.t A tightly coupled control w.r.t code
             code and UI                     and UI

      2      Derives from Control                Derives from UserControl

      3      Defines      UI        in      the Defines UI as a normal XAML
             ResourceDictionary

      4      UI can be skinable                  Child controls can skinable only

      5      Has Dynamic layout                  Has static layout

      6      UI can be changed in different UI is fixed and can't have different
             project                        look in every project

      7      Has full toolbox support            Can't be added to the toolbox

      8      Defines a single control            Defines a set of controls

      9      More flexible                       Not much flexible like Custom Control

      10     Requires in depth knowledge of Does not require depth knowledge of
             Silverlight UI Model           UI Model

2.Difference between DataContext and ItemsSource property in Silverlight


      S.No   DataContext property                ItemSource property

      1      DataContext expects an object ItemsSource expects IEnumerable type
             type                          objects

      2      DataContext is a dependency ItemsSource is defined by the
             property   is  exposed      by ItemsControl class. All the descendants
             FrameworkElement base class    of FrameworkElement can utilize the
                                            DataContext property and set an object
                                            to its value.

                                                 Note: But we can only set a type of
                                                 IEnumerable(or instance of class that
                                                 derives from).

      3      DataContext does not generate       In terms of ItemsSource property, it is
             template, it only used to hold      mainly used to generate template
             common data for other controls to   regardless of you set it in XAML or in
             bind.                               the code behind.

      4      DataContext is mainly used to But for ItemsSource, it is not used to
             hold common data that other child share data in the visual tree. It is only
want to share. Thus it can be valid for the element that defined.
              inherited by other child elements There is still one thing to be noted is
              without problem.                  that the child element can override the
                                                DataContext of the perent DataContext
                                                no mater directly or indirectly.


Example(s):

Suppose we have a Person Class which has a property Name. Now in Xaml we can say like:

<StackPanel x:Name="Parent">
<StackPanel.Resources>
<local:Person x:Key="person">
</StackPanel.Resources>
<ListBox ItemsSource="{Binding Source={StaticResource person}}">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=Name}"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>

If you run this code in the ListBox you will get to see values depending on List<Person> object. But
if we change the ItemsSource to DataContext then you will be not able to see anything because
DataContext doesn't generate templates in any cases. If you set datacontext still you have to set the
ItemsSource property like this:

<ListBox DataContext="{Binding Source={StaticResource person}}" ItemsSource="{Binding}">

Summary:

In a word, if we have several child elements that will share a common data source, we can set
DataContext property for the parent elements. And we use ItemsSource for ItemsSource in most
cased to generate template. Like:

<StackPanel DataContext="{Binding Person"}>
<TextBox Text="{Binding FName}"/>
<TextBox Text="{Binding LName}"/>
</StackPanel>

3.Difference between Silverlight and Flex

       S.No   Silverlight                          Flex

       1      Execution Mechanism:                 Execution Mechanism:

              Power of Native execution of Slow execution for iterative executions
              CLR instead of Flash's Action
              Script Interpretator
2   Editing facility:                      Editing facility:

    Expression Blend is really cool Flex Builder is not that much good
    and more advanced editor then editor when compare with Expression
    Flex Builder                    Blend

3   Multilanguages Support:                Multilanguages Support:

    Power of other languages, No generics, No other languages, No
    provides Generics and Linq etc linq.

4   Threading and Asynchronous Threading and Asynchronous Tasks:
    Tasks:
                               Unavailable
    Available

5   Form layouting and binding:            Form layouting and binding:

    Binding in Silverlight is way more     Better in Adobe Flex.The most easy
    cumbersome.Binding         requires    way to create new components, you
    component naming and does not          can have mxml derive from any
    support instance expressions like      control and extend them with extensive
    flex does, though two way              binding.
    binding is good in silverlight but
    you have to write long codes for
    multiple bindings for one math
    expression.

6   Where primarily used:                  Where primarily used:

    Silverlight is used for extremely We use flex for data applications, those
    rich graphics and animation       are     simple     form      processing
                                      applications

7   Search Engine Friendly:                Search Engine Friendly:

    XAML is Search Engine Friendly         MXML markup language is not Search
                                           Engine Friendly

8   Client / Server Technology:            Client / Server Technology:

    Silverlight can be developed for a Flex is a client based application tool
    server or client environment.

9   Release Date:                          Release Date:

    Before it was called Silverlight, it   Adobe Flex was originally released in
    was known as Windows                   2004 by Macromedia. The third
    Presentation                           version (Flex Builder 3) became
    Foundation/Everywhere (WPF/E)          available in 2008.
    and was first released in 2007.
    Silverlight 2 became available in
    October 2008. Silverlight 3 was
released in July 2009.

      10     Language Differences:                Language Differences:

             Alternatively, Microsoft             Adobe Flex uses MXML markup
             Silverlight uses the XAML            language and actionscript to build
             language as a placeholder for        layout/graphic user interfaces. To
             media files, shapes and images. It   create components, it works with
             works with all .NET languages        ActionScript (the object oriented Flash
             and JavaScript for interactive and   language). After the code is completed,
             component features. Completed        it needs to be compiled by the Flex
             code is compiled with the .NET       Application Server.
             assemblies and compressed into a
             ZIP file.

      11     Data Transfer:                       Data Transfer:

             No such format for data transfer.    Data transfer via the proprietary AMF
             Will have to stick to SOAP and       using WebORB, Fluorine, etc is faster
             REST web services(for now).          than traditional web services.

      12     Debugging:                           Debugging:

             Debugging using Visual Studio is     Debugging is a bit of a hassle.
             very easy.

      13     Webservice Access:                   Webservice Access:

             Accessing web services is very       Accessing web services requires
             easy. Just add a reference to the    manual creation of ActionScript proxy
             WebService in Visual Studio and      classes. We can automate this by using
             lookup reference.cs for the good     FlexTense though.
             stuff

      14     Componenet Size:                     Component Size:

             Size of the Silverlight component    Size of the compiled SWF file is
             is larger.                           smaller than that of the uncompressed
                                                  Silverlight component.

And, further updates on difference between questions and answers, please visit my blog @
http://onlydifferencefaqs.blogspot.in/

Mais conteúdo relacionado

Mais procurados

Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management systemYesu Raj
 
Online lg prodect
Online lg prodectOnline lg prodect
Online lg prodectYesu Raj
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlightparallelminder
 
Angular jS Introduction by Google
Angular jS Introduction by GoogleAngular jS Introduction by Google
Angular jS Introduction by GoogleASG
 
Microsoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationMicrosoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationRishi Kothari
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraGajanand Bohra
 
Silverlight
SilverlightSilverlight
Silverlightreynolds
 
Flex_Basic_Training
Flex_Basic_TrainingFlex_Basic_Training
Flex_Basic_Trainingguest25cec3
 
Aspnet architecture
Aspnet architectureAspnet architecture
Aspnet architecturephantrithuc
 
1. Spring intro IoC
1. Spring intro IoC1. Spring intro IoC
1. Spring intro IoCASG
 
Spring Framework - Core
Spring Framework - CoreSpring Framework - Core
Spring Framework - CoreDzmitry Naskou
 
Intro to iOS Application Architecture
Intro to iOS Application ArchitectureIntro to iOS Application Architecture
Intro to iOS Application ArchitectureMake School
 
Documenting from the Trenches
Documenting from the TrenchesDocumenting from the Trenches
Documenting from the TrenchesXavier Noria
 

Mais procurados (20)

Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
 
Online lg prodect
Online lg prodectOnline lg prodect
Online lg prodect
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlight
 
Wpf 1
Wpf 1Wpf 1
Wpf 1
 
Angular jS Introduction by Google
Angular jS Introduction by GoogleAngular jS Introduction by Google
Angular jS Introduction by Google
 
ASP.NET Basics
ASP.NET Basics ASP.NET Basics
ASP.NET Basics
 
Asp net
Asp netAsp net
Asp net
 
Flex Rails Pres
Flex Rails PresFlex Rails Pres
Flex Rails Pres
 
Microsoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationMicrosoft .NET Development Platform Internationalization
Microsoft .NET Development Platform Internationalization
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
 
Silverlight
SilverlightSilverlight
Silverlight
 
Flex_Basic_Training
Flex_Basic_TrainingFlex_Basic_Training
Flex_Basic_Training
 
Aspnet architecture
Aspnet architectureAspnet architecture
Aspnet architecture
 
1. Spring intro IoC
1. Spring intro IoC1. Spring intro IoC
1. Spring intro IoC
 
Spring Framework - Core
Spring Framework - CoreSpring Framework - Core
Spring Framework - Core
 
Intro To AOP
Intro To AOPIntro To AOP
Intro To AOP
 
Intro to iOS Application Architecture
Intro to iOS Application ArchitectureIntro to iOS Application Architecture
Intro to iOS Application Architecture
 
.NET Tutorial
.NET Tutorial.NET Tutorial
.NET Tutorial
 
Documenting from the Trenches
Documenting from the TrenchesDocumenting from the Trenches
Documenting from the Trenches
 

Destaque

Silverlight difference faqs-1
Silverlight  difference faqs-1Silverlight  difference faqs-1
Silverlight difference faqs-1Umar Ali
 
Sql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneSql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneUmar Ali
 
SOA Difference FAQs
SOA Difference FAQsSOA Difference FAQs
SOA Difference FAQsUmar Ali
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sitesUmar Ali
 
CSharp difference faqs- 1
CSharp difference faqs- 1CSharp difference faqs- 1
CSharp difference faqs- 1Umar Ali
 
Sql server difference faqs- 7
Sql server difference faqs- 7Sql server difference faqs- 7
Sql server difference faqs- 7Umar Ali
 
Asp.Net difference faqs- 10
Asp.Net difference faqs- 10Asp.Net difference faqs- 10
Asp.Net difference faqs- 10Umar Ali
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvcUmar Ali
 
Dotnet difference between questions list- 1
Dotnet difference between questions list- 1Dotnet difference between questions list- 1
Dotnet difference between questions list- 1Umar Ali
 
Software technology
Software technologySoftware technology
Software technologyUmar Ali
 
Linq difference faqs- 1
Linq difference faqs- 1Linq difference faqs- 1
Linq difference faqs- 1Umar Ali
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trendsUmar Ali
 
ASP.NET Difference FAQs
ASP.NET Difference FAQsASP.NET Difference FAQs
ASP.NET Difference FAQsUmar Ali
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5Umar Ali
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1Umar Ali
 
Important Run Commands
Important Run CommandsImportant Run Commands
Important Run CommandsUmar Ali
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcUmar Ali
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Umar Ali
 

Destaque (18)

Silverlight difference faqs-1
Silverlight  difference faqs-1Silverlight  difference faqs-1
Silverlight difference faqs-1
 
Sql Server Difference FAQs Part One
Sql Server Difference FAQs Part OneSql Server Difference FAQs Part One
Sql Server Difference FAQs Part One
 
SOA Difference FAQs
SOA Difference FAQsSOA Difference FAQs
SOA Difference FAQs
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sites
 
CSharp difference faqs- 1
CSharp difference faqs- 1CSharp difference faqs- 1
CSharp difference faqs- 1
 
Sql server difference faqs- 7
Sql server difference faqs- 7Sql server difference faqs- 7
Sql server difference faqs- 7
 
Asp.Net difference faqs- 10
Asp.Net difference faqs- 10Asp.Net difference faqs- 10
Asp.Net difference faqs- 10
 
Spring vs. asp.net mvc
Spring vs. asp.net mvcSpring vs. asp.net mvc
Spring vs. asp.net mvc
 
Dotnet difference between questions list- 1
Dotnet difference between questions list- 1Dotnet difference between questions list- 1
Dotnet difference between questions list- 1
 
Software technology
Software technologySoftware technology
Software technology
 
Linq difference faqs- 1
Linq difference faqs- 1Linq difference faqs- 1
Linq difference faqs- 1
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trends
 
ASP.NET Difference FAQs
ASP.NET Difference FAQsASP.NET Difference FAQs
ASP.NET Difference FAQs
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1
 
Important Run Commands
Important Run CommandsImportant Run Commands
Important Run Commands
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvc
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4
 

Semelhante a Silverlight difference faqs- 2

02 wp7 building silverlight applications
02 wp7   building silverlight applications02 wp7   building silverlight applications
02 wp7 building silverlight applicationsTao Wang
 
Difference between xml and json
Difference between xml and jsonDifference between xml and json
Difference between xml and jsonUmar Ali
 
Flex for enterprise applications
Flex for enterprise applicationsFlex for enterprise applications
Flex for enterprise applicationsdarshanvartak
 
Lightning web components
Lightning web components Lightning web components
Lightning web components Cloud Analogy
 
Eclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client RoundupEclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client RoundupMurat Yener
 
Silverlight Developer Introduction
Silverlight   Developer IntroductionSilverlight   Developer Introduction
Silverlight Developer IntroductionTomy Ismail
 
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with SilverlightRe-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with SilverlightFrank La Vigne
 
What Is BuildContext In Flutter And It's Importance
What Is BuildContext In Flutter And It's ImportanceWhat Is BuildContext In Flutter And It's Importance
What Is BuildContext In Flutter And It's ImportanceAndolasoft Inc
 
Spring (1)
Spring (1)Spring (1)
Spring (1)Aneega
 
Introduction to .net
Introduction to .net Introduction to .net
Introduction to .net Jaya Kumari
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlightUmar Ali
 
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
 
Flex Remoting With WebORB v1.0
Flex Remoting With WebORB v1.0Flex Remoting With WebORB v1.0
Flex Remoting With WebORB v1.0guest642dd3
 

Semelhante a Silverlight difference faqs- 2 (20)

02 wp7 building silverlight applications
02 wp7   building silverlight applications02 wp7   building silverlight applications
02 wp7 building silverlight applications
 
dot NET Framework
dot NET Frameworkdot NET Framework
dot NET Framework
 
Difference between xml and json
Difference between xml and jsonDifference between xml and json
Difference between xml and json
 
Flex for enterprise applications
Flex for enterprise applicationsFlex for enterprise applications
Flex for enterprise applications
 
Lightning web components
Lightning web components Lightning web components
Lightning web components
 
Entity Framework
Entity FrameworkEntity Framework
Entity Framework
 
Flex and Java
Flex and JavaFlex and Java
Flex and Java
 
Eclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client RoundupEclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client Roundup
 
Silverlight Developer Introduction
Silverlight   Developer IntroductionSilverlight   Developer Introduction
Silverlight Developer Introduction
 
Lezione 03 Introduzione a react
Lezione 03   Introduzione a reactLezione 03   Introduzione a react
Lezione 03 Introduzione a react
 
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with SilverlightRe-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
 
What Is BuildContext In Flutter And It's Importance
What Is BuildContext In Flutter And It's ImportanceWhat Is BuildContext In Flutter And It's Importance
What Is BuildContext In Flutter And It's Importance
 
WPF Intro
WPF IntroWPF Intro
WPF Intro
 
Flex in portal
Flex in portalFlex in portal
Flex in portal
 
Spring (1)
Spring (1)Spring (1)
Spring (1)
 
Introduction to .net
Introduction to .net Introduction to .net
Introduction to .net
 
Spring 2
Spring 2Spring 2
Spring 2
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
 
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
 
Flex Remoting With WebORB v1.0
Flex Remoting With WebORB v1.0Flex Remoting With WebORB v1.0
Flex Remoting With WebORB v1.0
 

Mais de Umar Ali

Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web apiUmar Ali
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Umar Ali
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcUmar Ali
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1Umar Ali
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1Umar Ali
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1Umar Ali
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1 Umar Ali
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamilUmar Ali
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamilUmar Ali
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1 Umar Ali
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1 Umar Ali
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search enginesUmar Ali
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1Umar Ali
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1Umar Ali
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1Umar Ali
 
.NET Differences List
.NET Differences List.NET Differences List
.NET Differences ListUmar Ali
 
Difference between is and as operators in c#
Difference between is and as operators in c#Difference between is and as operators in c#
Difference between is and as operators in c#Umar Ali
 
Difference between c# generics and c++ templates
Difference between c# generics and c++ templatesDifference between c# generics and c++ templates
Difference between c# generics and c++ templatesUmar Ali
 
Var vs iEnumerable
Var vs iEnumerableVar vs iEnumerable
Var vs iEnumerableUmar Ali
 
Differences between get children() and getdescendants() methods
Differences between get children() and getdescendants() methodsDifferences between get children() and getdescendants() methods
Differences between get children() and getdescendants() methodsUmar Ali
 

Mais de Umar Ali (20)

Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvc
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamil
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamil
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search engines
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1
 
.NET Differences List
.NET Differences List.NET Differences List
.NET Differences List
 
Difference between is and as operators in c#
Difference between is and as operators in c#Difference between is and as operators in c#
Difference between is and as operators in c#
 
Difference between c# generics and c++ templates
Difference between c# generics and c++ templatesDifference between c# generics and c++ templates
Difference between c# generics and c++ templates
 
Var vs iEnumerable
Var vs iEnumerableVar vs iEnumerable
Var vs iEnumerable
 
Differences between get children() and getdescendants() methods
Differences between get children() and getdescendants() methodsDifferences between get children() and getdescendants() methods
Differences between get children() and getdescendants() methods
 

Último

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
[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
 

Último (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[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
 

Silverlight difference faqs- 2

  • 1. 1.Difference between Custom Control and User Control in Silverlight S.No Custom Control User Control 1 A loosely coupled control w.r.t A tightly coupled control w.r.t code code and UI and UI 2 Derives from Control Derives from UserControl 3 Defines UI in the Defines UI as a normal XAML ResourceDictionary 4 UI can be skinable Child controls can skinable only 5 Has Dynamic layout Has static layout 6 UI can be changed in different UI is fixed and can't have different project look in every project 7 Has full toolbox support Can't be added to the toolbox 8 Defines a single control Defines a set of controls 9 More flexible Not much flexible like Custom Control 10 Requires in depth knowledge of Does not require depth knowledge of Silverlight UI Model UI Model 2.Difference between DataContext and ItemsSource property in Silverlight S.No DataContext property ItemSource property 1 DataContext expects an object ItemsSource expects IEnumerable type type objects 2 DataContext is a dependency ItemsSource is defined by the property is exposed by ItemsControl class. All the descendants FrameworkElement base class of FrameworkElement can utilize the DataContext property and set an object to its value. Note: But we can only set a type of IEnumerable(or instance of class that derives from). 3 DataContext does not generate In terms of ItemsSource property, it is template, it only used to hold mainly used to generate template common data for other controls to regardless of you set it in XAML or in bind. the code behind. 4 DataContext is mainly used to But for ItemsSource, it is not used to hold common data that other child share data in the visual tree. It is only
  • 2. want to share. Thus it can be valid for the element that defined. inherited by other child elements There is still one thing to be noted is without problem. that the child element can override the DataContext of the perent DataContext no mater directly or indirectly. Example(s): Suppose we have a Person Class which has a property Name. Now in Xaml we can say like: <StackPanel x:Name="Parent"> <StackPanel.Resources> <local:Person x:Key="person"> </StackPanel.Resources> <ListBox ItemsSource="{Binding Source={StaticResource person}}"> <ListBox.ItemTemplate> <DataTemplate> <TextBox Text="{Binding Path=Name}"/> </DataTemplate> </ListBox.ItemTemplate> </ListBox> </StackPanel> If you run this code in the ListBox you will get to see values depending on List<Person> object. But if we change the ItemsSource to DataContext then you will be not able to see anything because DataContext doesn't generate templates in any cases. If you set datacontext still you have to set the ItemsSource property like this: <ListBox DataContext="{Binding Source={StaticResource person}}" ItemsSource="{Binding}"> Summary: In a word, if we have several child elements that will share a common data source, we can set DataContext property for the parent elements. And we use ItemsSource for ItemsSource in most cased to generate template. Like: <StackPanel DataContext="{Binding Person"}> <TextBox Text="{Binding FName}"/> <TextBox Text="{Binding LName}"/> </StackPanel> 3.Difference between Silverlight and Flex S.No Silverlight Flex 1 Execution Mechanism: Execution Mechanism: Power of Native execution of Slow execution for iterative executions CLR instead of Flash's Action Script Interpretator
  • 3. 2 Editing facility: Editing facility: Expression Blend is really cool Flex Builder is not that much good and more advanced editor then editor when compare with Expression Flex Builder Blend 3 Multilanguages Support: Multilanguages Support: Power of other languages, No generics, No other languages, No provides Generics and Linq etc linq. 4 Threading and Asynchronous Threading and Asynchronous Tasks: Tasks: Unavailable Available 5 Form layouting and binding: Form layouting and binding: Binding in Silverlight is way more Better in Adobe Flex.The most easy cumbersome.Binding requires way to create new components, you component naming and does not can have mxml derive from any support instance expressions like control and extend them with extensive flex does, though two way binding. binding is good in silverlight but you have to write long codes for multiple bindings for one math expression. 6 Where primarily used: Where primarily used: Silverlight is used for extremely We use flex for data applications, those rich graphics and animation are simple form processing applications 7 Search Engine Friendly: Search Engine Friendly: XAML is Search Engine Friendly MXML markup language is not Search Engine Friendly 8 Client / Server Technology: Client / Server Technology: Silverlight can be developed for a Flex is a client based application tool server or client environment. 9 Release Date: Release Date: Before it was called Silverlight, it Adobe Flex was originally released in was known as Windows 2004 by Macromedia. The third Presentation version (Flex Builder 3) became Foundation/Everywhere (WPF/E) available in 2008. and was first released in 2007. Silverlight 2 became available in October 2008. Silverlight 3 was
  • 4. released in July 2009. 10 Language Differences: Language Differences: Alternatively, Microsoft Adobe Flex uses MXML markup Silverlight uses the XAML language and actionscript to build language as a placeholder for layout/graphic user interfaces. To media files, shapes and images. It create components, it works with works with all .NET languages ActionScript (the object oriented Flash and JavaScript for interactive and language). After the code is completed, component features. Completed it needs to be compiled by the Flex code is compiled with the .NET Application Server. assemblies and compressed into a ZIP file. 11 Data Transfer: Data Transfer: No such format for data transfer. Data transfer via the proprietary AMF Will have to stick to SOAP and using WebORB, Fluorine, etc is faster REST web services(for now). than traditional web services. 12 Debugging: Debugging: Debugging using Visual Studio is Debugging is a bit of a hassle. very easy. 13 Webservice Access: Webservice Access: Accessing web services is very Accessing web services requires easy. Just add a reference to the manual creation of ActionScript proxy WebService in Visual Studio and classes. We can automate this by using lookup reference.cs for the good FlexTense though. stuff 14 Componenet Size: Component Size: Size of the Silverlight component Size of the compiled SWF file is is larger. smaller than that of the uncompressed Silverlight component. And, further updates on difference between questions and answers, please visit my blog @ http://onlydifferencefaqs.blogspot.in/