Just like we have SDK for the Azure Storage [Tables, Blobs, Queues] along with the REST API;
Do we have SDK or library for handling Service Management APIs in c#...?
Naveen,
Take a look at "Microsoft.WindowsAzure.ServiceManagementClient.dll". You can find this along with Azure SDK (C:\Program Files\Windows Azure SDK\v1.4\bin directory). I think this is what you're looking at.
Hope this helps.
There's not an SDK as such, but there is this sample from Microsoft which demonstrates how you can work with the REST API in .net. The other option is you could just use the sample code as it is.
UPDATE:
MS now have a pre-release version of a management library available on NuGet. Brady Gaster has a blog to get you started.
knightpfhor's comment is correct, but since the comment we've released the MAML 1.0 libraries. I think the Storage Management Client package might be what you're after.
Related
I am developing an application using Lucee.
Currently I have some files stored on an Azure Storage Account
and I need to be able to read and write to the Azure Storage account.
Is there any java api or Lucee Extension that can be used for this purpose?
There is indeed Azure Storage SDK for Java. The full documentation can be found here
It has support for blobs, Queues, Android and other libraries.
I liked #Adam-Smith-msft answer but I ended up using the code from https://github.com/paulklinkenberg/lucee-azure-provider so i did not have to deal directly with the Java SDK
UPDATE: DNX does not exist anymore. Please ignore this question.
Current WindowsAzure.ServiceBus (3.0.4) nuget package (http://nuget-preprod-0-v2gallery.cloudapp.net/packages/WindowsAzure.ServiceBus/) requires .NET Framework 4.5 Full Profile and it is not usable with an application build specifically to use DNX Core.
As I understand, the only way to build such application at this moment is to use REST API.
What is the recommended way to include authentication information to requests? Do we have any open source nuget to handle it or should the SAS token creation be implemented by each developer? Links to the REST API authentication samples are broken.
While the Service Bus nuget package is not open sourced, do we have any active channels to reach the developers to find out if they have any plans to support DNX Core and we should not use REST API because the library update is coming soon?
The REST URL to publish a message on Queue/Topic will be like,
http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath|topicPath}/messages
The authorization SAS Token has to be part of the request header
For further read, REST Run-Time APIs
It's also possible by using the AMQP protocol. I recently used AMQP to communicate with an Azure IoTHubClient, all in a DNXCore5.0 project. I used the AMQPNetLite Library to do so, it also has Service Bus Examples!
(Reposting as my prior answer was erroneously deleted by the moderators.)
Microsoft now provides a .NET core version of this library. I am shipping a .NET Core app on Linux that calls it.
https://github.com/azure/azure-service-bus-dotnet
Announcement post:
https://blogs.msdn.microsoft.com/servicebus/2016/12/20/service-bus-net-standard-and-open-source/
As a Microsoft Azure services client, I received earlier today the following mail: http://aka.ms/Qga48e.
I was wondering how I could migrate my Blob storage without services disruption to use the latest Azure File Storage service.
Anybody has already performed this action? Any feedbacks will be welcomed.
Thanks.
I don't think that it would be necessary. Besides Azure Blob Service and Azure File Service serve different purposes all together and the things you could do with blob service can't be done through file service.
As mentioned in the newsletter, what you should try to do is upgrade your client applications to make use of latest version of storage client library. If you're using an older version of library (< 2.0), there would be some pain in migration but migrating from 2.0 to 4.x (currently latest version) should be rather painless.
Next thing you should look into is the default service version of your storage account services. If you're using .Net storage client library, you can fetch it via GetServicePropertiesAsync method. You can update the default service version using SetServicePropertiesAsync method.
You may also find this link helpful about understanding storage service versioning: http://msdn.microsoft.com/en-us/library/azure/dd894041.aspx.
UPDATE: 13-DEC-2014
Azure Storage Team has published a blog post which talks more about this issue: http://blogs.msdn.com/b/windowsazurestorage/archive/2014/08/05/microsoft-azure-storage-service-version-removal.aspx.
The Storage Service REST API is not being removed. There are several versions of the API, from over the years. Older versions of the REST API (prior to the 2012-02-12 version) are being retired. But it's definitely not going away, and neither is the Azure Storage service.
Different versions of the SDKs (across the various language stacks) and command-line tools (PowerShell, CLI) may be using one of the older versions. If you're using the current versions of SDKs and command-line tools, this has no effect on you.
Consider how many versions there have been (all tracked here, and all listed in the page you linked to in your answer:
2014-02-14 (current)
2013-08-15
2012-02-12
2011-08-18
2009-09-19
2009-07-17
2009-04-14
If you're using an older version of an SDK or command-line tool, there's a chance that, in Dec. 2015, it won't work as expected anymore, as the underlying version will have been retired. So, essentially you have until December 2015 to update your Azure projects if needed.
The Windows Azure Storage package comes with a truckload of dependencies, including improbable libraries such as System.Spatial. I only intend to use the Blob Storage, which should represent about 5% of this package. Is there any stand-alone library available to do this?
You could always make direct REST API calls, as the storage API is well-documented. This is about as lightweight as you're going to get. There is no other official .net Azure SDK other than the one you referenced. I don't know of any 3rd-party .net SDKs available.
I want to use blob-leasing mechanism in my Windows Azure cloud app. I am using the StorageClient api released by Azure team for my blob transactions. However, the blob-leasing is not implemented in the StorageClient api and hence I need to implement it on my own.
Has anyone done this before and has any pointers on how to do it?
Thanks.
Kapil
See my recent blog post (including sample code) about how to do this: http://blog.smarx.com/posts/leasing-windows-azure-blobs-using-the-storage-client-library