I am an azure customer, however when I log into the azure portal I see the old azure portal interface without anyway of upgrading or updating it. I want to download my publish settings to use in webmatrix to upload node.js website.
How do I get the publish settings for my azure website using the old portal interface?
I have tried using powershell cmdlet Get-AzurePublishSettingsFile however when I instructed webmatrix to use the downloaded publish settings file I got an error from webmatrix saying there was an error with the publish settings file.
Is there any other way to upload my webmatrix node.js website to my windows azure website ?
To access the new (preview) portal you have to use https://manage.windowsazure.com/ instead of https://windows.azure.com/. This will allow you to access your web sites and download the publish profile (in the dashboard of your website, under quick glance).
Cloud Services are different than Windows Azure Web Sites. At the bottom of the new portal there will be a "+ New" button, when you click it you should get the attached view. That is where you create a website. It will then have a location to download publish settings from the dashboard. That is the publish setting which can be imported into WebMatrix to deploy your node.js site to Azure. Hope this helps.
-Vishal R. Joshi | http://vishalrjoshi.com | #vishalrjoshi
Related
Following this article, I have successfully hosted my ClickOnce app to Azure Blob Storage.
But what URL should a user use to install the app. For example, when you publish an app to a website using VS2019, it creates a publish.html page whose URL a user can use to install the app. But here we don't have that publish.html page. So, what we do in that case?
nam. I am very happy to tell you how to generate publish.htm.
After my test, I found the reason why you can't generate piblish.htm. My dev IDE same as you Microsoft Visual Studio Enterprise 2019. It may be upgrade and lost some function about publish. You should use vs2017 to publish the application. I try and success.
This link is my demo url, you can check it. Jason's demo
And document links of how to set publish settings is below,
how to set publish setting to generate publish.htm
Add pic about how to configure, right click project->properties->publish->options->deployment
i'm new to azure, and just deploying phpBB from the app gallery
is there any way to add new styles/extention to it?
Thanks
When you use the Gallery, you are just creating a web service and automatically uploading whatever software into that service.
To modify your web app, you can FTP into it. First, you need to create an FTP login:
In the blade for your web app, click All settings:
Click Deployment credentials.
Enter a user name and password.
Click Save.
The full FTP user name is “app\username” where app is the name of your web app. The username is listed in the web app blade, under Essentials.
Then follow this phpBB guide for installing styles: https://www.phpbb.com/support/docs/en/3.1/kb/article/how-to-install-styles-on-phpbb3/
When it comes to the FTP steps, use the info you see on your web app and the login you just created.
Extensions are installed a similar way.
Alternatively, you could also set up a git repo with a copy phpbb in it, then push that repo onto your web app. But that is more complicated, FTP is your most direct bet to modifying your phpBB web app.
In my local IIS server, i have created a IIS website and deployed 3 ASP.NET web application such that they will have URL like
IIS URL/webapp1 , IIS URL/webapp2 , IIS URL/webapp3 and it works like charm. I am able to deploy only one web application in Azure webapp and not others.
Can i deploy more than one web application in one Azure web app ? If yes, then how ?
My solution is described below. First create a sample AzureWebsite -
Setup up an additional application in the AzureWebsite as follows. Navigate to Configuration tab and create an application as shown below –
By creating above application we reserved / to MVC site and then /webapi to webapi endpoints.
Lets say you want to publish MVC and Web API projects from VS Solution as shown below.
Download publishsettings file of above created AzureWebsite. Import the publishsettings file to the Visual studio MVC project (right click the project and select publish) as shown below -
Similarly publish the WebApi project by importing the same publishsettings file. But we need to change the Destination URL and Site name to the newly created application details. Please check below screenshot –
Publish both the projects.
Now navigate to http://ramidev1.azurewebsites.net for the MVC site. And navigate to http://ramidev1.azurewebsites.net/webapi/api for WebApi endpoints.
Yes, you can do that with virtual directory.
Quote from Add virtual directory to existing website on Azure
Virtual Directories are supported for Azure Websites. See Configuring
Azure Websites for what you can do through the Azure Management
Portal. From the Azure Portal, click on the Website and go to
Configure, then scroll down to virtual applications and directories
(the last config section). Just enter your virtual directory and the
physical path relative to the site root and click Save.
I Used Azure Website Migration Assistance to migrate my web service that was running on my Local VM's IIS. My Migration process was successful and also I was able to use this web service. But I can't find where to find the migrated source code in azure portal. All I can see is some 20Mb of data in on the dashboard graph of azure portal. If I need to changed some of my code where to do this?
What is on the Azure Web App should now match what was on your IIS server. Now, to update the web app, you can use the deployment techniques here: https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/
The simplest method to deploy to check what content is on your web app would be to use the SCM site. This is available at: https://your-site-name.scm.azurewebsites.net. Go to Debug Console > CMD and then the site > wwwroot folder to see your web app content. You can also upload to the site via drag and drop.
Alternatively, you can download the publishing settings for your web app via the portal and then re-use the migration tool, select the site, and then upload the publishing settings. However I would suggest using the deployment techniques above first. (Disclaimer: I wrote the migration tool.)
There are multiple ways to push changes to your Azure Website/Web App. They are listed here: https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/
One simple way is to use an FTP client like FileZilla. In the classic portal, you will find the FTP address (hostname) and the credentials in the dashboard tab. In the new portal, select your Web App and the FTP address will be displayed in the Essentials section at the top of the page. Click on Settings and Deployment credentials to set your FTP user password.
Another simple alternative is to use Dropbox. Take a look at this video for how to set instructions: https://channel9.msdn.com/Series/Windows-Azure-Web-Sites-Tutorials/Dropbox-Deployment-to-Windows-Azure-Web-Sites
I enabled the Web Deploy feature for my Web Role and deployed it.
But how can I get hold of the .publishsettings file so I can create a Publishing Profile for it?
This 2 year old article states that it should have been created automatically, but I haven't got that in my profile manager.
Any ideas?
If you are using Visual Studio 2012 or greater, the server explorer to the left will have several Azure items.
Specifically the Windows Azure Compute is what we are looking for, right click on that and say 'add deployment environment'. You will then be prompted with a dialog that allows you to sign in and download publish settings file:
You can get publishsettings file from the following link: https://windows.azure.com/download/publishprofile.aspx
Well, the problem was really behind the keyboard.
So the publishing profile is actually provisioned correctly and automatically to the Web project as the documentation states.
The problem and confusion was that I have a secondary web application in my Solution that I also publish to the same Web Role (referenced as an additional Site in the ServiceDefinition.csdef file).
That Web Project does not get the Publishing Profile, and when I try to create a profile manually, it doesn't work since that (secondary) IIs instance is not configured for Web Deployment.
Oh well, back to the tedious Cloud Service deployment it is...