Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4614736
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:44:30+00:00 2026-05-22T01:44:30+00:00

var account = CloudStorageAccount.FromConfigurationSetting(DataConnectionString); // create container Storage = account.CreateCloudBlobClient(); Container = Storage.GetContainerReference(container); Container.CreateIfNotExist();

  • 0
var account = CloudStorageAccount.FromConfigurationSetting("DataConnectionString");

// create container
Storage = account.CreateCloudBlobClient();

Container = Storage.GetContainerReference("container");
Container.CreateIfNotExist();

// configure for public access
var permissions = Container.GetPermissions();
permissions.PublicAccess = BlobContainerPublicAccessType.Container;
Container.SetPermissions(permissions);

...

CloudBlockBlob blob = Storage.GetBlockBlobReference(blobname);
blob.UploadFromStream(file.InputStream);
url = blob.Uri.AbsoluteUri;

//url returns:  https://myazureacct.blob.core.windows.net/...

I can access the resource with http://myazureacct…. but why is AbsoluteUri returning https?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:44:31+00:00Added an answer on May 22, 2026 at 1:44 am

    The Uri is created by the library using the underlying connection string/client – and I’m guessing that your “DataConnectionString” contains “UseHttps=true” – hence why the url’s the library is using (and producing) are HTTPs.


    At a slightly deeper level than that, you can access the blob storage service using http or https – just as you can access table and queue storage too. If you’re working within a single Azure data center, or if you are working with non-sensitive data, then you are free to use http – otherwise https is preferred for your security.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have code as follows: $(#item_select).change(function() { var params = $(#item_select option:selected).val(); $.post('/account/ar_form.php', {idata:
The following code always throws exception .... DataServiceContext ctx = account.CreateCloudTableClient().GetDataServiceContext(); var val =
Given the following: private var errorHtml:String = <TextFlow xmlns=\http://ns.adobe.com/textLayout/2008\><p>Existing account, please <a click=\clickHandler(event);\>click here</a>.</p></TextFlow>;
Hi I created this Linq query var k = from account in _session.All<AccountDetail>() join
I have this query: var accounts = from account in context.Accounts from owner in
I create a Flickr account, create an app and got my API key, created
My view: var token = $('input[name=__RequestVerificationToken]').val(); $.ajax({ url: '/Account/TryRegister', type: 'post', data: { '__RequestVerificationToken':
I want to know if user account enable. I use this code: var usersList
I have this code: int se = (int) settings.GruppoSegreteria; var acc = db.USR_Accounts.Where( p
var i : integer; i := 1234567; Given the above, I want the string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.