3,322

Downloads

720

Downloads of v 0.2.0-beta

4

Average downloads per day

2014-11-12

Last published

Share on Social Networks

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

Microsoft Code Analysis for Azure...

0.2.0-beta

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

Owners

Authors

Microsoft

Copyright

© Microsoft Corporation. All rights reserved.

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Microsoft Code... 0.5.0-beta 1,914 Wednesday, July 22, 2015
Microsoft Code... 0.4.0-beta 303 Wednesday, April 29, 2015
Microsoft Code... 0.3.0-beta 313 Tuesday, March 3, 2015
Microsoft Code... 0.2.0-beta (this version) 720 Wednesday, November 12, 2014