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

  • Home
  • SEARCH
  • 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 8559721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:07:07+00:00 2026-06-11T16:07:07+00:00

From this MSDN article it says that the connection string for connecting to the

  • 0

From this MSDN article it says that the connection string for connecting to the storage account must be HTTP and not HTTPS.

When I use this constructor:

public CloudDrive (
    Uri uri,
    StorageCredentials credentials
)

Does that mean the Uri to the page blob must also be HTTP and not HTTPS? I am a bit confused regarding which parameter (or both together) fits the ‘connection string’ description.

This scenario does not seem to be easily testable in dev emulator.

  • 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-06-11T16:07:08+00:00Added an answer on June 11, 2026 at 4:07 pm

    The URI (think of as the server-portion of the connection string) to the page blob represents the namespace + container + blob of your storage account. The credentials represent the user/pass which together with the URI comprise the connection string to the Azure cloud storage service.

    The URI will always be HTTP assuming you are using the local emulator.

    CloudStorageAccount storageAccount = CloudStorageAccount.DevelopmentStorageAccount;
    

    When deploying to Azure, the URI scheme will be whatever you assign it in the service configuration (ServiceDefinition.csdef / ServiceConfiguration.Cloud.cscfg).

    CloudStorageAccount storageAccount = CloudStorageAccount.FromConfigurationSetting("CloudDrive.DataConnectionString");
    

    You would just want to assign CloudDrive.DataConnectionString to have DefaultEndpointsProtocol=http (the default if omitted, but you could be explicit).

    ServiceDefinition.csdef

    <ServiceDefinition>
      <WebRole>
        <!-- .... -->
        <ConfigurationSettings>
          <Setting name="CloudDrive.DataConnectionString" />
        </ConfigurationSettings>
      </WebRole>
    </ServiceDefinition>
    

    ServiceConfiguration.Cloud.cscfg

    <ServiceConfiguration>
      <Role>
        <ConfigurationSettings>
         <Setting name="CloudDrive.DataConnectionString" value="DefaultEndpointsProtocol=http;AccountName=YOURNAMESPACE;AccountKey=YOURKEY" />
        </ConfigurationSettings>
      </Role>
    </ServiceConfiguration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In this MSDN article , it says that In the .NET Framework version 2.0,
I just stumbled on this article on MSDN that says a path can be
This MSDN article states that: An isolation level has connection-wide scope, and once set
This MSDN article says: HttpContext: Current is always null when accessed from within a
Reading through this MSDN article http://msdn.microsoft.com/en-us/library/dd460648.aspx I'm seeing a claim that MEF doesn't have
So, this example comes right from MSDN. http://msdn.microsoft.com/en-us/library/system.xml.xmlreader.readelementcontentasbase64.aspx Pretty much the only thing I
Given this MSDN article, we learn that the Common Type System in .Net has
I this MSDN Magazine article , the author states (emphasis mine): Note that boxing
I am following this article (http://blogs.msdn.com/b/kaevans/archive/2011/04/11/intro-to-windbg-for-net-developers.aspx )and it is saying download symbols from Microsoft
This is a XAML code sample taken from the MSDN library article for the

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.