On this page:
Users of the extension providing WCF support for C# and VB.NET.
Summary: This document provides basic information about extension providing WCF (Windows Communication Foundation) support for C# and VB.NET.
This extension provides support for WCF (Windows Communication Foundation). The calculation of Automated Function Points for your .NET analyses will be supplemented through the creation of new objects and links specific to the WCF framework that will link back to objects/links produced by the base .NET analyzer.
In what situation should you install this extension?
If your .NET application contains WCF (Windows Communication Foundation) source code and you want to view these object types and their links, then you should install this extension.
- Bug fixing. See WCF 1.3 - Bug Fix List.
- Improvements have been made to the way exceptions are handled by the extension.
- Code bookmarks are now provided for violations in end-point objects.
- The extension is now shipped with a set of CAST Transaction Configuration Center Entry / End Points, specifically related to WCF. Please see CAST Transaction Configuration Center (TCC) Entry Points below for more information about this.
- See also: WCF 1.3 - Bug Fix List.
WCF framework support
The following WCF frameworks are supported by this extension:
|All versions up to 4.5|
- Function Points (transactions): a green tick indicates that OMG Function Point counting and Transaction Risk Index are supported
- Quality and Sizing: a green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
|Quality and Sizing|
CAST AIP release
|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|
Supported DBMS servers
This extension is compatible with the following DBMS servers:
|CAST AIP release||CSS||Oracle||Microsoft|
|All supported releases|
|An installation of any compatible release of CAST AIP (see table above)|
Download and installation instructions
The latest release status of this extension can be seen when downloading it from the CAST Extend server.
CAST Transaction Configuration Center (TCC) Entry Points
In WCF ≥ 1.2.0 (Functional Release), a set of WCF Transaction Entry / End Points for use in the CAST Transaction Configuration Center is delivered in the extension via a .TCCSetup file. Therefore If you are using WCF ≥ 1.2.0 (Functional Release):
- with CAST AIP ≥ 8.3.x, there is nothing for you to do: these WCF entry / end points will be automatically imported during the extension installation in the Free Definition node in the CAST Transaction Configuration Center.
- with CAST AIP ≤ 8.2.x, you now need to manually import the file DotNet_WCF.TCCSetup to obtain your WCF entry / end points in the Free Definition section (see instructions below).
Manual import action for CAST AIP ≤ 8.2.x
- Locate the .TCCSetup file in the extension folder: Configuration\TCC\DotNet_WCF.TCCSetup
- In the CAST Transaction Configuration Center, ensure you have selected the Templates node:
- This .TCCSetup file is to be imported into the CAST Transaction Calibration Center using either the:
- File > Import Configuration menu option:
- Or right clicking on the Template node and selecting Import Configuration:
- The import of the DotNet_WCF.TCCSetup file will provide you with sample Transaction Entry / End points in the Free Definition node under Templates.
- Now right click the "Default Entry Point WCF" item and select copy:
- Paste the item into the equivalent node under the Application, for example, below we have copied it into the Application MEUDON:
- Repeat the copy / paste process for the Transaction End Points.
Packaging, delivering and analyzing your source code
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:
- Package and deliver your application (that includes source code which uses WCF) in the exact same way as you always have. You can refer to the existing official CAST documentation for more information about this - see: http://doc.castsoftware.com/display/DOC83/Source+Code+Delivery+Guide+for+Application+Teams.
- Analyze your delivered J2EE application source code in the CAST Management Studio in the exact same way as you always have - the source code which uses WCF will be detected and handled correctly. You can refer to the existing official CAST documentation for more information about configuring an analysis - see: http://doc.castsoftware.com/display/DOC83/2.+Application+Analysis+Process+with+CAST+AIP
What results can you expect?
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:
|Configuration folder / Referred Service Endpoints folder|
|WCF Client Endpoint|
|WCF Service Endpoint|
|WCF Operation Method|
|WCF Service Contract|
This translates to the following in CAST Enlighten:
|WCF Service||referLink||.NET class implementing the WCF Service|
|Proxy class method client side||callLink||WCF Service method on service side|
|WCF Client Endpoint||callLink||WCF Service|
In this section we list the most significant functional limitations that may affect the analysis of applications using WCF:
- If the configuration of WCF service is done through the code (endpoint configuration, service creation), this is not supported.
- No support for advanced Annotations (IsOneWay for example)
- No support for DataContracts
- No support for Duplex
- No support for Callback
- .svc files are ignored