.NET Development on Mac

What did you say?

Just a couple of short years ago, the idea of using a Mac for .NET development would have sounded completely insane, but much has changed.  The .NET Framework has since been open sourced and Microsoft has been clear about its intent to make .NET development cross-platform, which it has achieved with the release of ASP.NET 5.

Enter Visual Studio Code

It’s no Visual Studio 2015, but Visual Studio Code is an Electron-based editor for .NET along with support for a plethora of other languages.  It has a debugger, intellisense and many other features that you would expect from Visual Studio.  While I’m sure that their will be a full, cross-platform version of Visual Studio in the future, Visual Studio Code is a great option for Mac and Linux users.  (Tip:  If you ever need to do a web search for Visual Studio Code related content, search for VSCode instead.  That will return results specific to Visual Studio Code, rather than Visual Studio.)

Staying Connected

Visual Studio Code has git support built in, but if you’re like me then you also do work on .NET projects over FTP.  While Visual Studio provides FTP support, VSCode does not at this time and plugin support is still coming in a future release.  I have found a great option for using VSCode over FTP with the help of Transmit.  Transmit will allow you to mount an FTP site as a drive and then VSCode can open that drive as a working folder and take over from there.  Transmit will take care of transferring files in the background for you.  It is an all around great FTP client.

Where’s the Remote?

As a part of my switch to the Mac, I was almost embarrassed to be discovering so late that Microsoft Remote Desktop is so much better on the Mac than it is on Windows.  Remote Desktop has a much better way of managing saved connections than the simple drop down list on the Windows version.  My favorite feature by far is that each open connection displays as a new desktop in Expose, making it very easy to manage all of your open desktops.

For All Else, There’s Virtualization

Sometimes you just have to work in Windows.  There’s no way of getting around it and Windows 8.1 is great and only getting better with Windows 10, so why should you?  Using Boot Camp you can install Windows on a separate partition on your Mac, but then you need to completely shut down your session in OS X when you need to do work in Windows.  These days that is just not necessary as virtualization is as good as working on a machine natively.  With Windows installed in VirtualBox, an adequate amount of memory assigned and the VM in full screen mode, I can hardly tell the difference between working directly on a Windows machine.

I’d love to hear about your experiences moving to the Mac for development.  Leave a comment below.

Advertisements

Windows 8.1: Better without the start menu?

Details on the much awaited Windows 8.1 were released to the public at this past week’s Build conference. Microsoft seems to have relented a bit on the taskbar design in Windows 8.1, having added back the Start button that was previously missing since the initial release. Many critics see this a half measure on the part of the Windows 8 team, since the new Start button opens the Windows 8 Start Menu and not the legacy Start Menu from Windows 7.

Those critics seem to want new software developed for them, but resist changes or innovation. This makes some of the criticism toward Windows 8 is unwarranted. Much has changed in how we use PCs since the introduction of the Start Menu, and I’m not just talking about the rise of the tablet market. Here’s why Windows 8 is better of in this new direction.

The Start Menu is Outdated

The Start Menu was first implemented as a part of Windows 95. It’s been 17 years. Seventeen years. I’ll just let that sink in for a moment. Sure, the design has changed a bit since then and many features have been added in the meantime. It’s not a bad solution, but it’s closer to a “1995” solution than a “2013” solution. Today’s machines are much faster. These days, users expect quick access to application and information and the old start menu just doesn’t serve that purpose well. First, you click the start button to open the menu, click again to open All Programs and then you scan the tiny menu for the folder that the application is in. If it happens to be named according to the developer of the software and I’m looking for the application name, chances are that I may not find it quickly. There’s a much better way of doing things, and it’s been offered in Windows for quite a while now.

Windows key + Search query

Let’s leave 1995 behind.  Windows search is fast and it works great. Many power users have taken advantage of the great search features in newer versions of Windows, not just in Windows 8. It’s nothing new, but despite the public opinion against Windows 8’s Metro UI as a whole, the use of Metro for search presentation is new, and it’s fantastic. I’m not sure why it’s worth the bother of launching Microsoft Word through the old Start Menu when I can just hit the Windows key, type “Word”, hit enter and it’s almost as if it is done for me.

A New Purpose

I admit, the Windows 8 Start Menu really isn’t a “Start Menu” as you’re used to using it. Think of it as a middle ground between the taskbar and the “All Programs” menu from the old Start Menu. Perhaps you can see it as an updated version of Quick Launch, if you prefer it that way. For applications you use all the time, you pin them to the taskbar, or you could even use desktop shortcuts. Applications that you use often, perhaps daily or weekly, can be organized for easy access on the Windows 8 Start Menu. For all else, there’s search.

Unsung Features

In the arguments for Windows 8, I still rarely see mentioned the many little features that make switching to Windows 8 worth it on its own. Take for example, the power user context menu found by right-clicking in the bottom left hand corner in Windows 8:

Windows 8 Power User Menu

The power user menu in Windows 8, found by right clicking in the bottom left corner.

This menu combines all of the most commonly used system administration features into one quick and easy shortcut. The overhaul to the Task Manager and File Management dialog are also some of the best features added to Windows in recent versions.  The pity is that these features are great for server administrators, but many can’t take advantage of them because they refuse to use Windows Server 2012 with the Metro UI included.

Metro-ed Out

It’s OK to not like the Metro look. I agree with many of the complaints about the Windows 8 UI, including multitasking with Metro apps and the lack of a windowed mode. What with Windows 8.1 adding the ability to boot directly to the desktop, between the use of the taskbar and Windows search you hardly need to see it. There are many features in Windows 8 that work great without ever launching a Metro app.

Still, credit must be given to the Windows 8 team for the improvements to the UI in 8.1. The addition of a single wallpaper for the desktop and start menu really go a long way to unify the Windows 8 UI with the rest of the OS.  The new variable tile sizes make the Windows 8.1 Start Menu that much better for quick access to information and organizing commonly used apps.

Windows 8.1 Start Menu

The updated wallpaper and tile size options on the Windows 8.1 Start Menu.

It’s not perfect, but the updates in Windows 8.1 are a step in the right direction. I’ve given up the old Start Menu for good.

Thanks for reading. What do you think about the new features in Windows 8.1?