The Silverlight extension is deprecated and no new development will be actioned. All new features and functionality for the support of Silverlight are now handled instead by the .NET XAML extension. Please see the section of documentation entitled Existing extensions for WPF and Silverlight for more information about the .NET XAML extension and the impacts of moving to it. |
On this page: Target audience: Users of the extension providing Silverlight support for C# and VB.NET. |
Summary: This document provides basic information about the beta release of the extension providing Silverlight support for C# and VB.NET |
com.castsoftware.silverlight
See Silverlight 1.4 - Release Notes for more information.
This extension provides support for Silverlight. The calculation of Automated Function Points for your .NET analyses will be supplemented through the creation of new objects and links specific to the Silverlight framework that will link back to objects/links produced by the base .NET analyzer.
If your .NET application contains Silverlight source code and you want to view these object types and their links, then you should install this extension.
The following Silverlight frameworks are supported by this extension:
Version | Supported |
---|---|
All versions up to 5.0 |
Function Points (transactions) | Quality and Sizing |
---|---|
CAST AIP release | Supported | Technology |
---|---|---|
8.3.x | C# and VB.NET | |
8.2.x | C# and VB.NET | |
8.1.x | C# and VB.NET | |
8.0.x | C# and VB.NET | |
7.3.7 and all higher 7.3.x releases | C# only |
This extension is compatible with the following DBMS servers:
AIP releases | CSS | Oracle | Microsoft |
---|---|---|---|
All supported releases |
An installation of any compatible release of CAST AIP (see table above) |
Please see:
The latest release status of this extension can be seen when downloading it from the CAST Extend server. |
In Silverlight ≥ 1.2.x, if you are using the extension with CAST AIP ≥ 8.3.x, a set of Silverlight specific Transaction Entry Points are now automatically imported when the extension is installed. These Transaction Entry Points will be available in the CAST Transaction Configuration Center:
|
Once the extension is installed, no further configuration changes are required before you can package your source code and run an analysis. The process of packaging, delivering and analyzing your source code does not change in any way:
Once the analysis/snapshot generation has completed, you can view the results in the normal manner. The following objects and links will be displayed in CAST Enlighten:
All objects are represented under the File browser > Xaml Source file folders in CAST Enlighten:
Icon | Object type |
---|---|
Silverlight XAML Control | |
Silverlight XAML Custom Control |
Note that if the Name Attribute of an object is present, then it will be used to display that object in CAST Enlighten. For example:
Name not present | Name present |
---|---|
The following objects are detected:
Border |
BulletDecorator |
Button |
Calendar |
Canvas |
CheckBox |
ComboBox |
ContextMenu |
DataGrid |
DatePicker |
DockPanel |
DocumentViewer |
DropShadowBitmapEffect |
Expander |
FlowDocumentPageViewer |
FlowDocumentReader |
FlowDocumentScrollViewer |
Frame |
Grid |
GridSplitter |
GroupBox |
HyperlinkButton |
Image |
Label |
ListBox |
ListView |
Menu |
Panel |
PasswordBox |
Popup |
ProgressBar |
PrintDialog |
RadioButton |
RepeatButton |
Ribbon |
RichTextBox |
ScrollBar |
ScrollViewer |
Separator |
Slider |
StackPanel |
StatusBar |
TabControl |
TextBlock |
TextBox |
ToolBar |
ToolTip |
TreeView |
UserControl |
WrapPanel |
Viewbox |
Source | Link type | Target | Example |
---|---|---|---|
XAML Control | call | Action Event method implemented in source file | |
XAML Control | relyOn | Set and get accessors of Property implemented in source file | ![]() |
XAML Control | relyOn | XAML Control which is used by another XAML Control | ![]() |
XAML Control | call | Binding property in DataContext | - |
XAML Source File | relyOn | Referred Class | ![]() |
C# property (relay command) | relyOn | C# method (delegate | |
XAML Control | call | C# property (relay command) | |
XAML Source File | relyOn | Datacontext class |
In this section we list the most significant functional limitations that may affect the analysis of applications using Silverlight:
Binding links are not handled correctly when the same binding target exists in different classes