FxCop is a tool provided by Microsoft for managed code analysis. Its an excellent tool for doing a quality check on your code during and post development.
The documentation provided with FxCop is excellent for beginners so i will not demonstrate how to use the tool. I will list down some of the features of this tool to encourage you to start using this tool if you are not using it till now.
- Its main objective is to check managed code for programming & design guidelines and report issues if there are any.
- It is available both with GUI and as a command line tool to get integrated into automated build process. FxCop.exe is with GUi and FxCopCmd.exe is command line tool.
- It comes by default with lot of best practices rules for programming and design in areas of Naming, performance, security etc.
- Custom rules can be added and existing rules can be suppressed based on requirement.
- It can be used to view IL stored in assemblies.
- It can also be used for finding Managed & Full Binding closure of assemblies.
- Can be used as an external command in Visual Studio
- Some of the rules available by default are :
- Validate Arguments of Public Methods
- Mark assemblies with assembly version
- Specify CultureInfo
- Compound words should be cased correctly
- Avoid unused parameters
- With minimum of overhead this tool can bring lot of quality add to your application.
FxCop can be download from FxCop Team Page.
- XML Schema Definition Tool (Xsd.exe)
- XML Notepad
- ILMerge : Assembly Merging Utility
- Tutorial : Policy Injection Application Block - Enterprise Library
- Tutorial : Developing a state machine workflow
- Windows Workflow Services Overview
- Performance Analysis/Tuning of ASP.NET Application
- Auto Performance Tuning in ASP.NET 2.0
- Overview of Interoperability with UnManaged world