Microsoft.VisualStudio.Azure.CodeAnalysis 0.2.0-beta

Prefix Reserved
This is a prerelease version of Microsoft.VisualStudio.Azure.CodeAnalysis.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.VisualStudio.Azure.CodeAnalysis --version 0.2.0-beta                
NuGet\Install-Package Microsoft.VisualStudio.Azure.CodeAnalysis -Version 0.2.0-beta                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.VisualStudio.Azure.CodeAnalysis" Version="0.2.0-beta">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.VisualStudio.Azure.CodeAnalysis --version 0.2.0-beta                
#r "nuget: Microsoft.VisualStudio.Azure.CodeAnalysis, 0.2.0-beta"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.VisualStudio.Azure.CodeAnalysis as a Cake Addin
#addin nuget:?package=Microsoft.VisualStudio.Azure.CodeAnalysis&version=0.2.0-beta&prerelease

// Install Microsoft.VisualStudio.Azure.CodeAnalysis as a Cake Tool
#tool nuget:?package=Microsoft.VisualStudio.Azure.CodeAnalysis&version=0.2.0-beta&prerelease                

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 – https://go.microsoft.com/fwlink/?LinkId=403658

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.0-beta 42,053 7/22/2015
0.4.0-beta 1,475 4/29/2015
0.3.0-beta 2,021 3/3/2015
0.2.0-beta 74,337 11/12/2014