I’m presenting at Denver Dev Day today on “DevOps with Azure and Visual Studio Online”. If you’d like a copy of my slides, you can grab there here: http://1drv.ms/1mVXDGI
If you go into the Azure Management Portal today, you can now add SQL Server 2014 RTM VM Images using the Gallery! Check it out!
Because you can’t. Sorry, I know that may seem like a harsh way to start, but I figured it might help to have clarity from the start.
The reason you need to link an Azure subscription to a Visual Studio Online (VSO) account is so that VSO can use your Azure account’s billing mechanism to bill for additional VSO users, build minutes, or virtual user minutes that you need beyond the free users and minutes. So you can only do that with a paid Azure Subscription that has an active billing configuration.
I speak for myself here, I’m not part of the group responsible for this, but my speculation as to why you can’t do it is as follows. If you were allowed to link your MSDN Azure subscription though, there is a built in credit in that subscription. You would effectively be able to use your free MSDN Azure benefit to provide paid VSO access to others. That just doesn’t make sense, using your benefit to give access to others. So for now at least, it just isn’t allowed.
If you want to play with Visual Studio Online paid accounts or minutes, you could create a Free Windows Azure Trial subscription, and link it to a Visual Studio Online account. You might consider creating a special Microsoft Account (a.k.a. Live ID) just for the test, and create the test VSO and Azure subscriptions using that test Microsoft Account.
Note, if you do go to create a new Microsoft Account for the test, it helps to do that in an “InPrivate Browsing” (Ctrl+Shift+P in Internet Explorer) or an “Incognito Window” (Ctrl+Shift+N in Chrome) window so you don’t conflict with your regular Microsoft Account.
Yesterday (March 31, 2014), Microsoft announced some new Azure price drops, and some new VM and storage options. You can read the entire announcement here, and you should because there is some storage goodness, like a “Zone Reduntant Storage” (ZRS) alternative to the current “Locally Redundant Storage” (LRS) and “Geo Redundant Storage” (GRS) redundancy options.
However, there was one topic I thought might be of direct interest to developers:
New “Basic” Tier Virtual Machines
Currently, Azure VMs come in two “tiers”. The “Standard” tier has VM sizes A0-A4 (Extra Small to Extra Large), and the “Memory Intensive Instances” tier has sizes A5-A7. In yesterday’s announcement their will be a new “Basic” tier. These will be similar machine configurations to the “Standard” A0-A4, but the new “Basic” VMs won’t include load balancing or auto-scaling options.
These new “Basic” VMs might be of interest to developers who are using Azure VMs for Dev/Test workloads and don’t need the load balancing and autos-caling features. These basic VMs will give developers equivalent compute capabilities at a lower cost if load balancing and auto-scaling are needed.
The new “Basic” VMs should be available starting April 3rd, 2014 and the pricing will be updated and displayed on the Virtual Machines Pricing Details page.
Thanks all that came to the Azure Dev Camp in LA today. Here is a quick and dirty blog post to share the various links and contact info from today:
Look for the “Global Windows Azure Bootcamp” coming up on 03/29:
"Fixed" Labs Download: http://aka.ms/wadclabs
Doesn’t include Azure Active Directory, Service Bus or Windows 8 & Windows Phone 8 Expenses apps
Original Labs Download: http://aka.ms/h2wadc
Download the "Scenario Content" zip file if you want to try Windows Azure Active Directory & Service Bus
If you need:
Visual Studio 2013: http://aka.ms/vs13eval
SQL Server Exp. 2012: http://aka.ms/sqlexp12
Windows Azure SDK: http://aka.ms/wazsdks
Michele Leroux Bustamante
Bret’s BizSpark Tutorial
BizSpark Tutorial: http://aka.ms/bsbstut
Contact me if you need help getting signed up with BizSpark!
If you have Xamarin.iOS 1.8.365 installed along side your Visual Studio 2013 installation, you may have noticed problems with Windows Phone and Windows Store projects not displaying correctly in the designer. They would build ok, but you can’t set the debug target device, and the designer is broken and shows an “Invalid Markup” message, and there are a ton of Errors about the XAML. Errors like ‘The Name “PhoneApplicationPage” does not exist in the namespace…’, etc. Here’s a screenshot of what the errors look like:
Click picture to view larger version….
To fix the problem, update to Xamarin.iOS 1.10 (info) or later. I can’t find a direct download link to the beta versions, but you can get it by telling your existing install to update via the “Beta” rather than “Stable” channel. To do that:
- Open Visual Studio 2013, and open the “Tools” | “Options” menu.
- On the “Xamarin” | “Android Settings” page, turn on the “Notify me about” checkbox.
- In the update channel drop-down box (reads “Stable by default) choose “Beta” updates.
- Click the “Check Now” link to check for updates now.
Repeat the process above, but on the “Xamarin” | “iOS Settings” page:
Allow the updates to be installed.
When the updates have completed, you can verify their versions in the Visual Studio “Help” | “About Microsoft Visual Studio” window.
Once updated, you should now be able to open an existing Windows Phone or Windows Store app in Visual Studio 2013 and no longer receive errors.
04/11/2014 – Update – There have been a few changes to the portal since I recorded the video below, but the basic process is the same. I also have a step-by-step walkthrough that you can use. To get the walkthrough, download the AzureDevVMWalkthrough.zip file from http://1drv.ms/1kBzFFr
I go to a lot of hackathons, live events, user groups, etc. where people want to do Windows 8.1 development, but need a Windows 8.1 machine to do so. While there are a ton of different ways that you can get Windows 8.1, one way is to use Virtual Machines. Windows Azure let’s you create and host virtual machines in the cloud. The rub is that you can’t create a Windows 8.1 VM. You can however create a Windows Server 2012 R2 VM in Azure, and configure it to allow you to do Windows 8.1 development! Cool!
The following video walks you step by step through the process. Overall, plan on taking about 2 hours to get your VM setup (installing Visual Studio 2013 alone takes about 30 minutes). That means that if you are thinking of using this in a hackathon, you want to do this a day or two ahead of time. However, when you are done you’ll have a great VM you can use to build apps for Windows 8.1.
The basic steps are:
- Sign into the Windows Azure Management Portal
- Create a new Virtual Machine using the Windows Server 2012 R2 Datacenter gallery image
- Connect to the new VM using RDP and login using the admin credentials you provided during its creation
- Create a new user account that also has administrative privileges (because the built-in admin account can’t deploy Windows Store apps on Server 2012). Disconnect an reconnect as the new user.
- Turn OFF the IE Enhanced Security Configuration
- Turn ON the User Desktop Experience Feature (Requires a restart)
- Install Visual Studio 2013 Ultimate using the Web Installer either from the free trial or from MSDN (Requires a restart)
- Apply Visual Studio 2013 Updates
- Install the Windows Azure SDK
- Connect up to your TFS project on visualstudio.com, or use some other source control repo to share code
If you will be attending HACKTECH this weekend, there are some special challenges and prizes for developers who develop for Windows 8, Windows Phone, and Windows Azure. We’ll have a couple of prep sessions
1) Monday, January 20th from 8pm to 9pm: http://aka.ms/htms1
2) Tuesday, January 21st from 3pm to 4pm: http://aka.ms/htms2
You can grab a copy of my slides here.
You can watch a video recording of the session here, or below:
Prepare for the hackathon: Windows8AppFactor.com/Prepare
Some training resources:
Windows Developer Center (dev.windows.com)
Windows Phone Developer Center (dev.windowsphone.com)
Windows Azure (windowsazure.com)
Microsoft Developer Network (msdn.com)
If you are trying to create a Self-Hosted WCF Service, the host process needs permissions to reserve the base URI used by the service. If it doesn’t, you’ll get an “AddressAccessDeniedException”.
The fix? Simple, run Visual Studio as an Administrator. Hold down the “Shift” key and Right-Click on the Visual Studio icon. Select “Run as administrator” (if your account is a local admin) or “Run as different user” and enter the credentials for an administrative account:
Or, from the Windows 8 Start Screen, right click on the icon, or Live Tile and select “Run as administrator”: