Archive

Posts Tagged ‘Azure’

Access and Edit Web App files hosted in Azure

January 26, 2017 Leave a comment

I have an Asp.Net Web application hosted as a Web App in my Azure instance.

One of the requirement I frequently get is to view or edit the published ‘Web App’ files from Azure Portal.

azure-web-apps

As we cannot access the ‘Web App’ files from Azure portal, one of the simpler way to access the files is by using the Visual Studio ‘Server Explorer’.

  • From the Visual Studio, open the ‘Server Explorer’ window

visual-studio-server-explorer

  • Connect to the Azure Subscription
  • Select the Web App under ‘App Services’ node and access the files.

server-explorer-access-files

Pre-requisites:

  • You need to have Azure SDK 2.7 installed.
  • Visual studio 2013 or higher version.

🙂

Categories: Azure Tags: , ,

‘Publish Web’ option not showing up existing Azure Web Apps – Visual Studio 2015

December 7, 2016 Leave a comment

I am using VS 2015 to publish my web application to one of my Azure web apps.

But all sudden the “Publish Web” window was not listing the existing web apps.

Not listing existing web apps

Not listing existing web apps

Fix:

  • Install latest Microsoft Azure SDK 2.9.6 for VS 2015 (Download)
  • You can also use ‘Microsoft Web Platform Installer’ for installation.
Install azure SDK 2.9.6

Install azure SDK 2.9.6

  • Open the VS 2015 and choose ‘Publish’ and you would get existing web apps listed.
Publish-web-new-azure-web-apps

Publish-web-new-azure-web-apps

🙂

Categories: Azure Tags: ,

‘The given share name\prefix is not a valid name’ error – Azure ‘New-AzureStorageShare’ command

Other day, while I was creating a shared location in Azure using Azure Power Shell cmdlets, I got below error

The given share name/prefix ” is not a valid name for a file share of Microsoft Azure File Service

share name/prefix is not a valid name

share name/prefix is not a valid name

Reason:

  • “New-AzureStorageShare” command accepts share name only in lower case.

Fix:

  • Update the command $s = New-AzureStorageShare “telcoip” -Context $ctx

Refer this Create shared drive using azure  article on steps to share a location in Azure.

🙂