<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>BPAEngine Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home</link><description>BPAEngine Wiki Rss Description</description><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=9</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
[image:BPATool1.jpg]&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
[image:BPATool2.jpg]&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Current Project Status&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
Version 1.0 has been released, and can be downloaded &lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine&amp;ReleaseId=817"&gt; here&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the Best Practices Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Download the Final 1.0 Release&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The final 1.0 release of the Microsoft Best Practices Analyzer, which includes an automatic updater for rules and plugins, is now available to download!&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine&amp;ReleaseId=817"&gt;Download it&lt;/a&gt; and &lt;a href="http://www.codeplex.com/Project/ListForums.aspx?ProjectName=BPAEngine"&gt;let us know what you think&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
In addition, the source code for the ASP.NET 2.0 configuration analyzer plug-in that was released with the Microsoft Best Practices Analyzer is available for download to help you get started writing your own plug-ins.&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/SourceControl/DownloadSourceCode.aspx?ProjectName=BPAEngine&amp;amp;changeSetId=8612"&gt;Download it here&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about the Microsoft Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/Project/ListForums.aspx?ProjectName=BPAEngine"&gt;Ask and answer questions on the Discussion boards&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Wed, 18 Oct 2006 21:12:59 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20061018091259P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=8</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Current Project Status&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
Version 1.0 has been released, and can be downloaded &lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine&amp;ReleaseId=817"&gt; here&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the Best Practices Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Download the Final 1.0 Release&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The final 1.0 release of the Microsoft Best Practices Analyzer, which includes an automatic updater for rules and plugins, is now available to download!&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine&amp;ReleaseId=817"&gt;Download it&lt;/a&gt; and &lt;a href="http://www.codeplex.com/Project/ListForums.aspx?ProjectName=BPAEngine"&gt;let us know what you think&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
In addition, the source code for the ASP.NET 2.0 configuration analyzer plug-in that was released with the Microsoft Best Practices Analyzer is available for download to help you get started writing your own plug-ins.&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/SourceControl/DownloadSourceCode.aspx?ProjectName=BPAEngine&amp;amp;changeSetId=8612"&gt;Download it here&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Wed, 18 Oct 2006 21:00:13 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20061018090013P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=7</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Current Status&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
Version 1.0 has been released, and can be downloaded &lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine&amp;ReleaseId=817"&gt; here&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the Best Practices Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Download the Final 1.0 Release&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The final 1.0 release of the Microsoft Best Practices Analyzer, which includes an automatic updater for rules and plugins, is now available to download!&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine&amp;ReleaseId=817"&gt;Download it&lt;/a&gt; and &lt;a href="http://www.codeplex.com/Project/ListForums.aspx?ProjectName=BPAEngine"&gt;let us know what you think&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Wed, 18 Oct 2006 20:57:21 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20061018085721P</guid></item><item><title>UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Plugin for the Best Practices Analyzer&amp;version=4</link><description>&lt;p&gt;
&lt;h3&gt;How to Write a Plug-in For the Best Practices Analyzer&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: September 11, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Introduction&lt;/h4&gt;
&lt;/p&gt;
&lt;p&gt;
The best practices analyzer (BPA) code base supports a plug-in architecture that allows users to add a new analyzer as a plug-in using the existing broader framework for similar BPA tools.&amp;nbsp;&amp;nbsp;In this document we will walk you through the creation of a new ASP.NET analyzer plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;&amp;nbsp;To create a plug-in for the Best Practices Analyzer (BPA), you must have a version of Visual Studio 2005 installed on your machine.&amp;nbsp;&amp;nbsp;If you do not have Visual Studio 2005, you can &lt;a href="http://msdn.microsoft.com/vstudio/express/visualcsharp/"&gt;download a free version of Visual C&amp;#35; Express from Microsoft&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;How to add a new analyzer plug-in&lt;/h4&gt;
&lt;h6&gt;Add a new analyzer project &lt;/h6&gt;
First step creating a new project that references the correct assemblies from the BPA engine. You should create a new project in the language of your choice (we will be using C# in all example code in this document.)&amp;nbsp;&amp;nbsp;Once the project has been created, you'll need to add reference to the following framework projects that we will depend on:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.Common;&lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface;&lt;br/&gt;
System.Windows.Forms&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Add a new analyzer class&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
Add a new class for your analyzer (YourNewAnalyzer) by inheriting from the Analyzer class in &lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface namespace:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
class MyAnalyzer : Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface.Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Setup your new analyzer properties&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
In the constructor of your new Analyzer class set the configurationFileName (this XML file defines the rules and other parameters specific to your new analyzer.)&amp;nbsp;&amp;nbsp;The name of the file can be anything, just remember what it is. Specify the name of your tool by setting the following field names:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Tool&lt;i&gt;ShortName = YourNewAnalyzerLoc.Tool&lt;/i&gt;FullName;&lt;br/&gt;
Tool&lt;i&gt;LongNameStart = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameStart;&lt;br/&gt;
Tool&lt;i&gt;LongNameEnd = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameEnd;&lt;br/&gt;
Label&lt;i&gt;WDesc = YourNewAnalyzerLoc.Label&lt;/i&gt;WDesc;&lt;br/&gt;
Button&lt;i&gt;StartScan = YourNewAnalyzerLoc.Button&lt;/i&gt;StartScan;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
where "YourNewAnalyzerLoc" is a resource file where you will be storing the strings necessary for your plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Methods that need to be overridden.&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
Fill in the run time options for the scan by setting the scanInfo.Options properties.&amp;nbsp;&amp;nbsp;For example:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void GetBPAScanInfo(BPAScanInfo scanInfo, string[] argsIn)&lt;br/&gt;
{&lt;br/&gt;
	scanInfo.Options.Restrictions.DisableAll();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	foreach (string option in scanOptions.RestrictionOptions)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanInfo.Options.Restrictions.Enable(option);&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	scanInfo.Options.Substitutions.Clear();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	for (int s = 0; s &amp;lt; scanOptions.Substitutions.Count; s++)&lt;br/&gt;
		scanInfo.Options.Substitutions.Add(scanOptions.Substitutions.GetKey(s), scanOptions.Substitutions.GetByIndex(s));&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override void InitializeAnalyzerCustomizations()&lt;br/&gt;
{&lt;br/&gt;
	customizations = new BPACustomizations("BPA", new BPACustomizations.GetBPAScanInfoCallback(GetBPAScanInfo));&lt;br/&gt;
	customizations.RegistrySettings = new BPARegistrySettings();&lt;br/&gt;
	…..&lt;br/&gt;
	scanOptions = new ScanOptions(this);&lt;br/&gt;
	…..&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Then, implement any additional configuration necessary:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void ProcessConfiguration(Document doc)&lt;br/&gt;
{&lt;br/&gt;
	if (scanOptions != null &amp;amp;&amp;amp; mainGUI != null)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanOptions.Initialize(mainGUI);&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override string ToString()&lt;br/&gt;
{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	return LongNameStart + " " + LongNameEnd;&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 16 Oct 2006 21:02:34 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer 20061016090234P</guid></item><item><title>UPDATED WIKI: How to Write a Rule for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Rule for the Best Practices Analyzer&amp;version=3</link><description>&lt;p&gt;
&lt;h3&gt;How to Add a Rule to a Best Practice Analyzer Rules File&lt;/h3&gt;
&lt;i&gt;Version: 1.0&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: October 20, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Introduction&lt;/h4&gt;
The Microsoft Best Practice Analyzer Engine (MSBPA) is a general-purpose framework that enables the programmatic scanning of particular values inside of objects (e.g., the Windows Registry, XML Files, etc.) and evaluates those values against predefined rules.&amp;nbsp;&amp;nbsp;If a given rule is evaluated as “true”, engine will display a warning and text as defined in the rules file, notifying the user of the violation of that particular rule.&lt;br/&gt;
The one of the biggest strengths of the MSBPA is the ability to quickly and easily add additional rules to a given rule document.&amp;nbsp;&amp;nbsp;A rule is described in a simple XML file that can be located in the “\plugins” directory under the BPA engine directory.&amp;nbsp;&amp;nbsp;The name of the file will be in the format “&amp;lt;name of analysis plugin&amp;gt;.config.xml”.&amp;nbsp;&amp;nbsp;In the document below, the process for adding a new rule to a preexisting rules document will be described.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Understanding the Rules File Structure&lt;/h4&gt;
Before we start writing a new rule, it is useful to familiarize yourself with the structure of an XML rules file.&amp;nbsp;&amp;nbsp;To view an example rules file, please download and install the Best Practices Analyzer tool, and open the AspDotNetAnalyzer.config.xml file, which will be found in the \plugins folder of the main installation directory for the BPA tool (usually %Program Files%\Power Toys for Visual Studio\Best Practices Analyzer\)&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Configuration&lt;/h4&gt;
The first section in the XML that you will encounter is the configuration section.&amp;nbsp;&amp;nbsp;In the configuration section, the main properties about the rules file are defined, such as what kinds of files or data the analyzer needs to be able to read, the different restrictions that will be available in the UI, and the definition of all of the inputs that the user must submit to run a scan.&amp;nbsp;&amp;nbsp;For the purpose of just adding a new rule, it is unlikely that you will need to make any changes to this section.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Substitution Rules – What Property are you Trying to Read?&lt;/h4&gt;
Below the configuration section, a list of substitutions can be defined.&amp;nbsp;&amp;nbsp;The easiest way to think of a substitution is like a variable—you’re defining a shorter, convenient name for something so you can reference it later.&amp;nbsp;&amp;nbsp;Below is an example of a substitution for a given node in an XML document:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Setting Key1="XmlProp" Key2="configuration/system.web/pages/@autoEventWireup" Substitution="auto" &amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Rule Name="sWebConfigAutoEventWireup" Query="$." /&amp;gt;&lt;br/&gt;
&amp;lt;/Setting&amp;gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Let’s step through the elements in the substitution above step-by-step.&amp;nbsp;&amp;nbsp;A “Setting” node shows that you want to define a substitution.&amp;nbsp;&amp;nbsp;“Key1” and “Key2” elements’ meanings are defined by the object processor associated with the parent “object” of the substitutions.&amp;nbsp;&amp;nbsp;There are several different object processors, but quite likely the easiest way to determine how to add a new substitution is to look at the rules around it and emulate their style.&amp;nbsp;&amp;nbsp;The “substitution” element defines the name of your substitution—basically, how do you want to reference this setting later on in the rules file?&amp;nbsp;&amp;nbsp;Finally, the “Rule Name” defines both a name for the substitution rule (all substitution rule names must start with a lower-case “s”) and an XPath “query” that will be evaluated against the data defined earlier in the substitution.&amp;nbsp;&amp;nbsp;In the example above, the query “$.” will return the value of the property in the XML at the path “configuration/system.web/pages/@autoEventWireup”.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Rules – What Value Should Trigger a Warning?&lt;/h4&gt;
Now that we have defined a substitution, we need to create an actual BPA rule that will trigger when a scan occurs.&amp;nbsp;&amp;nbsp;To do this, we need to define another rule.&amp;nbsp;&amp;nbsp;Once again, the best way to add an additional rule to the rules document is to emulate a preexisting rule that exists to evaluate a similar element.&amp;nbsp;&amp;nbsp;Below is a rule that uses the substitution defined above:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Rule Name="fWebConfigAutoEventWireup" Query="matches('true',lower-case('%auto%'))" Error="Warning" Title="Auto Event Wireup is enabled" Text="It is suggested that Auto Event Wireup be disabled to enhance performance and increase security."/&amp;gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The rule name corresponds with the substitution rule above, but instead of an “s” rule, you can see that we are defining an “f” rule.&amp;nbsp;&amp;nbsp;The most important part of a rule is the query.&amp;nbsp;&amp;nbsp;The query is an XPath expression.&amp;nbsp;&amp;nbsp;Whenever the evaluation of the query returns a Boolean value of “true”, the rule will be triggered.&amp;nbsp;&amp;nbsp;The “error” property defines the severity of your rule—it can be an “error”, a “warning”, or a “best practice”.&amp;nbsp;&amp;nbsp;The “title” is the heading that will be displayed in the error message in the BPA tool, along with the “text” that describes what the error is and why the rule was triggered.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Save and Contribute!&lt;/h4&gt;
Once you have made your changes, go ahead and save the XML rules file, run the BPA tool, and see if your changes worked.&amp;nbsp;&amp;nbsp;It is suggested that you save the original XML rules file in a safe location first, in case you need to revert to it in the future.&amp;nbsp;&amp;nbsp;If your rule isn’t working, the first thing to check is to go back into the XML that you wrote and study both the form (make sure you have all of your carrots and quotation marks closed) and the XPath function that you are using.&amp;nbsp;&amp;nbsp;Does it evaluate to true?&amp;nbsp;&amp;nbsp;If not, you shouldn’t see the rule.&lt;br/&gt;
If you successfully made the change, and you think that your rule is a good one, share it back to the community and have everybody check out and benefit from your work.&amp;nbsp;&amp;nbsp;Currently, while the application is in beta, the best place to share your new rules is on the CodePlex discussions for the Best Practices Analyzer (just click on the Discussions tab above and go to the "New Rule Suggestions" discussion board.)&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;More Resources&lt;/h4&gt;
Want to know more?&amp;nbsp;&amp;nbsp;Read up on these more advanced documents, which will give you more detailed guidance on writing rules for the Best Practices Analyzer:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Project/FileDownload.aspx?ProjectName=BPAEngine&amp;amp;DownloadId=2153"&gt;BPA Rules XML Schema and Reference Help File&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Project/FileDownload.aspx?ProjectName=BPAEngine&amp;amp;DownloadId=2152"&gt;BPA Advanced Rules Tutorial&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 16 Oct 2006 18:37:27 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Rule for the Best Practices Analyzer 20061016063727P</guid></item><item><title>UPDATED WIKI: TestDocs</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs&amp;version=2</link><description>&lt;p&gt;
Placeholder page for files.&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Fri, 13 Oct 2006 18:30:47 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: TestDocs 20061013063047P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=6</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool is currently in public beta.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the Best Practices Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Download the Preview Release&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The preview release of the Best Practices Analyzer, which includes an automatic updater for rules and plugins, is now available!&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine"&gt;Download it&lt;/a&gt; and &lt;a href="http://www.codeplex.com/Project/ListForums.aspx?ProjectName=BPAEngine"&gt;let us know what you think&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Tue, 19 Sep 2006 20:07:47 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20060919080747P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=5</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool is currently in public beta.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the TFS Admin Tool&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Download the Preview Release&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The preview release of the Best Practices Analyzer, which includes an automatic updater for rules and plugins, is now available!&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=BPAEngine"&gt;Download it&lt;/a&gt; and &lt;a href="http://www.codeplex.com/Project/ListForums.aspx?ProjectName=BPAEngine"&gt;let us know what you think&lt;/a&gt;!&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Tue, 19 Sep 2006 18:54:09 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20060919065409P</guid></item><item><title>UPDATED WIKI: TestDocs</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs&amp;version=1</link><description>&lt;p&gt;
Placeholder page for files.&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 21:30:26 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: TestDocs 20060911093026P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=4</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool is currently in public beta.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the TFS Admin Tool&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 21:29:38 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20060911092938P</guid></item><item><title>UPDATED WIKI: How to Write a Rule for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Rule for the Best Practices Analyzer&amp;version=2</link><description>&lt;p&gt;
&lt;h3&gt;How to Add a Rule to a Best Practice Analyzer Rules File&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: September 11, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Introduction&lt;/h4&gt;
The Microsoft Best Practice Analyzer Engine (MSBPA) is a general-purpose framework that enables the programmatic scanning of particular values inside of objects (e.g., the Windows Registry, XML Files, etc.) and evaluates those values against predefined rules.&amp;nbsp;&amp;nbsp;If a given rule is evaluated as “true”, engine will display a warning and text as defined in the rules file, notifying the user of the violation of that particular rule.&lt;br/&gt;
The one of the biggest strengths of the MSBPA is the ability to quickly and easily add additional rules to a given rule document.&amp;nbsp;&amp;nbsp;A rule is described in a simple XML file that can be located in the “\plugins” directory under the BPA engine directory.&amp;nbsp;&amp;nbsp;The name of the file will be in the format “&amp;lt;name of analysis plugin&amp;gt;.config.xml”.&amp;nbsp;&amp;nbsp;In the document below, the process for adding a new rule to a preexisting rules document will be described.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Understanding the Rules File Structure&lt;/h4&gt;
Before we start writing a new rule, it is useful to familiarize yourself with the structure of an XML rules file.&amp;nbsp;&amp;nbsp;To view an example rules file, please download and install the Best Practices Analyzer tool, and open the AspDotNetAnalyzer.config.xml file, which will be found in the \plugins folder of the main installation directory for the BPA tool (usually %Program Files%\Power Toys for Visual Studio\Best Practices Analyzer\)&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Configuration&lt;/h4&gt;
The first section in the XML that you will encounter is the configuration section.&amp;nbsp;&amp;nbsp;In the configuration section, the main properties about the rules file are defined, such as what kinds of files or data the analyzer needs to be able to read, the different restrictions that will be available in the UI, and the definition of all of the inputs that the user must submit to run a scan.&amp;nbsp;&amp;nbsp;For the purpose of just adding a new rule, it is unlikely that you will need to make any changes to this section.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Substitution Rules – What Property are you Trying to Read?&lt;/h4&gt;
Below the configuration section, a list of substitutions can be defined.&amp;nbsp;&amp;nbsp;The easiest way to think of a substitution is like a variable—you’re defining a shorter, convenient name for something so you can reference it later.&amp;nbsp;&amp;nbsp;Below is an example of a substitution for a given node in an XML document:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Setting Key1="XmlProp" Key2="configuration/system.web/pages/@autoEventWireup" Substitution="auto" &amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Rule Name="sWebConfigAutoEventWireup" Query="$." /&amp;gt;&lt;br/&gt;
&amp;lt;/Setting&amp;gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Let’s step through the elements in the substitution above step-by-step.&amp;nbsp;&amp;nbsp;A “Setting” node shows that you want to define a substitution.&amp;nbsp;&amp;nbsp;“Key1” and “Key2” elements’ meanings are defined by the object processor associated with the parent “object” of the substitutions.&amp;nbsp;&amp;nbsp;There are several different object processors, but quite likely the easiest way to determine how to add a new substitution is to look at the rules around it and emulate their style.&amp;nbsp;&amp;nbsp;The “substitution” element defines the name of your substitution—basically, how do you want to reference this setting later on in the rules file?&amp;nbsp;&amp;nbsp;Finally, the “Rule Name” defines both a name for the substitution rule (all substitution rule names must start with a lower-case “s”) and an XPath “query” that will be evaluated against the data defined earlier in the substitution.&amp;nbsp;&amp;nbsp;In the example above, the query “$.” will return the value of the property in the XML at the path “configuration/system.web/pages/@autoEventWireup”.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Rules – What Value Should Trigger a Warning?&lt;/h4&gt;
Now that we have defined a substitution, we need to create an actual BPA rule that will trigger when a scan occurs.&amp;nbsp;&amp;nbsp;To do this, we need to define another rule.&amp;nbsp;&amp;nbsp;Once again, the best way to add an additional rule to the rules document is to emulate a preexisting rule that exists to evaluate a similar element.&amp;nbsp;&amp;nbsp;Below is a rule that uses the substitution defined above:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Rule Name="fWebConfigAutoEventWireup" Query="matches('true',lower-case('%auto%'))" Error="Warning" Title="Auto Event Wireup is enabled" Text="It is suggested that Auto Event Wireup be disabled to enhance performance and increase security."/&amp;gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The rule name corresponds with the substitution rule above, but instead of an “s” rule, you can see that we are defining an “f” rule.&amp;nbsp;&amp;nbsp;The most important part of a rule is the query.&amp;nbsp;&amp;nbsp;The query is an XPath expression.&amp;nbsp;&amp;nbsp;Whenever the evaluation of the query returns a Boolean value of “true”, the rule will be triggered.&amp;nbsp;&amp;nbsp;The “error” property defines the severity of your rule—it can be an “error”, a “warning”, or a “best practice”.&amp;nbsp;&amp;nbsp;The “title” is the heading that will be displayed in the error message in the BPA tool, along with the “text” that describes what the error is and why the rule was triggered.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Save and Contribute!&lt;/h4&gt;
Once you have made your changes, go ahead and save the XML rules file, run the BPA tool, and see if your changes worked.&amp;nbsp;&amp;nbsp;It is suggested that you save the original XML rules file in a safe location first, in case you need to revert to it in the future.&amp;nbsp;&amp;nbsp;If your rule isn’t working, the first thing to check is to go back into the XML that you wrote and study both the form (make sure you have all of your carrots and quotation marks closed) and the XPath function that you are using.&amp;nbsp;&amp;nbsp;Does it evaluate to true?&amp;nbsp;&amp;nbsp;If not, you shouldn’t see the rule.&lt;br/&gt;
If you successfully made the change, and you think that your rule is a good one, share it back to the community and have everybody check out and benefit from your work.&amp;nbsp;&amp;nbsp;Currently, while the application is in beta, the best place to share your new rules is on the CodePlex discussions for the Best Practices Analyzer (just click on the Discussions tab above and go to the "New Rule Suggestions" discussion board.)&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;More Resources&lt;/h4&gt;
Want to know more?&amp;nbsp;&amp;nbsp;Read up on these more advanced documents, which will give you more detailed guidance on writing rules for the Best Practices Analyzer:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Project/FileDownload.aspx?ProjectName=BPAEngine&amp;amp;DownloadId=2153"&gt;BPA Rules XML Schema and Reference Help File&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Project/FileDownload.aspx?ProjectName=BPAEngine&amp;amp;DownloadId=2152"&gt;BPA Advanced Rules Tutorial&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 21:04:54 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Rule for the Best Practices Analyzer 20060911090454P</guid></item><item><title>UPDATED WIKI: How to Write a Rule for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Rule for the Best Practices Analyzer&amp;version=1</link><description>&lt;p&gt;
&lt;h3&gt;How to Add a Rule to a Best Practice Analyzer Rules File&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: September 11, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!Introduction&lt;br/&gt;
The Microsoft Best Practice Analyzer Engine (MSBPA) is a general-purpose framework that enables the programmatic scanning of particular values inside of &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
objects (e.g., the Windows Registry, XML Files, etc.) and evaluates those values against predefined rules.&amp;nbsp;&amp;nbsp;If a given rule is evaluated as “true”, engine &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
will display a warning and text as defined in the rules file, notifying the user of the violation of that particular rule.&lt;br/&gt;
The one of the biggest strengths of the MSBPA is the ability to quickly and easily add additional rules to a given rule document.&amp;nbsp;&amp;nbsp;A rule is described in a &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
simple XML file that can be located in the “\plugins” directory under the BPA engine directory.&amp;nbsp;&amp;nbsp;The name of the file will be in the format “&amp;lt;name of &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
analysis plugin&amp;gt;.config.xml”.&amp;nbsp;&amp;nbsp;In the document below, the process for adding a new rule to a preexisting rules document will be described.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!Understanding the Rules File Structure&lt;br/&gt;
Before we start writing a new rule, it is useful to familiarize yourself with the structure of an XML rules file.&amp;nbsp;&amp;nbsp;To view an example rules file, please &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
download and install the Best Practices Analyzer tool, and open the AspDotNetAnalyzer.config.xml file, which will be found in the \plugins folder of the main &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
installation directory for the BPA tool (usually %Program Files%\Power Toys for Visual Studio\Best Practices Analyzer\)&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!Configuration&lt;br/&gt;
The first section in the XML that you will encounter is the configuration section.&amp;nbsp;&amp;nbsp;In the configuration section, the main properties about the rules file &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
are defined, such as what kinds of files or data the analyzer needs to be able to read, the different restrictions that will be available in the UI, and the &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
definition of all of the inputs that the user must submit to run a scan.&amp;nbsp;&amp;nbsp;For the purpose of just adding a new rule, it is unlikely that you will need to &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
make any changes to this section.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!Substitution Rules – What Property are you Trying to Read?&lt;br/&gt;
Below the configuration section, a list of substitutions can be defined.&amp;nbsp;&amp;nbsp;The easiest way to think of a substitution is like a variable—you’re defining a &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
shorter, convenient name for something so you can reference it later.&amp;nbsp;&amp;nbsp;Below is an example of a substitution for a given node in an XML document:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Setting Key1="XmlProp" Key2="configuration/system.web/pages/@autoEventWireup" Substitution="auto" &amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Rule Name="sWebConfigAutoEventWireup" Query="$." /&amp;gt;&lt;br/&gt;
&amp;lt;/Setting&amp;gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Let’s step through the elements in the substitution above step-by-step.&amp;nbsp;&amp;nbsp;A “Setting” node shows that you want to define a substitution.&amp;nbsp;&amp;nbsp;“Key1” and “Key2” &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
elements’ meanings are defined by the object processor associated with the parent “object” of the substitutions.&amp;nbsp;&amp;nbsp;There are several different object &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
processors, but quite likely the easiest way to determine how to add a new substitution is to look at the rules around it and emulate their style.&amp;nbsp;&amp;nbsp;The &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
“substitution” element defines the name of your substitution—basically, how do you want to reference this setting later on in the rules file?&amp;nbsp;&amp;nbsp;Finally, the &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
“Rule Name” defines both a name for the substitution rule (all substitution rule names must start with a lower-case “s”) and an XPath “query” that will be &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
evaluated against the data defined earlier in the substitution.&amp;nbsp;&amp;nbsp;In the example above, the query “$.” will return the value of the property in the XML at the &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
path “configuration/system.web/pages/@autoEventWireup”.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!Rules – What Value Should Trigger a Warning?&lt;br/&gt;
Now that we have defined a substitution, we need to create an actual BPA rule that will trigger when a scan occurs.&amp;nbsp;&amp;nbsp;To do this, we need to define another &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
rule.&amp;nbsp;&amp;nbsp;Once again, the best way to add an additional rule to the rules document is to emulate a preexisting rule that exists to evaluate a similar element.&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Below is a rule that uses the substitution defined above:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Rule Name="fWebConfigAutoEventWireup" Query="matches('true',lower-case('%auto%'))" Error="Warning" Title="Auto Event Wireup is enabled" Text="It is &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
suggested that Auto Event Wireup be disabled to enhance performance and increase security."/&amp;gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The rule name corresponds with the substitution rule above, but instead of an “s” rule, you can see that we are defining an “f” rule.&amp;nbsp;&amp;nbsp;The most important &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
part of a rule is the query.&amp;nbsp;&amp;nbsp;The query is an XPath expression.&amp;nbsp;&amp;nbsp;Whenever the evaluation of the query returns a Boolean value of “true”, the rule will be &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
triggered.&amp;nbsp;&amp;nbsp;The “error” property defines the severity of your rule—it can be an “error”, a “warning”, or a “best practice”.&amp;nbsp;&amp;nbsp;The “title” is the heading that &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
will be displayed in the error message in the BPA tool, along with the “text” that describes what the error is and why the rule was triggered.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!Save and Contribute!&lt;br/&gt;
Once you have made your changes, go ahead and save the XML rules file, run the BPA tool, and see if your changes worked.&amp;nbsp;&amp;nbsp;It is suggested that you save the &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
original XML rules file in a safe location first, in case you need to revert to it in the future.&amp;nbsp;&amp;nbsp;If your rule isn’t working, the first thing to check is to &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
go back into the XML that you wrote and study both the form (make sure you have all of your carrots and quotation marks closed) and the XPath function that &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
you are using.&amp;nbsp;&amp;nbsp;Does it evaluate to true?&amp;nbsp;&amp;nbsp;If not, you shouldn’t see the rule.&lt;br/&gt;
If you successfully made the change, and you think that your rule is a good one, share it back to the community and have everybody check out and benefit from &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
your work.&amp;nbsp;&amp;nbsp;Currently, while the application is in beta, the best place to share your new rules is on the CodePlex discussions for the Best Practices &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Analyzer (just click on the Discussions tab above and go to the "New Rule Suggestions" discussion board.)&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
!!!!More Resources&lt;br/&gt;
Want to know more?&amp;nbsp;&amp;nbsp;Read up on these more advanced documents, which will give you more detailed guidance on writing rules for the Best Practices Analyzer:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.microsoft.com"&gt;BPA Rules XML Schema and Reference Help File&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.microsoft.com"&gt;BPA Advanced Rules Tutorial&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 21:03:09 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Rule for the Best Practices Analyzer 20060911090309P</guid></item><item><title>UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Plugin for the Best Practices Analyzer&amp;version=3</link><description>&lt;p&gt;
&lt;h3&gt;How to Write a Plug-in For the Best Practices Analyzer&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: September 11, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Introduction&lt;/h4&gt;
&lt;/p&gt;
&lt;p&gt;
The best practices analyzer (BPA) code base supports a plug-in architecture that allows users to add a new analyzer as a plug-in using the existing broader framework for similar BPA tools.&amp;nbsp;&amp;nbsp;In this document we will walk you through the creation of a new ASP.NET analyzer plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;&amp;nbsp;To create a plug-in for the Best Practices Analyzer (BPA), you must have a version of Visual Studio 2005 installed on your machine.&amp;nbsp;&amp;nbsp;If you do not have Visual Studio 2005, you can &lt;a href="http://msdn.microsoft.com/vstudio/express/visualcsharp/"&gt;download a free version of Visual C&amp;#35; Express from Microsoft&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;How to add a new analyzer plug-in&lt;/h4&gt;
&lt;h6&gt;Add a new analyzer project &lt;/h6&gt;
First step creating a new project that references the correct assemblies from the BPA engine. You should create a new project in the language of your choice (we will be using C# in all example code in this document.)&amp;nbsp;&amp;nbsp;Once the project has been create, you'll need to add reference to the following framework projects that we will depend on:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.Common;&lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Add a new analyzer class&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
Add a new class for your analyzer (YourNewAnalyzer) by inheriting from the Analyzer class in &lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface namespace:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
class MyAnalyzer : Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface.Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Setup your new analyzer properties&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
In the constructor of your new Analyzer class set the configurationFileName (this XML file defines the rules and other parameters specific to your new analyzer.)&amp;nbsp;&amp;nbsp;The name of the file can be anything, just remember what it is. Specify the name of your tool by setting the following field names:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Tool&lt;i&gt;ShortName = YourNewAnalyzerLoc.Tool&lt;/i&gt;FullName;&lt;br/&gt;
Tool&lt;i&gt;LongNameStart = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameStart;&lt;br/&gt;
Tool&lt;i&gt;LongNameEnd = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameEnd;&lt;br/&gt;
Label&lt;i&gt;WDesc = YourNewAnalyzerLoc.Label&lt;/i&gt;WDesc;&lt;br/&gt;
Button&lt;i&gt;StartScan = YourNewAnalyzerLoc.Button&lt;/i&gt;StartScan;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
where "YourNewAnalyzerLoc" is a resource file where you will be storing the strings necessary for your plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Methods that need to be overridden.&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
Fill in the run time options for the scan by setting the scanInfo.Options properties.&amp;nbsp;&amp;nbsp;For example:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void GetBPAScanInfo(BPAScanInfo scanInfo, string[] argsIn)&lt;br/&gt;
{&lt;br/&gt;
	scanInfo.Options.Restrictions.DisableAll();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	foreach (string option in scanOptions.RestrictionOptions)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanInfo.Options.Restrictions.Enable(option);&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	scanInfo.Options.Substitutions.Clear();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	for (int s = 0; s &amp;lt; scanOptions.Substitutions.Count; s++)&lt;br/&gt;
		scanInfo.Options.Substitutions.Add(scanOptions.Substitutions.GetKey(s), scanOptions.Substitutions.GetByIndex(s));&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override void InitializeAnalyzerCustomizations()&lt;br/&gt;
{&lt;br/&gt;
	customizations = new BPACustomizations("BPA", new BPACustomizations.GetBPAScanInfoCallback(GetBPAScanInfo));&lt;br/&gt;
	customizations.RegistrySettings = new BPARegistrySettings();&lt;br/&gt;
	…..&lt;br/&gt;
	scanOptions = new ScanOptions(this);&lt;br/&gt;
	…..&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Then, implement any additional configuration necessary:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void ProcessConfiguration(Document doc)&lt;br/&gt;
{&lt;br/&gt;
	if (scanOptions != null &amp;amp;&amp;amp; mainGUI != null)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanOptions.Initialize(mainGUI);&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override string ToString()&lt;br/&gt;
{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	return LongNameStart + " " + LongNameEnd;&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 20:42:04 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer 20060911084204P</guid></item><item><title>UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Plugin for the Best Practices Analyzer&amp;version=2</link><description>&lt;p&gt;
&lt;h3&gt;How to Write a Plug-in For the Best Practices Analyzer&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
_Date: September 11, 2006&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;Introduction&lt;/h4&gt;
&lt;/p&gt;
&lt;p&gt;
The best practices analyzer (BPA) code base supports a plug-in architecture that allows users to add a new analyzer as a plug-in using the existing broader framework for similar BPA tools.&amp;nbsp;&amp;nbsp;In this document we will walk you through the creation of a new ASP.NET analyzer plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;&amp;nbsp;To create a plug-in for the Best Practices Analyzer (BPA), you must have a version of Visual Studio 2005 installed on your machine.&amp;nbsp;&amp;nbsp;If you do not have Visual Studio 2005, you can &lt;a href="http://msdn.microsoft.com/vstudio/express/visualcsharp/"&gt;download a free version of Visual C&amp;#35; Express from Microsoft&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h4&gt;How to add a new analyzer plug-in&lt;/h4&gt;
&lt;h6&gt;Add a new analyzer project &lt;/h6&gt;
First step creating a new project that references the correct assemblies from the BPA engine. You should create a new project in the language of your choice (we will be using C# in all example code in this document.)&amp;nbsp;&amp;nbsp;Once the project has been create, you'll need to add reference to the following framework projects that we will depend on:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.Common;&lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Add a new analyzer class&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
Add a new class for your analyzer (YourNewAnalyzer) by inheriting from the Analyzer class in &lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface namespace:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
class MyAnalyzer : Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface.Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Setup your new analyzer properties&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
In the constructor of your new Analyzer class set the configurationFileName (this XML file defines the rules and other parameters specific to your new analyzer.)&amp;nbsp;&amp;nbsp;The name of the file can be anything, just remember what it is. Specify the name of your tool by setting the following field names:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Tool&lt;i&gt;ShortName = YourNewAnalyzerLoc.Tool&lt;/i&gt;FullName;&lt;br/&gt;
Tool&lt;i&gt;LongNameStart = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameStart;&lt;br/&gt;
Tool&lt;i&gt;LongNameEnd = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameEnd;&lt;br/&gt;
Label&lt;i&gt;WDesc = YourNewAnalyzerLoc.Label&lt;/i&gt;WDesc;&lt;br/&gt;
Button&lt;i&gt;StartScan = YourNewAnalyzerLoc.Button&lt;/i&gt;StartScan;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
where "YourNewAnalyzerLoc" is a resource file where you will be storing the strings necessary for your plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h6&gt;Methods that need to be overridden.&lt;/h6&gt;
&lt;/p&gt;
&lt;p&gt;
Fill in the run time options for the scan by setting the scanInfo.Options properties.&amp;nbsp;&amp;nbsp;For example:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void GetBPAScanInfo(BPAScanInfo scanInfo, string[] argsIn)&lt;br/&gt;
{&lt;br/&gt;
	scanInfo.Options.Restrictions.DisableAll();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	foreach (string option in scanOptions.RestrictionOptions)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanInfo.Options.Restrictions.Enable(option);&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	scanInfo.Options.Substitutions.Clear();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	for (int s = 0; s &amp;lt; scanOptions.Substitutions.Count; s++)&lt;br/&gt;
		scanInfo.Options.Substitutions.Add(scanOptions.Substitutions.GetKey(s), scanOptions.Substitutions.GetByIndex(s));&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override void InitializeAnalyzerCustomizations()&lt;br/&gt;
{&lt;br/&gt;
	customizations = new BPACustomizations("BPA", new BPACustomizations.GetBPAScanInfoCallback(GetBPAScanInfo));&lt;br/&gt;
	customizations.RegistrySettings = new BPARegistrySettings();&lt;br/&gt;
	…..&lt;br/&gt;
	scanOptions = new ScanOptions(this);&lt;br/&gt;
	…..&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Then, implement any additional configuration necessary:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void ProcessConfiguration(Document doc)&lt;br/&gt;
{&lt;br/&gt;
	if (scanOptions != null &amp;amp;&amp;amp; mainGUI != null)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanOptions.Initialize(mainGUI);&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override string ToString()&lt;br/&gt;
{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	return LongNameStart + " " + LongNameEnd;&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 20:41:44 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer 20060911084144P</guid></item><item><title>UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How to Write a Plugin for the Best Practices Analyzer&amp;version=1</link><description>&lt;p&gt;
&lt;h3&gt;How to Write a Plug-in For the Best Practices Analyzer&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
_Date: September 11, 2006&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ol&gt;&lt;li&gt;Introduction&lt;/li&gt;
&lt;/ol&gt;&lt;/p&gt;
&lt;p&gt;
The best practices analyzer (BPA) code base supports a plug-in architecture that allows users to add a new analyzer as a plug-in using the existing broader framework for similar BPA tools.&amp;nbsp;&amp;nbsp;In this document we will walk you through the creation of a new ASP.NET analyzer plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;&amp;nbsp;To create a plug-in for the Best Practices Analyzer (BPA), you must have a version of Visual Studio 2005 installed on your machine.&amp;nbsp;&amp;nbsp;If you do not have Visual Studio 2005, you can &lt;a href="http://msdn.microsoft.com/vstudio/express/visualcsharp/"&gt;download a free version of Visual C&amp;#35; Express from Microsoft&lt;/a&gt;.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ol&gt;&lt;li&gt;How to add a new analyzer plug-in&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;Add a new analyzer project &lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;First step creating a new project that references the correct assemblies from the BPA engine. You should create a new project in the language of your choice (we will be using C# in all example code in this document.)&amp;nbsp;&amp;nbsp;Once the project has been create, you'll need to add reference to the following framework projects that we will depend on:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.Common;&lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Add a new analyzer class&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/p&gt;
&lt;p&gt;
Add a new class for your analyzer (YourNewAnalyzer) by inheriting from the Analyzer class in &lt;br/&gt;
Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface namespace:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
class MyAnalyzer : Microsoft.VSPowerToys.BestPracticesAnalyzer.UserInterface.Analyzer&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Setup your new analyzer properties&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/p&gt;
&lt;p&gt;
In the constructor of your new Analyzer class set the configurationFileName (this XML file defines the rules and other parameters specific to your new analyzer.)&amp;nbsp;&amp;nbsp;The name of the file can be anything, just remember what it is. Specify the name of your tool by setting the following field names:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Tool&lt;i&gt;ShortName = YourNewAnalyzerLoc.Tool&lt;/i&gt;FullName;&lt;br/&gt;
Tool&lt;i&gt;LongNameStart = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameStart;&lt;br/&gt;
Tool&lt;i&gt;LongNameEnd = YourNewAnalyzerLoc.Tool&lt;/i&gt;LongNameEnd;&lt;br/&gt;
Label&lt;i&gt;WDesc = YourNewAnalyzerLoc.Label&lt;/i&gt;WDesc;&lt;br/&gt;
Button&lt;i&gt;StartScan = YourNewAnalyzerLoc.Button&lt;/i&gt;StartScan;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
where "YourNewAnalyzerLoc" is a resource file where you will be storing the strings necessary for your plug-in.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;li&gt;Methods that need to be overridden.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/p&gt;
&lt;p&gt;
Fill in the run time options for the scan by setting the scanInfo.Options properties.&amp;nbsp;&amp;nbsp;For example:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void GetBPAScanInfo(BPAScanInfo scanInfo, string[] argsIn)&lt;br/&gt;
{&lt;br/&gt;
	scanInfo.Options.Restrictions.DisableAll();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	foreach (string option in scanOptions.RestrictionOptions)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanInfo.Options.Restrictions.Enable(option);&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	scanInfo.Options.Substitutions.Clear();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	for (int s = 0; s &amp;lt; scanOptions.Substitutions.Count; s++)&lt;br/&gt;
		scanInfo.Options.Substitutions.Add(scanOptions.Substitutions.GetKey(s), scanOptions.Substitutions.GetByIndex(s));&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override void InitializeAnalyzerCustomizations()&lt;br/&gt;
{&lt;br/&gt;
	customizations = new BPACustomizations("BPA", new BPACustomizations.GetBPAScanInfoCallback(GetBPAScanInfo));&lt;br/&gt;
	customizations.RegistrySettings = new BPARegistrySettings();&lt;br/&gt;
	…..&lt;br/&gt;
	scanOptions = new ScanOptions(this);&lt;br/&gt;
	…..&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Then, implement any additional configuration necessary:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
protected override void ProcessConfiguration(Document doc)&lt;br/&gt;
{&lt;br/&gt;
	if (scanOptions != null &amp;amp;&amp;amp; mainGUI != null)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanOptions.Initialize(mainGUI);&lt;br/&gt;
}&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
public override string ToString()&lt;br/&gt;
{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	return LongNameStart + " " + LongNameEnd;&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 20:41:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: How to Write a Plugin for the Best Practices Analyzer 20060911084111P</guid></item><item><title>CREATED WIKI: </title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=</link><description></description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 20:41:11 GMT</pubDate><guid isPermaLink="false">CREATED WIKI:  20060911084111P</guid></item><item><title>UPDATED WIKI: Requirements</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements&amp;version=2</link><description>&lt;p&gt;
&lt;h3&gt;Requirements to Run the Best Practices Analyzer&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: September 11, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
To run the Best Practices Analyzer, the following requirements must be fulfilled:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Windows XP or 2003 (Windows 2000 or Vista may work, but have not been tested)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=0&amp;amp;p=4&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%0a%09%09%09%09%09%2fdownloads%2fdetails.aspx%3fFamilyID%3d0856eacb-4362-4b0d-8edd-aab15c5e04f5%26displaylang%3den"&gt;Microsoft .NET Framework 2.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Administrator privileges on your machine&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
To run the ASP.NET 2.0 configuration analyzer, you additionally will need access to:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Machine.config file of your server&lt;/li&gt;
&lt;li&gt;System-wide web.config file of your server&lt;/li&gt;
&lt;li&gt;Site-specific web.config file of your web application you wish to scan&lt;/li&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 20:18:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Requirements 20060911081811P</guid></item><item><title>UPDATED WIKI: Requirements</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements&amp;version=1</link><description>&lt;p&gt;
&lt;h3&gt;Requirements to Run the Best Practices Analyzer&lt;/h3&gt;
&lt;i&gt;Version: Beta 1&lt;/i&gt;&lt;br/&gt;
&lt;i&gt;Date: September 11, 2006&lt;/i&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
To run the Best Practices Analyzer, the following requirements must be fulfilled:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Windows XP or 2003 (Windows 2000 or Vista may work, but have not been tested)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=0&amp;amp;p=4&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=&amp;amp;u=%0a%09%09%09%09%09%2fdownloads%2fdetails.aspx%3fFamilyID%3d0856eacb-4362-4b0d-8edd-aab15c5e04f5%26displaylang%3den"&gt;Microsoft .NET Framework 2.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Administrator privileges on your machine&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
To run the ASP.NET 2.0 configuration analyzer, you additionally will need access to:&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Machine.config file of your server&lt;/li&gt;
&lt;li&gt;System-wide web.config file of your server&lt;/li&gt;
&lt;li&gt;Site-specific web.config file of your web application you wish to scan&lt;/li&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 20:12:23 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Requirements 20060911081223P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=3</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool is currently in public beta.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the TFS Admin Tool&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the &lt;a href="http://www.codeplex.com/Legal/terms.aspx"&gt;CodePlex TOU&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 18:59:37 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20060911065937P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Home&amp;version=2</link><description>&lt;p&gt;
&lt;h3&gt;Welcome to the Microsoft Best Practices Analyzer Home Page!&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
The Microsoft Best Practices Analyzer is an general-purpose engine that allows for a user to analyze settings in &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
their systems to quickly identify problematic or sub-optimal configurations.&amp;nbsp;&amp;nbsp;The Best Practices Analyzer (BPA) &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
uses a plug-in architecture that allows users to easily install and extend the functionality of the tool by &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
downloading a best practices analyzer "plug-in" and accompanying "rules" document.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool comes preinstalled with an example plug-in for analyzes an ASP.Net 2.0 server and website's system.web &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
configuration settings for problematic configurations.&amp;nbsp;&amp;nbsp;The source code for this analyzer plugin will be avaiable &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
as a Shared Source project, and can serve as an example of how you could write your own best practices plug-in that &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
extends the tool.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The BPA tool is currently in public beta.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
View the &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=Requirements"&gt;Requirements&lt;/a&gt; for running the TFS Admin Tool&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Join the Development Team&lt;/h3&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Contributing to the Best Practices Analyzer&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
The best way to contribute to this community project is to contribute more rules for released analyzers (especially &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
ASP.Net 2.0 configuration rules), or to try your hand at writing a best practices plug-in of your own.&amp;nbsp;&amp;nbsp;Please &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
submit your suggestions for new rules in the Discussion boards for this project.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Rule%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Rule for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=How%20to%20Write%20a%20Plugin%20for%20the%20Best%20Practices%20Analyzer"&gt;How to Write a Plugin for the Best Practices Analyzer&lt;/a&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
Note that by posting your submission to the Issue Tracker, you agree to do so under the [url:CodePlex &lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
TOU|http://www.codeplex.com/Legal/terms.aspx]&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Join the Community&lt;/b&gt;&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
There are numerous ways you can participate in the TFS Admin Tool community&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;&lt;li&gt;Blog about Best Practices Analyzer&lt;/li&gt;
&lt;li&gt;Ask and answer questions on the Discussion boards&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.codeplex.com/WorkItem/List.aspx?ProjectName=BPAEngine"&gt;Submit issues or feature suggestions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=BPAEngine&amp;title=TestDocs"&gt;TestDocs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;/p&gt;
</description><author>joemorel</author><pubDate>Mon, 11 Sep 2006 18:59:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20060911065911P</guid></item></channel></rss>