Downloads of v 0.2.0-beta


Average downloads per day


Last published

Share on Social Networks

This is a prerelease version of Microsoft Code Analysis for Azure Pre-release.

Microsoft Code Analysis for Azure...


If you’re creating Azure cloud applications with a high scalability target in Visual Studio, you’ll find the Azure Code Analysis package very helpful. While you’re coding and leveraging new Visual Studio 2015 capabilities, the Code Analyzer suggests optimal coding practices and workflow improvements. It notifies you if it detects patterns in your code that will degrade app performance, compromise security, provide inconsistent results, or use deprecated APIs or techniques.

The following rules are included in this package:

- Avoid using default (in-process) session state mode

- Run method should not be async

- Use Service Bus Shared Access Signature authentication

- Consider using OnMessage method to avoid "receive loop"

- Consider using asynchronous Service Bus methods

- Consider partitioning Service Bus queues and topics

- Do not set SharedAccessStartTime

- Shared Access Policy expiry time must be more than five minutes

- Use CloudConfigurationManager

- Avoid using hard-coded connection strings

- Use diagnostics configuration file

- Avoid declaring DbContext objects as static

For more information about the code analysis rules – http://go.microsoft.com/fwlink/?LinkId=403658

To install Microsoft Code Analysis for Azure Pre-release, run the following command in the Package Manager Console

Install-Package Microsoft.VisualStudio.Azure.CodeAnalysis -Version 0.2.0-beta -Pre





© Microsoft Corporation. All rights reserved.



This package has no dependencies.

Version History

Version Downloads Last updated
Microsoft Code... 0.5.0-beta 3,515 Wednesday, July 22, 2015
Microsoft Code... 0.4.0-beta 369 Wednesday, April 29, 2015
Microsoft Code... 0.3.0-beta 413 Tuesday, March 3, 2015
Microsoft Code... 0.2.0-beta (this version) 883 Wednesday, November 12, 2014