Developer Support

Advocacy and Innovation

Latest posts

Mar 30, 2018
Post comments count 0
Post likes count 0

IntelliTrace and the ‘Magic’ of Historical Debugging

Developer Support

Premier Developer Consultant Lizet Pena De Sola discusses the Visual Studio Debugging and Diagnostic Tools Workshop, in which she discovered IntelliTrace and its magical debugging capabilities.Lizet recently visited a development team in Nevada that was eager to learn more about Visual Studio debugging tools and the C# compiler Open Source project in GitHub, named ‘Roslyn’. The highlight of the sessions was the ‘discovery’ of IntelliTrace and how they could use this feature in improving the communication between the development team in Nevada and the QA team at another location. A few hard to reproduce bugs had b...

Mar 30, 2018
Post comments count 0
Post likes count 0

Nullable types arithmetic and null-coalescing operator precedence

Sergey Tepliakov

Here is a simple question for you: which version of a GetHashCode() is correct and what performance impact does the incorrect version have?

Mar 29, 2018
Post comments count 0
Post likes count 0

Accessing a .NET Bot’s State via Dependency Injection

Developer Support

The .NET BotBuilder SDK has deprecated the StateClient class, leaving some to wonder how they should access their bot’s state. Premier Developer Consultant Ben Williams shares an example of using dependency injection in your BotFramework projects.When using the .NET BotBuilder SDK’s dialog system, you can access the bot state using the dialog context. However, what if you don’t have the dialog context handy?You have two optionsWith v3 of the Microsoft Bot Builder SDK, the documentation describes how to configure your bot to store its bot state data in either Azure Table storage or in a Cosmos DB. Notice that in t...

Mar 27, 2018
Post comments count 0
Post likes count 0

Unit Testing Your JavaScript Code

Developer Support

In a recent post from his blog, Premier Developer Consultant Jim Blizzard discusses how to set up Visual Studio 2017 to run JavaScript-based unit tests.This week, I demonstrated to a client how they could write unit tests in JavaScript to test their JavaScript code by leveraging Karma, Jasmine, and Chutzpah. The unit tests show up in Test Explorer just like unit tests written in C# do. Setting things up isn’t very difficult and can be completed in just a few minutes.Let’s take a look at how you can do it in your environment while we start to create a JavaScript library that calculates the score of a bowling game....

Mar 27, 2018
Post comments count 0
Post likes count 0

Audit SQL Server stop, start, restart

Developer Support

In this article, Application Development Manager Steve Keeler outlines an approach for determining the domain identity of a user who has initiated a stop, start, or restart request on SQL Server services. Although SQL Server contains server and database auditing functionality as part of the product, this cannot be used to determine the identity of a user changing the service state of a SQL Server instance since that operation is occurring at the system rather than database level.I recently worked with a customer to help resolve an issue with Team Foundation Server where collection databases were not coming online...

Mar 26, 2018
Post comments count 0
Post likes count 0

With cloud applications, performance is money

Developer Support

This post is provided by App Dev Manager Reed Robison who examines the opportunity and impact of cloud application performance.  If you are moving apps to the cloud, it has never been more important think about performance and as a developer, the business impact you can have may be profound.Early in my career, developers were always talking about performance.  Efficient code was something that established credibility, but it was also an integral responsibility of every dev since resources were limited.  Thanks to Moore’s law, most developers don’t lose a lot of sleep over performance these days.&nb...

Mar 25, 2018
Post comments count 0
Post likes count 0

Getting started with Azure App Services Development

Developer Support

In this post, Application Development Manager, Vijetha Marinagammanavar, demonstrates how to get started with Azure App Services.To get started with Azure development we need to have Visual Studio 2013 or later, Azure SDK, and an active Azure subscription. We are using Visual Studio 2017 with our demo. If using VS2013 then download the SDK from https://azure.microsoft.com/en-us/downloads/Figure 1 Download Azure SDKFollow instructions below to deploy web application to Azure by creating App Service PlanAzure App Service is a fully managed "Platform as a Service" (PaaS) that integrates Microsoft Azure Websites, Mob...

Mar 23, 2018
Post comments count 0
Post likes count 0

Running .NET applications client-side in the browser

Developer Support

In this post, App Dev Managers Robert Schumann and Ben Hlaban, introduce us to Blazor – an experimental web UI framework based on C#, Razor, and HTML that runs in the browser via WebAssembly. This journey started from a blog by Daniel Roth. Other than the YouTube of Steve Sanderson’s prototype demo at NDC Oslo, this wasn’t much information to draw from. A few days later I mention Blazor to my colleague Ben, and he starts asking a bunch of rapid-fire questions. Whoa! Time-out. With coffee top-offs, we start a Skype call, launch Visual Studio, git clone repo, and intrigue quickly ensued. This blog is a...

Mar 22, 2018
Post comments count 0
Post likes count 0

Accelerate Your GDPR compliance with Microsoft Cloud

Developer Support

This post is provided by App Dev Managers Latha Natarajan and Sujith Nair who explore the critical aspect of protecting personal information and the impact of data security failures. This post also discusses the rich set Azure services that Microsoft customers and organizations can use to protect personal data in compliance with GDPR and other regulations for various parts of the world. Personal Data Protection and GDPR Although the information economy has existed for some time, the real value of personal data has only become more recently evident. Cyber theft of personal data exposes citizens around the world...