Visual Studio Toolbox: CosmosDB: Serverless NoSQL for the .NET Developer

In this episode, Dmitry is joined by Jeremy Likness, who shows us CosmosDB. This is the Azure database-as-a-service that features geo-replication, user configurable consistency levels, and supports a variety of interfaces from the classic DocumentDB to MongoDB and more. Jeremy demonstrates how to set up a CosmosDB account, load data, and stand up an application…


A Guide to Invoking WSL

There are a variety of ways to invoke the Windows Subsystem for Linux from Windows commandlines and they all behave a little differently. Let’s get to the bottom of it.    “wsl” The first (and recommended!) method will start up your default distro. Additionally, it starts the distro in the current working directory where you…


Visual Studio Toolbox: Azure Functions: Less-Server and More Code

In this episode, Dmitry is joined by Jeremy Likness for a discussion of Azure Functions, which provide the powerful capability to merge events and code to quickly deploy micro services directly from Visual Studio or as part of a DevOps pipeline. With a variety of triggers that call the code and bindings that connect code…


Visual Studio Toolbox: What’s New in TFS 2018

In this episode, I am joined by Alex Nichols, who reviews many of the new features in Team Foundation Server 2018, the next major version of Microsoft’s on-prems DevOps suite, including: Filtering on backlogs, Kanban boards, sprints, and queries [02:00] Inline add on Delivery Plans [02:30] File minimap, bracket matching, wordwrap and toggle white space…


Creating a Virtual Machine in Azure DevTest Labs as a Lab User via Automation

Acknowledgement: This post is contributed by Elizabeth Maher and Scot Moorhead. Overview In tightly controlled implementations of Azure DevTest Labs, such as if often the case with enterprise-level companies, there are scenarios where users with limited permissions (e.g. DevTest Lab users) need to create resources within a lab. In most cases, doing so from the UI…


SQL Server 2017 Read-Scale Availability Groups

SQL Server 2017 was recently launched, having multiple new features. One of these included something called “Read-Scale Availability Groups”. There was a good bit of discussion about this feature and one of the feedback items was that the details in Docs was very light. I hope to rectify the minimal amount of information through this…


Making parallelism waits actionable

During PASS we announced changes to how users will be able to make parallelism waits more actionable – specifically the “infamous” CXPACKET. This change effectively splits CXPACKET waits into an actionable wait (CXPACKET) and a negligible wait (CXCONSUMER). This change will be effective starting with SQL Server 2017 CU3 and upcoming SQL Server 2016 SP2…


Rigging up Roslyn Analyzers in .NET Core

>> Update 06/11/2018.  Damiano Curia has pushed out a “more definitive” post on this topic.  Please check it out at https://curia.me/how-to-configure-code-analysis-in-net-core-projects … I love Live Code Analyzers in VS2017. The analyzers help identify bad coding patterns, resource leaks and just generally aid one be a better developer by alerting when things are not done optimally. Fun…


Office リボンをカスタマイズ – パート6 – (TIPS 2 : 動的なカスタマイズ)

こんにちは、Office 開発サポート チームの中村です。 今回の記事では、前回の投稿に引き続き、リボン カスタマイズ方法の例をご紹介します。   以前の投稿で紹介した方法で、リボンのカスタマイズがファイル単位でできることはお伝えしましたが、以下のような状況の開発者の方もいるのではないでしょうか。 ・アドインとして提供する 1 つのプログラムから、ファイルによってリボンの内容を変えたい (ファイルにカスタマイズを組み込みたくない) ・Office 97-2003 形式 (.xls 等) のファイルにリボン カスタマイズを行いたい ・ブック内での操作に応じて動的にリボンの状態を変えたい   これらの要望は、Office 2007 形式のアドイン (.xlam 等)、または VSTO カスタマイズで実現できますので、以下に具体例を用いて紹介します。Excel のカスタマイズを行われることが多いので、(これまでの記事を含め) 以下はすべて Excel を例に説明していますが、他の Office アプリケーションでも利用できます。   目次 1. .xls 形式のファイルのリボン カスタマイズを行う (アドインからファイルごとにリボンをカスタマイズする) 2. 任意のタイミングでリボンの状態を変更する   1. .xls 形式のファイルのリボン カスタマイズを行う (アドインからファイルごとにリボンをカスタマイズする) .xlsx / .xlsm 形式のファイルであれば、リボン カスタマイズの XML をファイル内に組み込むことができました。一方、.xls…


Visual Studio Toolbox: Dependency Injection

In this episode, I am joined by Miguel Castro, who explains dependency injection, which makes it easy to resolve classes at any level in any size object hierarchy, all the while making your application much easier to test. Miguel demystifies this important technique and explains why and how you should use it in every project.