Azure virtual machine with older version of windows 10 - azure

I know how to make and use a VM on Microsoft Azure with VS 2017 and latest version of windows 10 already installed and use it to develop or test uwp apps. but the problem is, my own laptop is usually on insider build and I am making uwp apps which have min support for creators update, so in order to make sure my app run fine on creators update, I need a machine which has Windows 10 creators update installed on it.
But azure always provides machines with latest versions installed only, right now it is fall creators update, soon it will be spring creators update. how can I make a VM on azure with visual studio 2017 installed, but I can choose to select an older version of windows 10 for testing purposes of my app?

But azure always provides machines with latest versions installed only
It is similar to local machine that develop and test uwp apps. If you install the VS2017 with default options, it will only support SDK that matches the current operating system version. You could open Visual Studio Installer click Modify button select individual components and check older SDK you want use like follow screenshot.
You could modify your app's target version for testing after installed the old SDK.
Update
Conditional XAML is available starting with the Creators Update (version 1703, build 15063). To use conditional XAML, the Minimum Version of your Visual Studio project must be set to build 15063 (Creators Update) or later, and the Target Version be set to a later version than the Minimum.
If you want to install older version of windows 10 in the azure virtual machine, Please refer Use Windows client in Azure for dev/test scenarios.

Related

Windows Universal Platform

I am new to WUP and researching on Windows Universal platform, I have following questions for the same:
1)I would like to know if anyone has used it, and if it can be deployed anywhere else other than the windows store. How can we make the app available to the users/client without deploying it on the Windows store. (where else can we deploy the app?)
2) Will the app developed using WUP only works on Windows 10 or previous version of windows as well?
3) Can it be developed using 2015 or 2017 is mandatory?
Thanks in advance
1)How can we make the app available to the users/client without deploying it on the Windows store. (where else can we deploy the app?)
Typically, you download these apps from the Store and that is how they are installed on your device. But you can sideload apps to your device without submitting them to the Store. This lets you install them and test them out using the app package (.appx) that you have created.
For more info, please refer Sideload your app package.
We can also use the App Installer, it is a Universal Windows App that is pre-installed as part of the Windows 10 Anniversary Update. The app enables a user to double-click any .appx or .appxbundle for easy installation, eliminating the need to run PowerShell or specialized scripts.
Please refer the App Installer.
2) Will the app developed using WUP only works on Windows 10 or previous version of windows as well?
Windows 10 apps can only run on Windows 10 (and newer). If you want to target 8.1, you have to build a Windows 8.1 app. A Windows 8.1 app should run on Windows 10 without any problems.
You can refer the Develop apps for the Universal Windows Platform (UWP), it lists the requirements of UWP apps.
3) Can it be developed using 2015 or 2017 is mandatory?
Yes, we can use the VS 2015 or the VS 2017 to develop the UWP apps.
Please refer the document of Build UWP apps with Visual Studio.

Where's the Azure SDK version 2.9?

In late March Microsoft announced the release of the Azure SDK version 2.9.
On that page, as well as from within Visual Studio 2015, I'm invited to download and install it.
If I do so, the Web Platform Installer (5.0) fires up and shows me this:
That's strange...I don't want version 2.8.2...I already have it.
So I click the "back" button in Web Platform Installer and try to find 2.9 manually. At the time of writing, I'm seeing this:
That is, in the Web Platform Installer's list of products, version 2.9 is not there.
I'm on Windows 10 and using Visual Studio 2015 (with the latest update 2). My Web Platform Installer is version 5 and its primary feed is set as "default". Normally I have no problems installing an updated Azure SDK in this way.
I tried deleting the installer cache in Web Platform Installer (no help).
Can anybody give me a hint as to what might be happening here? Is anybody able to reproduce it (not finding v2.9 in the products list on WPI) on their machines? Could it be possible that v2.9 has been accidentally removed from the MS servers...any way to check this directly at the source?
For some reason it is not shown in the Web installer. This are the steps to fix it:
1 run a reset on the installer:
"%ProgramFiles%\Microsoft\Web Platform Installer\WebPlatformInstaller.exe" /reset
2 run the following registry fix:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebPlatformInstaller]
"Install"=dword:00000001
"ProductXMLLocation"="http://www.microsoft.com/web/webpi/5.0/webproductlist.xml"
This seems to be a known issue. See the comments on this page:
https://azure.microsoft.com/en-us/blog/announcing-visual-studio-azure-tools-and-sdk-2-9/
Please search "2.9" in Web Platform Installer search pane. You will be able to see "Microsoft Azure SDK for .Net (VS2013)-2.9.6" in searched results.

How to setup environment for windows azure programming

My systems has VS2013 web express installed. To install windows Azure SDK it ask to install VS update 3 first. Size of VS update 3 ISO file is 5GB+. My net connection is slow so i can't download 5GB in one go. Please guide me if there is any alternative way to set environment for windows azure programming.
Take a look at Visual Studio Community 2013, it's got everything you need to get a development environment set up quickly to build apps with the latest .NET Azure SDK v2.5.

How to install .NET Framework 4.5.1 in a cloud service role

I get the following warning so the publish of cloud service fails from Azure SDK 2.1.
Warning 1 The project 'WCFServiceSurferlite' targets .NET Framework 4.5.1. To make sure that the role starts, this version of the .NET Framework must be installed on the virtual machine for this role. You can use a startup task to install the required version, if it is not already installed as part of the Windows Azure guest OS. For more details, see http://go.microsoft.com/fwlink/?LinkId=309796.
I can't target to 4.5 because it is not available in Visual Studio 2013.
How can I solve this. Please Help.
Update - April 2 2014 -
* Answering this question as it shows up as one of first results on popular engines, while searching for trying to install Microsoft .NET framework 4.5.1 on Azure Cloud service.
The easiest way would be to set osFamily attribute to "4" in the Cloud Service Configuration file (.cscfg file). This will bring up an instance of Windows Server 2012 R2 with Microsoft .NET framework 4.5.1 installed.
Example:
<ServiceConfiguration serviceName="CloudDeploymentShell" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="4" osVersion="*" ...
Here is a blog post from a guy who deployed 4.5 before it was avail in Azure. The same approach should work for 4.5.1. http://danieljsinclair.wordpress.com/2012/06/28/how-i-got-net-4-5-rc-running-in-a-windows-azure-webrole/
Visual Studio 2013 is in Beta/Preview. If you can't target 4.5 with it then you'll need to either drop back to VS 2012 for your work in Azure or see if you can install 4.5.1 on the role instances using a start up task just as the warning suggests.
As each new Visual Studio and .NET version comes out there is usually a lag before VS supports the Windows Azure tools and again a lag after the .NET version has shipped before it is baked into a Guest OS that you can use in Azure.

Using Windows Azure in a local Dev Mode with PHP

We are trying to evaluate and eventually migrate to the windows azure cloud platform.
I am stumbling on the installation process...
I'm currently following this tutorial.
I can't get the Windows development Fabric interface working like on this picture.
When I install the app fabric sdk (downloaded here) I get no .exe program to simulate the cloud...
I installed Windows AppFabric which is not what I need (I think).
I keep on being directed on AppPlatformInstaller which do not install what I need but I'm sure is part of my solution.
You are downloading wrong SDK. For Windows Azure Cloud platform you must download and install Windows Azure SDK And Tools for Visual Studio.
Then you will have a folder %Program Files%\Windows Azure SDK\v1.5\bin. There will be devfabric and devstore folders, under which the local development Frabric and Development Storage executables will reside.
Then if you are targeting .NET based solutions, you will have new project templates in Visual Studio, and everything shall be running smoothly. On the other hand, if you are targeting open source solutions you might want to follow the like provided by Ben.
As for Windows AppFabric - yes, it is wrong in terms that it is not related to Windows Azure at all.
Let us know if you have any issues when downloading and installing latest Windows Azure SDK And Tools for Visual Studio
You may want to check out the docs available from the Microsoft Interoperability Team. They maintain an entire site dedicated to running PHP on Windows Azure
http://azurephp.interoperabilitybridges.com/articles/build-and-deploy-a-windows-azure-php-application
Basically to get it working just install the Windows Azure SDK and with Windows Azure SDK for PHP. Build your PHP application and then run the package command. Your PHP application will be rolled into a Windows Azure project and launched in the local dev fabric

Resources