Category: Visual Studio

Last updated by at .

VSCode in Azure Cloud Shell

You can now run a Visual Studio Code based editor in Azure Cloud Shell

Azure Cloud Shell, a browser-accessible shell for managing Azure resources, just got even more powerful. Today Microsoft added a new Visual Studio Code editor to Azure Cloud Shell. Okay, it is not the real Visual Studio Code, it is an editor based on the Visual Studio Code open-source project Monaco. Monaco is the same web-standards based editor that powers Visual Studio Code, and the editor is now integrated directly into Cloud Shell.

Now you not only have editors like vim, emacs or nano, you also able to run code, directly with in the Azure Cloud Shell. This is pretty handy when it comes to quickly edit some files like scripts or ARM templates.

This is not the first time the Azure Cloud Shell team and the Visual Studio Code team collaborated: Azure Cloud Shell in Visual Studio Code



Azure Stack Azure Cloud Shell

Connect to Azure Stack from Azure Cloud Shell

A little while ago Microsoft announced the Azure Cloud Shell. The Azure Cloud Shell is a perfect tool to manage your Azure resources using the Azure CLI or Azure PowerShell. Wouldn’t it be great to also manage your resources running on Azure Stack? Thanks to the consistency between Microsoft Azure and Microsoft Azure Stack, you can use the same tools to manage your hybrid cloud.

First of all login to your Azure Cloud Shell on shell.azure.com or in the Azure Portal.

Azure Cloud Shell

After the login you have to register Azure Stack as a new cloud by running the following command:

Azure Stack Cloud List Azure CLI

Now you can list the new Azure Stack cloud by using:

To switch to the Azure Stack Cloud use the following command:

If you are doing this the first time and you use another account you can use az login to login.

One thing you should do is to switch the profile version to an Azure Stack compatible version

Azure Cloud Shell Azure Stack

Now you can start using the Azure CLI in the Azure Cloud Shell to manage your Azure Stack. First of all yes this works also if you just use the Azure CLI. In the case of the Azure Cloud Shell the Azure Stack needs to be accessible from the internet. If your Azure Stack is not accessible from the internet, you can just use the Azure CLI directly from your management machine.

Azure Stack Cloud Shell Visual Studio Code

Fun Fact, since you an also run the Azure Cloud Shell directly in Visual Studio Code, you can also just open up the shell session and start working from Visual Studio Code.

 

 

 



My Favorite Visual Studio Code Themes

While I am doing presentations, I often do demos, and since a lot of my demos are PowerShell based, I use a lot of Visual Studio Code. With that I often get the question which is the Visual Studio Code Theme I use. Even I change my Visual Studio Code Themes pretty often, I have a couple of favorites I want to share.

Cobalt2

Visual Studio Code Theme Cobalt2

My current favorite Visual Studio Code Theme is Cobalt2. Cobalt2 is a dark but colorful theme for Visual Studio. I like it because it is a dark theme, but it not uses the classic dark grey background, instead I like the mix of dark blue and yellow.

Atom One Dark

Visual Studio Code Theme Atom One Dark

Atom One Dark is another Dark theme I started to like very much. I like the popping colors on the dark background.

Ayu Mirage – Visual Studio Code Theme

Visual Studio Code Theme Ayu Mirage

The Ayu Themes for Visual Studio are simple, bright and elegant themes. I prefer the Ayu Mirage theme which as I said looks very elegant. The Ayu themes also have other options like the Ayu light which is also one of my favorites.

Dracula

Visual Studio Code Theme Dracula

Dracula is one of the famous Visual Studio Code themes, which is also available on other platforms. When I am not using the Cobalt2 theme, I most often switch to Dracula.

Ayu Light

Visual Studio Code Theme Ayu Light

I mentioned the Ayu Themes before, and this is the light version of it. I am mostly using dark themes, but when I switch to a light theme, I mostly use Ayu Light.

PowerShell ISE

Visual Studio Code Theme PowerShell ISE

If you are coming form PowerShell scripting, you are already familiar with the PowerShell ISE. The PowerShell ISE theme bring you back in to the old school world and even gives you the PowerShell blue background terminal.

There are a lot of other great Visual Studio Code Themes out there. What is your favorite? Let me know in the comments!



Azure Cloud Shell

Azure Cloud Shell – shell.azure.com and in Visual Studio Code

Back in May Microsoft made the Azure Cloud Shell available in the Microsoft Azure Portal. Now you can use it even quicker by just go to shell.azure.com. First you login with your Microsoft account or Work and School account, and if your account is in multiple Azure Active Directory tenants, you select the right tenant and you will be automatically logged in. So even if you are on a PC where you can not install the Azure CLI or the Azure PowerShell module, you can still easily fire up a shell where you can run the Azure CLI, Azure PowerShell and other CLI tools like Docker, Kubectl, emacs, vim, nano, git and more.

In addition you can also open up Azure Cloud Shell directly from Visual Studio Code

Azure Cloud Shell Visual Studio Code

With that, enjoy your holidays and I wish you a good start in the new year!



Microsoft KiPi

Microsoft Learning: Know it. Prove it. Challenge for Hybrid Cloud

Some weeks ago I passed Microsoft Exam 70-533 Implementing Microsoft Azure Infrastructure Solutions which means I am now Microsoft Certified on Microsoft Azure technology. Microsoft has just lunched a new certification challenge called Know it. Prove it. which leverages free resources at the Microsoft Virtual Academy and take  Microsoft exams afterwards.

A few things about the challenge:

  • There are 8 different learning tracks, ranging from Cloud Development over Web Development to Hybrid Cloud or Office 365.
  • Each track consists of a learning module which is accessible from anywhere so learners can watch video tutorials and do assessments whenever is easy!
  • During KiPi, learners can track their progress, earn badges and points, compete against other challenges, and share experiences with others who are participating.
  • Although the challenge officially kicked off on February 1st, it’s not too late to get started.
  • The “Know It” portion of the challenge runs all of February and the “Prove It” part (i.e. get certified) will start March 1st and end on March 31st

For all Virtualization and Cloud Architects and Engineers this makes really sense to prepare what is coming next for Microsoft Cloud or Windows Server as well as System Center and Hyper-V. So checkout the the Know it. Prove it. challenge on the Microsoft Virtual Academy.

 



TechNet Conference 2013

Speaking at TechNet Conference 2013

At the moment I am having a great time in Rome at the E2E Virtualization Conference where I just finished a session about System Center 2012 R2 Virtual Machine Manager and Windows Azure Pack. And after a company meeting in Paris next weekend I will be speaking at Berlin (Germany) at the Microsoft TechNet Conference 2013.

The TechNet Conference 2013 in Berlin will take place from the 12. to 13. November and will cover a lot of great Microsoft Technology session like Windows 8.1, Windows Server 2012 R2, System Center 2012 R2, Windows Intune, Windows Azure, SQL Server 2014 or Office 365.

My session on Fabric Management System Center 2012 R2 – Virtual Machine Manager will be on the Tuesday afternoon, and I will cover all you need to know about managing your Network, Storage and Compute directly from Virtual Machine Manager. I will also cover Service Templates and Server App-V and how you can deploy new Service to your Private Cloud.

There are also some other great session from Microsoft and a lot from Microsoft MVPs like Aidan Finn, Damian Flynn, Carsten Rachfahl, Markus Klein, Bernhard Tritsch, Martina Grom, Samuel Zürcher, Martin Goet, Daniel Neumann and Paula Januszkiewicz. So the lineup and the sessions look pretty promising.

I am also looking forward to meet some of the Berlin located IT guys Manuel Bräuer and Florian Klaffenbach.



Microsoft WebMatrix and Microsoft WebPlatform Installer

Microsoft WebMatrixFor a project at KTSI we needed a platform to quick deploy PHP and MySQL applications. There are a lot of solutions out there in the web, for example XAMPP. After testing some options I had a closer look at the Microsoft WebPlatform Installer and Microsoft WebMatrix. Those two tools do exactly what I need. With the WebPlatform Installer you can easily install a local instance of IIS Express with ASP.NET, PHP, MSSQL and MySQL support with in 5-10 minutes.

But the coolest tool in my opinion is WebMatrix. Webmatrix lets developers create, manage and deploy Web Applications very very easy. And if you need to to more Webmatrix lets you also work with Visual Studio on the same project.