Home > Back-end >  .NET Azure sdk resource manager - NuGet package: Stable release
.NET Azure sdk resource manager - NuGet package: Stable release

Time:02-10

I'm planning to handle some Azure ARM code in .NET 6 and want to use Azure libraries.

I found that there are 2 NuGet packages (old and new) available:

  1. Microsoft.Azure.Management.ResourceManager.Fluent

Ref: NuGet Gallery | Microsoft.Azure.Management.ResourceManager.Fluent 1.38.0 NuGet doc says that "This package is in low maintenance mode and being phased out. To use the latest Azure SDK for resource management, please see https://aka.ms/azsdk/dotnet/mgmt". This means that it package will not be supported in near future.

  1. Azure.ResourceManager

Ref: NuGet Gallery | Azure.ResourceManager 1.0.0-beta.8 The official doc https://aka.ms/azsdk/dotnet/mgmt (referred from above NuGet suggestion) says that "Azure.ResourceManager.* packages are currently in Public Preview and may be subject to breaking changes in the future."

The former one is about to get deprecated and the latter one is still in beta release mode. Which package should be considered to be use for long term support application development. This needs to be used on production, so would going for beta release package recommended? Any expected stable release date for Azure.ResourceManager.* libraries?

CodePudding user response:

I would suggest you think about using the azure HTTP API that they support, but the problem is that a lot of endpoints is still in preview :D Don't worry to take beta SDKs for your solution coz it's gonna work fine. You might hit the problem only when you try to upgrade NuGet packages. So try to abstract this part and cover it whit tests :)

CodePudding user response:

A beta package is an early version of a managed package that is uploaded in a Managed - Beta state. The purpose of a Managed - Beta package is to allow the developer to test their application in different Salesforce organizations and to share the app with a pilot set of users for evaluation and feedback.

And mostly beta versions will work fine and mostly give desired outputs.

You may get some errors when the package is upgraded or a stable version released, then you need to change some code according to new version.

  • Related