Showing all posts tagged: 'VS Code'

A 9-post collection

Visual Studio Code integration with Azure Application Insights

I don't know how I've missed this but today I found out that Visual Studio Code (VS Code) provides excellent integration with Application Insights (AI). If you're not using AI for monitoring your apps (any app, any code) then you're missing out big time. Regardless of whether you're running on the cloud or on-premises, AI can light up your application in many interesting ways and give you a unique insight on areas such as: Exceptions Events User actions Custom events and metrics Dependency mapping Analytics Proactive improvements with AI and Machine Learning I believe that a separate blog post is …[read more]


A new Powershell experience with Visual Studio Code

PowerShell is an amazing tool used heavily to manage a plethora of Windows and Microsoft services. With the release of the latest PowerShell as a cross-platform tool, this experience has been extended to Linux and MacOS as well. You can use PowerShell to do pretty much anything, from managing Windows OS features, to configuring SharePoint and SQL to executing maintenance tasks and even run code (.NET). Yes, that's right. Because PowerShell was built with code execution and extensibility in mind, you can easily import any .NET Framework APIs and work directly with them embedding C# code inside your scripts. In …[read more]


TypeScript 2.0 RC with Visual Studio Code

You know how much I love new, shiny things? For some odd reason, I'm compelled to try the latest and 'greatest' as soon as I know it's available. This, oftentimes, has inadvertent side effects such as breaking my machine and causing me undue stress. I also choose to do these upgrades/updates close to upcoming talking engagements. In summary, I'm a gluten for self-inflicted punishment. On the other side, I suffer so you don't have to :) Today, I decide to test the latest version of TypeScript 2.0 RC which was released only 2 days ago. I also chose to …[read more]


Working with TypeScript in Visual Studio Code - a pair made for each other

TypeScript is a new(ish), open source language that is a superset of JavaScript. TypeScript was designed to bring object-oriented features along with ES6 support. Any valid JavaScript is TypeScript and all TypeScript code compiles to nice, clean JavaScript. With ES6 (EcmaScript2015) officially ratified, TypeScript continues to offer great forward-compatibility with newly added features all the time and therefore, it remains a great language for developing JavaScript. This fantastic language now has a great companion: Visual Studio(VS) Code. VS Code is the new lightweight code editor from Microsoft and was in fact built with TypeScript! Consequently, it's only natural …[read more]


Working with Azure ARM Templates in Visual Studio Code

These days I spend a lot of time working with Azure. I also make a conscious effort to use all the tools available when managing my Azure resources. This helps me get a better understanding of the platform and allows me to move freely between devices. So what are these tools? Let's break it down: Visual Studio Azure CLI The portal PowerShell Add Azure Resource Management (ARM) templates on top of these and you can see how provisioning and managing resources is now a much better experience. In addition, ARM templates allow us to take full advantage of CI/CD …[read more]


Fix OmniSharp error 'No default runtime found' in Visual Studio Code on Windows

I wanted to mess around with .NET Core on my machine and create a simple application. I'm not talking about ASP.NET Core 1.0 but .NET Core 1.0. And yes, they are different! Very different. The .NET Core applications rely on the dotnet toolchain whereas ASP.NET Core ones rely on the dnx, dnvm, dnu toolchain. Can it get any more confusing? Of course it can, just wait until you have to start targeting frameworks in your libraries. It's awesome(ly) confusing and I hope things are streamlined before we hit RTM. But until then, I want to …[read more]