VKinfotek Inc.
  • Us
    About Us
    Contact Us
  • FAQs
  • Ready Software
    Ready ERP ASP Core Software for Azure Cloud
    Ready Web ERP Software
    Ready ASP.Net Azure Software
    Ready C# SQL Server Accounting Software
    Ready ASP.Net MVC and EF Software
First slide
Earn $100/hour in USA! Click Here

Q74. What is an Azure Storage Connection String? Where should we define it?

We are all familiar with the connection string in .Net applications and using it to gain access to different data sources like SQL server or mySql. Similarly, Azure Storage Connection String, as the name indicates, is used to connect to the storage services.

In the previous questions and answers we have seen what is a storage account and how to create one in azure. Recall that Applications need storage account details to access the storage in the cloud. Hard coding your storage account details in the applications, raises security concerns.

We define a storage connection string and specify Azure storage account details in it. And store the storage connection string in a configuration file. By doing so, security concerns are overcome.

This storage connection string can be point to the storage in the cloud or to the local storage. If the application is running locally, the data will be stored in the local storage and managed by the storage emulator. We need to create separate storage connection strings for local development and for the cloud. Remember, different storage connection strings are required for different target environments.

Where to define Storage Connection string?
If the application is a cloud service we can store it in the Azure service configuration file. If the application is on-premise application, store your connection string in an app.config file (desktop) or if it is a web application , store it in the web.config file.
  • Prev Question
  • Next Question

See More Questions and Answers on - Azure Table Storage (cont..)

  • How to access the Azure table storage from a .NET application?
  • How to configure Azure connection strings?
  • How to configure Azure connection strings for connecting to the storage emulator?
  • How to create a table in Azure storage?
  • How to create a table using a simple c# console application?
  • How to insert entities into the Azure table?
  • How do I retrieve a single entity from table storage using tableoperation?
  • How do I query azure table storage using TableQuery class?
  • How to update records in a table storage?

Back to Master List of 100+ Questions and Answers

People also viewed: cover image of book develop erp software using asp core and deploy to Azure Create your own ERP Software using ASP Core>>
cover image of azure cloud book Create your own Azure SOM Software>>
cover image of asp.net book Create your own ERP Software using ASP .Net and SQL>>
cover image of foundation database programming book Create your own Accounting Software using C# >>
cover image of entity framework book Create your own SOM using Entity Framework MVC >>

  • SITEMAP
  • Terms of use
  • Testimonials

Back to top

Copyright © 2018 - All Rights Reserved - VKInfotek.com