Microsoft.VisualStudio.Azure.CodeAnalysis 0.2.0-beta

Microsoft Code Analysis for Azure Pre-release

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

This is a prerelease version of Microsoft.VisualStudio.Azure.CodeAnalysis.
Install-Package Microsoft.VisualStudio.Azure.CodeAnalysis -Version 0.2.0-beta
dotnet add package Microsoft.VisualStudio.Azure.CodeAnalysis --version 0.2.0-beta

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
0.5.0-beta 3,925 7/22/2015
0.4.0-beta 381 4/29/2015
0.3.0-beta 430 3/3/2015
0.2.0-beta (current version) 903 11/12/2014