VisualStudio. Azure. CodeAnalysis
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 package has no dependencies.