Azure App Services isn't available - c#

I've been trying to use Azure as Mobile App service and in the tutorial it is given to choose this :
Whilst when i try to follow it shows this :
Can anyone help ? Thank you :)

The Azure Visual Studio tooling, however, should be upgraded to version 2.8.1 or later...
https://azure.microsoft.com/en-us/downloads/
https://azure.microsoft.com/en-us/documentation/articles/app-service-api-whats-changed/

As Thiago suggested, you will have to install the latest Azure SDK to get the option.
If not, then you can select the Import option. This will require you to provide the publishsettings file.
You can download the publishsettings file from the Azure Portal. Here is a sample image: http://i.stack.imgur.com/YV2OQ.jpg
Once you have imported it, the IDE will pick the deployment endpoints from the file and you will be able to publish the App.
NOTE: Mobile Apps have the same deployment as the Web Apps. The IDE doesn't have the tooling to pick Mobile APPS from the subscription. Until then you will have to use the Import option in the VS deployment wizard.

Related

Could not get the Microsoft Azure storage account settings

I'm trrying to publish an ASP.NET MVC project to azure.
In other computer i do this without problems, but in mine I don't.
The following error appears when publishing in Visual Studio 2013 :
Could not get the Microsoft Azure storage account settings for
'account-name' needed to configure an application module.
Please check your network connection and verify that the account exists.
Is your project using Azure SDK 2.6 but you also have Azure SDK 2.7 installed? I had the same error and upgrading my cloud project to Azure SDK 2.7 seemed to fix it.

Executing windows azure web job

I create a small .exe that updates some tables in my database also create in azure, but all the times that I upload the .zip file required shows this error
Reading blogs I realized that some people are using the windows azure web job sdk, to upload their projects, it is worth to point it out that this library doesn't have a version for Visual Studio 2010, so it can't be used.
Is the use of the aforementioned sdk the only way to create and use console application web jobs?
Usually you get the failed to upload job error if the zip file does not have the job exe in the root folder.
This often happens when you zip the Debug/Release folder instead of its contents.
You don't have to use the Azure WebJobs SDK for your job. Any console application will work.
sdk the only way ...
No, WebJobs can run without the cloud SDK. To quote Hanselman
You don't have to use the WebJobs SDK with the WebJobs feature of
Windows Azure Web Sites.
As to what the exact problem is...with VS2010 and Azure that is hard to say with what you have presented.
WebJobs, since it sits on top of the Azure Web Sites service, it supports everything the Web Sites support. Including: python, php, bash, powershell, node.js, .net, cmd, bat, etc...

Publish History in Windows Azure Websites

How can i check the Publishing History of Windows Azure Websites. We are publishing our application using Publish Profile in Visual Studio 2012. We are using Code First Approach of Entity Framework
Last night someone changed the DB or Application from Production server but we are unable to check the History...
I dont think you can check the publish history, if you are using publishsettings file.
But you can use most of the version controls repositories like Git, TFS, Dropbox etc., and integrate automated deployments to azurewebsite from them. In that case deployment history will be maintained by Azure itself and you can view the history on Azure Portal.
Check out this ref for Git Deployment

create a deployment package for Webservice in Visual Studio

I want to deploy my Webservice(*.asmx) on client server.
I need to develop deployment package which will install the virtual folders and deploy the service just like clickonce.
Could someone give me Visual Studio step by step guide to do it.
Thanks,
Kanaya
Most people use Web Setup Projects if the Web Service is simple - any dependencies (e.g. .NET Framework Installation, IIS, SQL Server, a Database, etc) will need to be installed separately by someone in advance of that Setup being run.
For more sophisticated deployments where you want to ensure certain components are on the target machine (e.g. IIS) and if not there get them installed as part of the setup process, then you can use Web Deploy.
Here are some different ways you can do it.
Web Setup Project
Web Deploy
MSDeploy
Here are some guides on the above tools:
http://blog.thinkoriginally.com/2010/02/16/visual-studio-2008-web-setup-project-web-deployment-project-and-msdeploy/
http://www.iis.net/download/WebDeploy
http://cromwellhaus.com/2012/05/build-once-msdeploy-all-over-the-place/
How to use Web Setup Project:
http://www.codeproject.com/Articles/13698/Visual-Studio-Setups-Web-Setup-Part-I

Mvc3 application to windowazure

I want to convert my MVC - 3 project to WindowAzure project. I downloaded SDK for VWD express 2010. Can anybody please guide to do this?
This should help you: Migrating an Existing ASP.NET App to run on Windows Azure
This TechEd 2010 Presentation on Using Microsoft Visual Studio 2010 to Build Applications That Run on Windows Azure by Jim Nakashima should get you going
To start with, you don't need to make any changes in your MVC application to move to Windows Azure. Once you have Azure SDK (June 2012) Installed, you will have an option with your Solution properties as "Add Windows Azure Cloud Service Project" to move your MVCx application to Windows Azure. There will not be any change to your main application, but this way your application will be part of Windows Azure Application and run as a Web Role there.
Now if your Azure Application is set as Startup project and if you run your application, this will launch your application in Windows Azure Emulator so you can test your MVCx application in Windows Azure Emulator.
Finally you would need to make necessary code changes (i.e. Database connection etc) to successfully run your application as Windows Azure Cloud Service in cloud. This is all depend on what kind of your application is and how you would want to run your application in cloud.

Categories